Skip to content

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

Closed
@StanFromIreland

Description

@StanFromIreland

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixesstdlibPython modules in the Lib dirtopic-venvRelated to the venv moduletype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions