-
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
Not handling pypi redirect loop? #293
Labels
bug-candidate
Might be a bug.
Comments
PyPI had a recent outage that is the root cause here (https://status.python.org/incidents/lgpr13fy71bk) This should be resolved now, but I'll leave this open to determine if we should have a better failure case here or if this is sufficient. |
Yeah, IMO we can improve the error message here. I'll tackle that today. |
woodruffw
added a commit
that referenced
this issue
Jun 13, 2022
Closes #293. Signed-off-by: William Woodruff <[email protected]>
#294 "fixes" this by turning it into a controlled error case. |
woodruffw
added a commit
that referenced
this issue
Jun 14, 2022
* PyPI: handle redirect loops more gracefully Closes #293. Signed-off-by: William Woodruff <[email protected]> * CHANGELOG: record changes Signed-off-by: William Woodruff <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
pip-audit dies with "TooManyRedirects" (redirect loop from PyPI?) from requests library. Perhaps handle the error and continue with audit? Installation (nightly audit) worked until yesterday.
Reproduction steps
On FreeBSD 13.1 with Python 3.8.13, mailman3 venv with sources installed from github (not a tagged release), run pip-audit (see logs below).
Expected behavior
Complete audit for other packages.
Screenshots and logs
Platform information
pip-audit
version (pip-audit -V
): pip-audit 2.3.1python -V
orpython3 -V
): Python 3.8.13pip
version (pip -V
orpip3 -V
): pip 22.1.2 from /usr/local/vmm3/lib/python3.8/site-packages/pip (python 3.8)Additional context
NOTE: mailman components installed from github "master" branches (not tagged releases). Worked until yesterday.
The text was updated successfully, but these errors were encountered: