Skip to content

Cannot make venv on 3.14 when system encoding is not utf-8 #134060

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
StanFromIreland opened this issue May 15, 2025 · 0 comments
Closed

Cannot make venv on 3.14 when system encoding is not utf-8 #134060

StanFromIreland opened this issue May 15, 2025 · 0 comments
Labels
3.14 bugs and security fixes stdlib Python modules in the Lib dir topic-venv Related to the venv module type-bug An unexpected behavior, bug, or error

Comments

@StanFromIreland
Copy link
Contributor

StanFromIreland commented May 15, 2025

Bug report

Bug description:

Buildbot fails: https://buildbot.python.org/?#/builders/1764/builds/37/steps/6/logs/stdio

When trying to make a venv:

$ python3.14 -m venv venv
Unable to symlink '/tmp/venv/bin/python' to '/tmp/venv/bin/\U0001d70bthon'
Error: 'latin-1' codec can't encode character '\U0001d70b' in position 14: ordinal not in range(256)

Results in corrupt venv.

Parent issue: #133677

CPython versions tested on:

3.14

Operating systems tested on:

Linux

Linked PRs

@StanFromIreland StanFromIreland added the type-bug An unexpected behavior, bug, or error label May 15, 2025
@picnixz picnixz added topic-venv Related to the venv module stdlib Python modules in the Lib dir 3.14 bugs and security fixes labels May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.14 bugs and security fixes stdlib Python modules in the Lib dir topic-venv Related to the venv module type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants