-
Notifications
You must be signed in to change notification settings - Fork 3k
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
pip does not work with development versions of CPython due to parse error on version string #12691
Comments
@tacaswell do you have a dependency with a |
Is this considered a blocker for pip 24.1? uv has taken the approach of fixing up versions that are not PEP 440 compliant, in particular this is how they handle Might it be worth applying the same on pip side for |
I have proposed pypa/packaging#802 to fix this. |
hello, I'm apparently maybe by this also in a constraint file:
is this the same bug ? and solution ? |
@stonebig this is another issue:
Pip should show the detailed error, though. |
Description
The version string of development versions of CPython end with
+
, e.g.3.12.3+
which causes errors in pip.caused by #12300
Expected behavior
pip accepts the version string on the development versions of CPython.
pip version
approximately current main branch
Python version
3.12.3+ (the 3.12 branch)
OS
arch
How to Reproduce
build
)Output
Code of Conduct
The text was updated successfully, but these errors were encountered: