Setuptools warnings in output when running tox
envgap__PyCQA__bandit-792
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
fafa82287d45727c6fc1b35761695f8fd5cda22d- Manifest
setup.cfg- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
PyCQA/bandit #792 · read the original issue
### Describe the bug When running `tox -e py39`, you will see the following: ``` /Users/browne/workspace/bandit/.tox/py39/lib/python3.9/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /Users/browne/workspace/bandit/.tox/py39/lib/python3.9/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /Users/browne/workspace/bandit/.tox/py39/lib/python3.9/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /Users/browne/workspace/bandit/.tox/py39/lib/python3.9/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /Users/browne/workspace/bandit/.tox/py39/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( /Users/browne/workspace/bandit/.tox/py39/lib/python3.9/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /Users/browne/workspace/bandit/.tox/py39/lib/python3.9/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /Users/browne/workspace/bandit/.tox/py39/lib/python3.9/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( ``` ### Reproduction steps ```bash 1. tox -e py39 2. Notice the beginning of the output to include several warnings 3. ... ``` ### Expected behavior Ideally should be warning free ### Bandit version 1.7.2 (Default) ### Python version 3.9 ### Additional context _No response_
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]