◐ Shell
clean mode source ↗

gh-99370: calculate zip path from prefix when in a venv by kkpattern · Pull Request #99371 · python/cpython

Before python3.11, when in a venv the zip path is calculated
from prefix on POSIX platforms. In python3.11 the behavior is
accidentally changed to calculating from default prefix. This
change will break venv created from a non-installed python
with a stdlib zip file. This commit restore the behavior back
to before python3.11.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Nov 14, 2022
…GH-99371)

Before python3.11, when in a venv the zip path is calculated
from prefix on POSIX platforms. In python3.11 the behavior is
accidentally changed to calculating from default prefix. This
change will break venv created from a non-installed python
with a stdlib zip file. This commit restores the behavior back
to before python3.11.
(cherry picked from commit e3d4fed)

Co-authored-by: Kai Zhang <kylerzhang11@gmail.com>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Nov 14, 2022
…GH-99371)

Before python3.11, when in a venv the zip path is calculated
from prefix on POSIX platforms. In python3.11 the behavior is
accidentally changed to calculating from default prefix. This
change will break venv created from a non-installed python
with a stdlib zip file. This commit restores the behavior back
to before python3.11.
(cherry picked from commit e3d4fed)

Co-authored-by: Kai Zhang <kylerzhang11@gmail.com>

miss-islington added a commit that referenced this pull request

Nov 14, 2022
Before python3.11, when in a venv the zip path is calculated
from prefix on POSIX platforms. In python3.11 the behavior is
accidentally changed to calculating from default prefix. This
change will break venv created from a non-installed python
with a stdlib zip file. This commit restores the behavior back
to before python3.11.
(cherry picked from commit e3d4fed)

Co-authored-by: Kai Zhang <kylerzhang11@gmail.com>

zware

CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull request

Nov 16, 2022