Enable discovery for --discover flag
What's the problem this feature will solve?
The current way we use tox is to run it with --discover and multiple versions of python that are preinstalled on the machine.
From what i see, i can not specify this with tox-uv, but have to rely on uv picking the right version from path.
As we use UV_PYTHON_DOWNLOADS=never, the result is not having tox runs for versions that are not on path.
Describe the solution you'd like
I´d like tox uv to still respect the --discover flag and use those python versions as well for discovery.
What's the UV solution to something like this?
UV will either download (we cant do that), detect from path or you give it a single python version with --python There is sadly no possibility to give it multiple paths and let it decide from there. But if the resolution already has been done, running each run of venv creation with --python would work
There is sadly no possibility to give it multiple paths and let it decide from there.
Can you raise that as an issue with them and see what they say?
https://github.com/astral-sh/uv/issues/11308 Created this issue
Upstream https://github.com/astral-sh/uv/issues/9506 - we can probably close it on our side.