Open colesbury opened 5 hours ago
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 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:
3.13
> 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
Thanks for the report! I'll look into this.
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.On Linux,
uv python install 3.13t
installs a debug build:Whereas
3.13
(GIL) is an optimized build, like I'd expect: