Skip to content

uv python install 3.13t issues on Windows and Linux #8194

@colesbury

Description

@colesbury

Nice work! This is my favorite way to install Python. I ran into two issues:

On Windows, uv python install 3.13t doesn't seem to install a free-threaded build.

> uv python install 3.13t
> uv python list
cpython-3.13.0-windows-x86_64-none     AppData\Roaming\uv\python\cpython-3.13.0+freethreaded-windows-x86_64-none\python.exe

> uv run -p 3.13t python -c "import sysconfig; print(sysconfig.get_config_var('Py_GIL_DISABLED'))"
0

On Linux, uv python install 3.13t installs a debug build:

> uv run -p 3.13t python -c "import sysconfig; print(sysconfig.get_config_var('CFLAGS'))"
-fno-strict-overflow -Wsign-compare -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -Og -Wall  -fPIC

Whereas 3.13 (GIL) is an optimized build, like I'd expect:

> uv run -p 3.13 python -c "import sysconfig; print(sysconfig.get_config_var('CFLAGS'))"
-fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall  -fPIC

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions