pass important env variable for proxy support in pip - #1475
pass important env variable for proxy support in pip#1475Stefano Sinigardi (cenit) wants to merge 2 commits into
Conversation
fcb8afa to
859b1cc
Compare
|
So we can fix online builds, but we still can't build offline when it comes to pip an friends. |
|
Can you point to docs for these and/or what the customer expectation for them is? In general we should be trying to route this stuff through To be clear, my concern would be customers expecting these variables to control other vcpkg downloads unrelated to pip and they not doing so, for instance, if we select the WinHTTP backend. |
|
https://pip.pypa.io/en/stable/topics/https-certificates/ you mean something like this? |
Would it make sense for folks in this situation to opt-in to it by using |
|
is there any rule written anywhere to say what should pass always if defined and what not and the user has to opt-in? |
The problem is that it's enabling a pattern that we are kinda trying to intentionally prevent (downloading things without going through asset caching) and we are concerned that adding such workarounds to the tool condones the behavior. |
|
understood. I just reply with consistency with curl treatment (http_proxy and https_proxy env variables), but then I'll just leave the field and pip has to survive by itself 😄 |
I think I missed something here. Are you saying that libcurl listens to those variables too and we should pass them to it as well? (That is, this would improve 'correct' calls of |
as per title