Skip to content
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

Expose Pip's --use-feature. #2375

Closed
jsirois opened this issue Feb 19, 2024 · 2 comments
Closed

Expose Pip's --use-feature. #2375

jsirois opened this issue Feb 19, 2024 · 2 comments
Assignees

Comments

@jsirois
Copy link
Member

jsirois commented Feb 19, 2024

Folks may want to use these features. It could be the case that a feature breaks Pex, but that could be ameliorated with a warning in the option docs. In particular, its probably the case that most Pex (and Pip) users are unaware of the 3.5 year old --use-feature fast-deps range request hack for grabbing wheel metadata that uv is now using to much fanfare.

@jsirois
Copy link
Member Author

jsirois commented Feb 22, 2024

This may not be needed. You can pass this option in a -r requirements.txt file already.

@jsirois
Copy link
Member Author

jsirois commented Feb 22, 2024

A quick test of --use-feature fast-deps for torch shows its actually slightly slower.

That leads -> pypa/pip#8670 -> pypa/pip#11481 -> pypa/pip#12208 (unmerged)

So I'll close this since the option is already available using Pex (since Pex supports -r / --requirements) and the impetus to expose 1st class is not yet viable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant