-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
PEP-0426 pip does not install all extras when special [all] extras is specified #4340
Comments
Note that PEP 426 is marked as "Draft". Until it's final, pip won't necessarily support features it specifies. |
@pfmoore I know that is Draft but please note that it was raised back in 2012 and due to its complexity it was not marked as Final yet. I don't think that's a controversial one. Considering that most browsers implement HTML5 while it was still draft, I can only hope pip would embrace this one. Also pip is a key element in promoting standardisation among package maintainers. PS. Please note that his ticket was only about his feature, the entire pep is huge and it doesn't make sense to have such wide scopes. Btw, it could be cool to have a project named |
Note that there are no funded development resources on pip, so everything is done on a volunteer basis. If you feel that implementing this feature is important, you might like to lobby your Python support vendor to fund development time on Python packaging to move work like this forward. Otherwise, it's likely that it will remain unimplemented until some volunteer gets the time and/or motivation to work on it. By the way, you can of course install all extras, by listing them all individually. It's just that you need to look up what the extras are from the package dcumentation, and there's no abbreviated form. Also, it's worth noting that the use of the extras notation in pip is almost completely undocumented - it's only mentioned by example in pip install. One of the reasons we're trying to get standards agreed is so that we avoid perpetuating the issues with undocumented, implementation-defined behaviour. But conceded, it's a slow process. |
Thanks for the explanations. I was not expecting someone else to work on this, but I wanted to check if this was not there because nobody did it or because it was not desired (or possible, or...). There is one thing I learn while contributing to open-source: before fixing something, be sure you are fixing the right thing. Doing this assures that your CR/PR would eventually not be wasted. |
Plus I'm not sure we want to support a magical So until this is sorted out and in an accepted PEP, I'd recommend closing this issue. |
I'm going to go ahead and close this issue. Once the PEP is landed we will implement/support whatever it has, until that point we're not going to, so this issue is not currently actionable. |
Description:
It seems that doing a
pip install package[all]
does not install all optional extras even if PEP-426 documents it as a wildcard option.This is a serious limitation because at this moment it is impossible to tell pip to install all extras.
The text was updated successfully, but these errors were encountered: