Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conda_build/environ.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,6 @@ def conda_build_vars(prefix, config):
"SRC_DIR": src_dir,
"HTTPS_PROXY": os.getenv("HTTPS_PROXY", ""),
"HTTP_PROXY": os.getenv("HTTP_PROXY", ""),
"REQUESTS_CA_BUNDLE": os.getenv("REQUESTS_CA_BUNDLE", ""),
"DIRTY": "1" if config.dirty else "",
"ROOT": context.root_prefix,
}
Expand Down Expand Up @@ -801,6 +800,7 @@ def os_vars(m, prefix):
get_default("LANG")
get_default("LC_ALL")
get_default("MAKEFLAGS")
get_default("REQUESTS_CA_BUNDLE")
d["SHLIB_EXT"] = get_shlib_ext(m.config.host_platform)
d["PATH"] = os.environ.copy()["PATH"]

Expand Down
3 changes: 3 additions & 0 deletions docs/source/user-guide/environment-variables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ inherited from the shell environment in which you invoke
- Inherited from your shell environment.
* - HTTPS_PROXY
- Inherited from your shell environment.
* - REQUESTS_CA_BUNDLE
- Inherited from your shell environment when set.
Omitted when unset so TLS clients do not see an empty CA path.
* - LANG
- Inherited from your shell environment.
* - MAKEFLAGS
Expand Down
19 changes: 19 additions & 0 deletions news/6063-requests-ca-bundle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Enhancements

* <news item>

### Bug fixes

* Only pass through ``REQUESTS_CA_BUNDLE`` when it is set in the environment, matching ``SSL_CERT_FILE``. Setting it to an empty string broke TLS clients such as botocore. (#6063 via #6083)

### Deprecations

* <news item>

### Docs

* Document ``REQUESTS_CA_BUNDLE`` as an inherited build environment variable. (#6063 via #6083)

### Other

* <news item>
Loading