-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
bug-candidateMight be a bug.Might be a bug.needs-responseNeeds response from the reporter.Needs response from the reporter.
Description
Bug description
With --progress-spinner being on, either spinner text or memory-stored logs appears on the terminal, but not both.
Examples:
- spinner message, no logs:
py310: commands[0]> python -m pip_audit -S . - Collecting inputs py310: exit 1 (0.51 seconds) /home/jkucera/development/upstream/vutils-validator> python -m pip_audit -S . pid=47412 - no spinner message, logs:
py310: commands[0]> python -m pip_audit -S . ERROR:pip_audit._cli:pyproject file pyproject.toml does not contain `project` section py310: exit 1 (0.51 seconds) /home/jkucera/development/upstream/vutils-validator> python -m pip_audit -S . pid=47276
As a workaround, --progress-spinner need to be set to off:
py310: commands[0]> python -m pip_audit --progress-spinner off -S .
ERROR:pip_audit._cli:pyproject file pyproject.toml does not contain `project` section
py310: exit 1 (0.50 seconds) /home/jkucera/development/upstream/vutils-validator> python -m pip_audit --progress-spinner off -S . pid=47455
Reproduction steps
- Add
python -m pip_audit -S .to yourtox.inifile. - Remove
[project]section from yourpyproject.tomlfile. - Run
toxmultiple times and watch its behavior.
Expected behavior
Both spinner and logs should be displayed on the terminal.
Screenshots and logs
See examples above.
Platform information
- OS name and version: Fedora Linux 37 (Workstation Edition)
pip-auditversion (pip-audit -V): pip-audit 2.7.1- Python version (
python -Vorpython3 -V): Python 3.10.12 pipversion (pip -Vorpip3 -V): pip 23.2.1toxversion: 3.28.0
Metadata
Metadata
Assignees
Labels
bug-candidateMight be a bug.Might be a bug.needs-responseNeeds response from the reporter.Needs response from the reporter.