-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
include the HTTP proxy environment variables in PASSENV by default #1498
Comments
the main reason we haven't don't so yet is that you only need this if you've tests that access the network, this shouldn't be that many, not? |
In general, I guess so. I hit this on pip, where the |
I've been setting this in all my projects, so could be the default 🤷♂ if you have time for a PR send it on 👍 |
Tox doesn't include HTTP proxy variables (
HTTP_PROXY
,HTTPS_PROXY
andNO_PROXY
) inPASSENV
by default. As those variables basically say "you need to use this proxy or network access won't work" they seem like something that would be required for any network-related test.I suggest that the variables are added to the list of ones included in
PASSENV
by default.#258 was raised about this issue, before
PASSENV
existed as far as I can see, and appears to have been accepted with the resolution being that tox passed all environment variables. Presumably at some point, that was restricted again andPASSENV
introduced, but the proxy variables weren't considered at that time?The text was updated successfully, but these errors were encountered: