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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      Cannot make venv on `3.14` when system encoding is not utf-8 · Issue #134060 · python/cpython

      Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

      Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant