Skip to content

Regression for 3.13t virtual environments created with uv on Windows #405

Open
@zanieb

Description

@zanieb

Upgrading to the latest release, the python.exe uv creates for virtual environments is broken, presumably because of #373.

.venv/Scripts/python --version
did not find executable at 'C:\Users\runneradmin\AppData\Roaming\uv\python\cpython-3.13.1+freethreaded-windows-x86_64-none\python3.13t.exe': The system cannot find the file specified.

[source]

I presumed this was because sys._base_executable was returning the old path (python3.13t.exe), however, it looks correct in the tests I'm running. I'm not sure what is causing the incorrect path, but it was working with the previous python-build-standalone distribution.

I'm testing the standard library venv module too.

Out of an abundance of caution, I've marked 20241205 as a pre-release until the cause is known.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplatform:windowsSpecific to the Windows platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions