mirror of
https://github.com/python/cpython.git
synced 2026-10-28 10:25:05 +08:00
[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 03df94188e)
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
This commit is contained in:
1 parent
69475640ad
commit
d7606be917
1 file changed
+4
@@ -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"
|
||||
|
||||
|
||||
Reference in new issue
Block a user