You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When specifying proxies in both the environment variables (http_proxy, ...) and the --proxy parameter, the environment variables seem to take precedence.
Since --proxy is more explicit, it should be used whenever specified (even over pip config).
While it is possible to temporarily change the environment variables, it is much more work:
I think I agree. I don’t use proxies (like ever…), but it makes sense for an argument to have higher precedence over environment variables of the same functionality. Would you be interested in sending in a pull request?
Description
Hey,
When specifying proxies in both the environment variables (http_proxy, ...) and the --proxy parameter, the environment variables seem to take precedence.
Since --proxy is more explicit, it should be used whenever specified (even over pip config).
While it is possible to temporarily change the environment variables, it is much more work:
vs.
Expected behavior
No response
pip version
20.0.2
Python version
3.8
OS
Ubuntu
How to Reproduce
Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: