summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-22 19:46:35 (GMT)
committerGitHub <noreply@github.com>2024-05-22 19:46:35 (GMT)
commit3e30a38561ab6ab41605973dc3c61053c099da80 (patch)
tree6a07fb80b529d2300170698656b965df3d580ac5 /Python/pystate.c
parent0bd7c879cf268df38f28cb440183d7dfa942e6e6 (diff)
downloadcpython-3e30a38561ab6ab41605973dc3c61053c099da80.zip
cpython-3e30a38561ab6ab41605973dc3c61053c099da80.tar.gz
cpython-3e30a38561ab6ab41605973dc3c61053c099da80.tar.bz2
gh-117505: Run ensurepip in isolated env in Windows installer (GH-118257)
ensurepip forks a subprocess to run pip itself, but that subprocess only inherits a -I isolated mode flag (see _run_pip() in Lib/ensurepip/__init__.py), not the "-E -s" flags that the installer has been using. This means that parts of ensurepip don't actually run in an isolated environment and can make incorrect decisions based on packages installed in the user site-packages. (cherry picked from commit c9073eb1a99606df1efeb8959e9f11a8ebc23ae2) Co-authored-by: Michael Vincent <377567+Vynce@users.noreply.github.com>
Diffstat (limited to 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions