-
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
Installation error for package with un-normalized extra names in pip 24.1b1 #12688
Comments
Probably relevant (cc @hmc-cs-mdrissi):
|
pkg_resources comes from setuptools and this is key related issue, pypa/setuptools#3586. The pip new packaging version may have made this more likely issue then before although I think fix probably should be in setuptools still. |
Huh, it looks like you have some global configuration instructing pip to not use PEP 517 style isolated builds and there's some statefulness involved as well.
Nah, setuptools isn't implicated here: we deal with the fact that pkg_resources isn't PEP 685 compliant yet via 5cc540b and related commits. |
@edgarrmondragon Could you also run with |
@pradyunsg I've added the |
This seems to arise out of some inconsistency in setuptools which generates |
Can we build a test for this failure? I've tried to reproduce this and been unsuccessful thus far. |
@pradyunsg I could create such a test in #12709. Feel free to pick it. |
OK, managed to reproduce it by using the sdist! @sbidoul Thanks for that pointer! It turns out, the mapping that |
Ah, I see |
I think I found an issue with
24.1b1
with a scenario that works fine on24.0
.Consider these requirements:
Create a virtualenv that uses pip 24.1b1:
Install the requirements:
and it fails
Debug output:
stdout.txt
stderr.txt
Originally posted by @edgarrmondragon in #12613 (comment)
The text was updated successfully, but these errors were encountered: