-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
Warn user if environment variables are used #5816
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
base: main
Are you sure you want to change the base?
Conversation
I spend hours debugging this error. I am aware that this odd behavior is fixed in 3.* release. |
Really nice pr, I checked it – warnings works well, can save a tons of devs time. |
Could you please suggest something? 😂 |
Closing/re-opening since I can't trigger CI to run here |
What's the status of this PR? |
From #6050 looks like 3.x isn't going to happen any time soon, and commitments to fix things in 3.x don't necessarily hold. |
I would love to see this PR getting merged. Let me know if you need something from myside. |
When session.verify=False, session.trust_env=True and REQUESTS_CA_BUNDLE or CURL_CA_BUNDLE is defined as environment variables then, notify user that requests will use environment variables rather than silently failing. partially fixes: psf#3829 Signed-off-by: Abhijeet Kasurde <[email protected]>
When session.verify=False, session.trust_env=True and
REQUESTS_CA_BUNDLE or CURL_CA_BUNDLE is defined as environment
variables then, notify user that requests will use environment variables
rather than silently failing.
partially fixes: #3829
Signed-off-by: Abhijeet Kasurde [email protected]