Skip to content
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

Closed
wants to merge 9 commits into from

Conversation

onerandomusername
Copy link
Member

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

  • If code changes were made, then they have been tested
    • I have updated the documentation to reflect the changes
    • I have formatted the code properly by running pdm lint
    • I have type-checked the code by running pdm pyright
  • This PR fixes an issue
  • This PR adds something new (e.g. new method or parameters)
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)

@onerandomusername onerandomusername added p: high High priority t: dependencies Addition/update/removal of dependencies labels May 5, 2023
@onerandomusername onerandomusername added this to the disnake v2.9 milestone May 5, 2023
@onerandomusername onerandomusername requested a review from shiftinv May 5, 2023 08:40
@shiftinv shiftinv added t: meta Changes to the project itself (CI, configs, etc.) skip news labels May 5, 2023
@onerandomusername onerandomusername changed the title fix(ci): update pdm to 2.5.4 to fix requests and cachecontrol incompatibility fix(ci): update pdm to 2.5.5 to fix requests and cachecontrol incompatibility May 5, 2023
@onerandomusername onerandomusername requested a review from shiftinv May 5, 2023 19:32
noxfile.py Outdated Show resolved Hide resolved
noxfile.py Outdated Show resolved Hide resolved
noxfile.py Show resolved Hide resolved
onerandomusername and others added 4 commits May 6, 2023 16:19
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>
@shiftinv shiftinv changed the title fix(ci): update pdm to 2.5.5 to fix requests and cachecontrol incompatibility fix(ci): update pdm to 2.5.4 to fix requests and cachecontrol incompatibility May 6, 2023
Copy link
Member

@shiftinv shiftinv left a 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

@shiftinv shiftinv mentioned this pull request May 6, 2023
8 tasks
@shiftinv
Copy link
Member

shiftinv commented May 6, 2023

As discussed in DMs this isn't worth the trouble for now - #1026 supersedes this PR c:

@shiftinv shiftinv closed this May 6, 2023
@onerandomusername onerandomusername deleted the deps/pdm-2.5.4 branch May 7, 2023 03:27
@onerandomusername onerandomusername restored the deps/pdm-2.5.4 branch May 7, 2023 03:27
@shiftinv shiftinv deleted the deps/pdm-2.5.4 branch May 7, 2023 10:22
@onerandomusername onerandomusername removed this from the disnake v2.9 milestone Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p: high High priority skip news t: dependencies Addition/update/removal of dependencies t: meta Changes to the project itself (CI, configs, etc.)
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

2 participants