-
-
Notifications
You must be signed in to change notification settings - Fork 291
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 install extras_requires for console_scripts #48
Comments
There is a related issue to this: https://gist.github.com/mitsuhiko/9ee3c30defba57bf04bf |
I suppose if you want to keep wheels optional it makes sense to imply the |
I think the untranslateable thing might be due to a timeout in the UrllibContext which is the default if requests is not linked into the pex. The RequestsContext has http retries built-in whereas the UrllibContext does not, which causes no end of grief for users in general. My inclination is to make wheel/requests optional but on by default (in other words you can disable them but you have to try), and use the interpreter cache to resolve them if they're not present on the system / in the virtualenv. |
…tool#48. * Adds an interpreter cache to the pex tool and self-resolves dependencies (wheel, setuptools) should they be unavailable at runtime. This fixes the issue where "pex" would fail to run in a fresh virtualenv without doing "pip install pex[whl]". * Fixes test breakage with requests >= 2.5.2
Fixed by e4a577ef0 |
This seems like a bug in pip, however it manifests itself in a broken pex tool if you 'pip install pex' into an empty virtualenv:
In the meantime we should remove the extras_requires from pex. This means in order to build pexes with wheels (the default option) we will need an interpreter cache #47.
The text was updated successfully, but these errors were encountered: