-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
Cannot run v2.20.0 on Python 3.8 #3241
Comments
Essentially the same error on 3.11
|
@frostming I see #3239 now, but shouldn't the dependencies for PDM be updated to reflect that? When I update PDM I've got this:
|
Same on Python 3.12:
|
I don't know PDM at all, but for those getting the error |
That resolves it @notatallshaw but the PDM dependencies need to be fixed in the package. |
I had no plugins installed so |
Yeah, I would also reccomend that @frostming yank's the 2.20.0 release (and either replaces it with 2.20.0post1 or 2.20.1) as, from my experience, releases with bad metadata in them tend to cause a very long tail of problems. |
@notatallshaw However my original issue #3240 showed up without updating PDM because PDM versions pre 2.20.0 pinned resolvelib as |
I'm not excluding that there might need to be a resolvelib release also, if a bug or unexpected breaking change is identified. But major/minor release breakage is only defined for intentional behavior, if PDM was relying on unintentional behavior and it's non-trivial to fix in resolvelib, then it may just have to stand that the solution for users is to pin resolvelib and/or update PDM. Even if it is found that resolvelib broke behavior that was intentional and it yanked It also might be worth suggesting that PDM vendors resolvelib in the same way that pip does, it comes with it's own drawbacks, but it definitely prevents accidental breakage. |
Agreed, that's a fair point about semantic versioning relying on intentional defined behavior. I can't say I really know how pdm is using resolvelib so hard for me to say if its intentional or undefined behavior. Good point on the >= requirement, thats unfortunate that PDM didn't specify <2.0.0. |
Yeah, likely we'll need to wait for @frostming to be able to work on this, they are an expert on both the resolvelib and PDM side, and may be able to think of a quick fix for both libraries. |
Strongly recommend yanking this release since even in a clean environment we end up pulling a resolvelib that causes this issue. |
post1 released, and yank the old version |
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
Actual behavior
Python complains about a part of the code that was changed as part of #3235
Expected behavior
PDM installs the package
Environment Information
The text was updated successfully, but these errors were encountered: