Skip to content

gh-129382: Match venv API symlink defaults to the CLI - #155759

Open
zanieb wants to merge 4 commits into
python:mainfrom
zanieb:zb/venv-api-symlink-default
Open

gh-129382: Match venv API symlink defaults to the CLI#155759
zanieb wants to merge 4 commits into
python:mainfrom
zanieb:zb/venv-api-symlink-default

Conversation

@zanieb

@zanieb zanieb commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Picking up #129493 which was targeting 3.14 but went stale.

In addition to the commentary in #129382 that it's surprising that this API currently differs from the defaults of python -m venv, using copies of interpreters is generally problematic and should be discouraged. Some of the reasons for this are discussed in #129382, but there are also additional reports of issues and confusion:

This feels relatively low risk, as if the symlink fails, we will fallback to a copy.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34056838 | 📁 Comparing 10dfd02 against main (46c355f)

  🔍 Preview build  

2 files changed
± library/venv.html
± whatsnew/changelog.html

@zanieb

zanieb commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

cc @geofft

@zanieb
zanieb marked this pull request as ready for review August 13, 2026 22:00
@zanieb
zanieb requested review from FFY00 and vsajip as code owners August 13, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant