Skip to content

Conversation

@sgaist
Copy link
Contributor

@sgaist sgaist commented Nov 2, 2025

Describe your changes

When uv_python_reference is used as variable with values for test environment variants, if the variant does not include it "None" is passed but is not an officially supported value.

"none" being a valid value, simply return the lowered version of what has been passed.

Issue ticket number and link

Fixes #260

When uv_python_reference is used as variable with values for
test environment variants, if the variant does not include it
"None" is passed but not handled. "none" being a valid input,
simply return the lowered version of what has been passed.
@sgaist sgaist requested a review from gaborbernat as a code owner November 2, 2025 16:29
@gaborbernat gaborbernat merged commit ac0ba7f into tox-dev:main Nov 2, 2025
21 checks passed
@sgaist sgaist deleted the fix/improve_uv_python_reference_handling branch November 2, 2025 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't set uv_python_preference only for a certain environment factor

2 participants