-
Notifications
You must be signed in to change notification settings - Fork 139
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
fix(ci): update pdm to 2.5.4 to fix requests and cachecontrol incompatibility #1022
Conversation
Co-authored-by: shiftinv <8530778+shiftinv@users.noreply.github.com> Signed-off-by: arl <me@arielle.codes>
Co-authored-by: shiftinv <8530778+shiftinv@users.noreply.github.com> Signed-off-by: arl <me@arielle.codes>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The whole cachecontrol/urllib3 situation certainly isn't great; pdm 2.5.4 technically sorta mostly works but got yanked, 2.5.5 is broken again.
In addition to that, the fact that pdm 2.5 now only locks selected groups makes things really annoying to work with when you're dealing with multiple nox venvs.
I understand why it does that, and I don't like it.
Long story short, both urllib3 2.0 and pdm 2.5 break things, so the best course of action to at least get CI unblocked for now would be to stay on pdm 2.4, and force urllib3 to 1.x:
shiftinv@57dd741
As discussed in DMs this isn't worth the trouble for now - #1026 supersedes this PR c: |
Summary
pdm-project/pdm#1886
psf/cachecontrol#294
changelog: https://pdm.fming.dev/2.5/dev/changelog/#release-v254-2023-05-05
this also fixes ci https://github.com/DisnakeDev/disnake/actions/runs/4891445480
Checklist
pdm lint
pdm pyright