-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip_requirements_parser.InstallationError on Windows #548
Comments
Thanks for the report @stradivari96! I'll attempt to reproduce this today. |
SWAG is that it's this: https://stackoverflow.com/questions/23212435/permission-denied-to-write-to-my-temporary-file |
@stradivari96 could you share the full traceback? It looks like the exception you posted above is truncated to just the last few lines; it would help to see where in |
Here you go
|
Thank you! Yep, the SWAG looks like it was right: yield from self._collect_from_files([Path(f.name) for f in tmp_files]) I'll have a fix for this in a bit. |
Thanks again for reporting @stradivari96! The release we're prepping in #554 should address the problem here. |
Yep the current |
Bug description
Running
pip-audit --no-deps --requirement requirements.txt
raisespip_requirements_parser.InstallationError
Reproduction steps
On version 2.5.0 running
pip-audit --no-deps --requirement requirements.txt
with even an empty requirements.txt file.pip install "pip-audit<2.5.0"
worksExpected behavior
No error
Screenshots and logs
If applicable, add screenshots to help explain your problem.
Similarly, if applicable and possible, re-run the command with
--verbose
,and paste the logs in the code block below:
Platform information
pip-audit
version (pip-audit -V
): 2.5.0python -V
orpython3 -V
): Python 3.7.9pip
version (pip -V
orpip3 -V
): pip 22.3.1Additional context
The text was updated successfully, but these errors were encountered: