Skip to content

Commit b2ea647

Browse files
committed
Disable GraalPy patching in ensurepip
1 parent 89e7cce commit b2ea647

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

graalpython/lib-python/3/ensurepip/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ def _disable_pip_configuration_settings():
118118
# We also ignore the settings in the default pip configuration file
119119
# See http://bugs.python.org/issue20053 for details
120120
os.environ['PIP_CONFIG_FILE'] = os.devnull
121+
# GraalPy patch: disable patching
122+
os.environ['PIP_GRAALPY_DISABLE_PATCHING']='true'
121123

122124

123125
def bootstrap(*, root=None, upgrade=False, user=False,

0 commit comments

Comments
 (0)