-
-
Notifications
You must be signed in to change notification settings - Fork 424
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
urllib3 2.0 incompatibility: 'HTTPResponse' object has no attribute 'strict' #1883
Comments
I also get this error when trying to install anything starting yesterday
I think the short term solution here will be to pin Requests to pre-2.30.0:
edit: yep. works for me: https://github.com/chapmanjacobd/library/actions/runs/4885486057 |
I am also seeing a similar problem, starting yesterday afternoon:
Of note:
|
This is likely going to create more work for you long term than following the instructions for this provided with the 2.30.0 release notes. Cachecontrol has an unspecified required dependency on urllib3 which assumes you've installed urllib3 1.x. Because this isn't specified, either PDM or the end user can help enforce that by defining |
Same issue, |
I contacted @ionrock about the maintenance issue, let's see how it's going. Before that we have to pin |
Same here with python 3.11 and |
Can you confirm? How do you test? |
python3.11 pdm==2.5.4 is OK (urllib3 1.26.15) |
This is resolved by PDM side, close it now. |
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
Actual behavior
Warning is displayed:
If we try to add a dependency we get an exception:
Expected behavior
PDM can be initialized and packages can be installed
Environment Information
The text was updated successfully, but these errors were encountered: