-
Notifications
You must be signed in to change notification settings - Fork 28
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
Invalid version identifiers and names starting with pip 24.x? #235
Comments
Actually somewhat urgent as it's more likely to have an updated pip version as time goes on 🙂 |
How would a fix look like? Replace all - with _ ? |
Looking at https://peps.python.org/pep-0440/ that wouldn't be valid either. |
get_python_package_name() is responsible for the python package name But how to trigger the error? I'm on pip 24.3.1 and everything is fine for me. |
I don't have a system with vsrepo on hand but last time I had the issue you'd always get that when trying to install something via pip. Fyi that screenshot isn't mine. It's someone on the GJM discord and they just did a fresh install of python 3.12.7. |
I know there were problems before for a pattern like - The errors could be leftovers from older vsrepo installations. Removing the problematic *.dist-info folders should fix it I hope :D I can't reproduce the error, imwri and placebo are fine for me. |
This has come up a few times on the JET server and even in my DMs so I thought it'd be best to make an issue now.
Starting with pip 24.2 (or 24.3, not sure), proper version identifiers and names for python package metadata have been enforced.
This results in an actual error when doing anything with pip and should be addressed ASAP.
Doesn't seem to be affecting all plugins but it might be a good idea to rethink how the metadata gets generated in general.
One such error
The text was updated successfully, but these errors were encountered: