Skip to content

Commit 12102a9

Browse files
committed
Remove unnecessary REQUESTS_CA_BUNDLE env var
Ever since this was introduced it incldued a fallback to CURL_CA_BUNDLE: psf/requests@1e64fbc We also set that variable anyway, so doing this separately isn't adding anything.
1 parent 949176a commit 12102a9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/interceptors/terminal/terminal-env-overrides.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,13 @@ export function getTerminalEnvVars(
9696
'SSL_CERT_FILE': httpsConfig.certPath,
9797
// Trust cert when using Node 7.3.0+
9898
'NODE_EXTRA_CA_CERTS': httpsConfig.certPath,
99-
// Trust cert when using Requests (Python)
100-
'REQUESTS_CA_BUNDLE': httpsConfig.certPath,
10199
// Trust cert when using Perl LWP
102100
'PERL_LWP_SSL_CA_FILE': httpsConfig.certPath,
103101
// Trust cert for HTTPS requests from Git
104102
'GIT_SSL_CAINFO': httpsConfig.certPath,
105103
// Trust cert in Rust's Cargo:
106104
'CARGO_HTTP_CAINFO': httpsConfig.certPath,
107-
// Trust cert in CURL (only required when not using OpenSSL):
105+
// Trust cert in CURL (only required when not using OpenSSL) and Python Requests:
108106
'CURL_CA_BUNDLE': httpsConfig.certPath,
109107

110108
// Flag used by subprocesses to check they're running in an intercepted env

0 commit comments

Comments
 (0)