https://github.com/python/cpython/commit/d7606be91738ae22cdcc3e38c0fcf6f72286c9aa commit: d7606be91738ae22cdcc3e38c0fcf6f72286c9aa branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: freakboy3742 <[email protected]> date: 2026-10-12T06:12:15Z summary:
[3.14] gh-159210: Disable virtualenv enforcement when updating certificates. (GH-159214) (#159219) Ensures that the macOS Install Certificates script can run when the user has PIP_REQUIRE_VIRTUALENV or PIP_REQUIRE_VENV set in their shell. (cherry picked from commit 03df94188e7c9052b3c511019b4e44b3ac5b3398) Co-authored-by: Russell Keith-Magee <[email protected]> files: M Mac/BuildScript/resources/install_certificates.command diff --git a/Mac/BuildScript/resources/install_certificates.command b/Mac/BuildScript/resources/install_certificates.command index 700eb462b68c187..aa44961da7f4680 100755 --- a/Mac/BuildScript/resources/install_certificates.command +++ b/Mac/BuildScript/resources/install_certificates.command @@ -1,4 +1,8 @@ #!/bin/sh +# Installing into the global environment is the point; ensure that the user +# hasn't configured pip to always require a virtual environment. +unset PIP_REQUIRE_VENV +unset PIP_REQUIRE_VIRTUALENV /Library/Frameworks/Python.framework/Versions/@PYVER@/bin/python@PYVER@ << "EOF" _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
