Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.11] gh-99370: Calculate zip path from prefix when in a venv (GH-99371)#99477

Merged
miss-islington merged 1 commit into
python:3.11python/cpython:3.11from
miss-islington:backport-e3d4fed-3.11miss-islington/cpython:backport-e3d4fed-3.11Copy head branch name to clipboard
Nov 14, 2022
Merged

[3.11] gh-99370: Calculate zip path from prefix when in a venv (GH-99371)#99477
miss-islington merged 1 commit into
python:3.11python/cpython:3.11from
miss-islington:backport-e3d4fed-3.11miss-islington/cpython:backport-e3d4fed-3.11Copy head branch name to clipboard

Conversation

@miss-islington

@miss-islington miss-islington commented Nov 14, 2022

Copy link
Copy Markdown
Contributor

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

…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 miss-islington merged commit 5971a65 into python:3.11 Nov 14, 2022
@miss-islington miss-islington deleted the backport-e3d4fed-3.11 branch November 14, 2022 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.