-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
Cannot fetch dependencies behind proxy #657
Comments
The workaround for lack of explicit cli support is to export To use pex with requests, which is generally recommended, use one of:
To demonstrate there is plumbing for all this: For pex without requests you'll see something like:
And for pex with requests:
Since this is a robust - and once you're in-the-know about the env vars - universal workaround, I'm tempted to close this issue with a documentation update highlighting the env vars. Do you agree that's enough? If so and this works for you, would you be willing to chip in the doc update? Pehaps an addition to recipes would do?: https://github.com/pantsbuild/pex/blob/master/docs/recipes.rst |
hi, thank you for the explanation. To do just that, I initiated the following pull request : #659 |
Excellent. Thank you @FeatCrush. |
It's seems that the http implementation does not support connecting to repositories through proxies.
The get method from the Requests API does support proxy so it should be a manner of passing the right parameters.
Ideas :
Tip; you can bypass resolving depencies by using wheels and cache
The text was updated successfully, but these errors were encountered: