-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
I'm trying to run the tests for the python bindings for kornia-rs on the free-threaded build and noticed this strange behavior in a folder that has an existing 3.13t venv:
± uv run -v maturin develop -m Cargo.toml
DEBUG uv 0.6.9 (3d9460278 2025-03-20)
DEBUG Found project root: `/Users/goldbaum/Documents/kornia-rs/kornia-py`
DEBUG No workspace root found, using project root
DEBUG Discovered project `kornia-rs` at: /Users/goldbaum/Documents/kornia-rs/kornia-py
DEBUG Acquired lock for `/Users/goldbaum/Documents/kornia-rs/kornia-py`
DEBUG Using Python request `>=3.8` from `requires-python` metadata
DEBUG Checking for Python environment at `.venv`
DEBUG The virtual environment's Python version does not satisfy `>=3.8`
DEBUG Searching for Python >=3.8 in managed installations or search path
DEBUG Searching for managed installations at `/Users/goldbaum/.local/share/uv/python`
DEBUG Found managed installation `cpython-3.13.0+freethreaded-macos-aarch64-none`
DEBUG Found `cpython-3.13.0+freethreaded-macos-aarch64-none` at `/Users/goldbaum/.local/share/uv/python/cpython-3.13.0+freethreaded-macos-aarch64-none/bin/python3.13t` (managed installations)
DEBUG Skipping interpreter at `/Users/goldbaum/.local/share/uv/python/cpython-3.13.0+freethreaded-macos-aarch64-none/bin/python3.13t` from managed installations: does not satisfy request `>=3.8`
DEBUG Found managed installation `cpython-3.11.10-macos-aarch64-none`
DEBUG Found `cpython-3.11.10-macos-aarch64-none` at `/Users/goldbaum/.local/share/uv/python/cpython-3.11.10-macos-aarch64-none/bin/python3.11` (managed installations)
Using CPython 3.11.10
IMO this is wrong and uv should pick 3.13t.
To reproduce this with kornia-rs, do:
$ git clone git@github.com:kornia/kornia-rs.git
$ cd kornia-rs/kornia-py
$ just install-dev
$ uv run -v maturin develop -m Cargo.toml
I haven't checked if this happens in a simpler setup.
Platform
MacOS 15.3.2 on a M3 Macbook Pro
Version
uv 0.6.9 (3d94602 2025-03-20
Python version
n/a
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working