We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uv pip --system and it's env variable equivalent UV_SYSTEM_PYTHON are meant for CI systems.
uv pip --system
UV_SYSTEM_PYTHON
If Nox is run with UV_SYSTEM_PYTHON=true, it will crash with e.g.:
UV_SYSTEM_PYTHON=true
nox > Running session tests-3.8(opt_deps=[]) nox > Creating virtual environment (uv) using python3.8 in .nox/tests-3-8-opt_deps nox > Command uv venv -p python3.8 /home/runner/work/stamina/stamina/.nox/tests-3-8-opt_deps failed with exit code 2: error: the argument '--python <PYTHON>' cannot be used with '--system'
UV_SYSTEM_PYTHON is always wrong within Nox so it should be removed before running uv.
I mean you can do it by hand but that's not great.
This is imho a damper on the usefulness of nox + uv. The option is somewhat new, but I'm sure people will start running into it soon enough.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
How would this feature be useful?
uv pip --system
and it's env variable equivalentUV_SYSTEM_PYTHON
are meant for CI systems.If Nox is run with
UV_SYSTEM_PYTHON=true
, it will crash with e.g.:Describe the solution you'd like
UV_SYSTEM_PYTHON
is always wrong within Nox so it should be removed before running uv.Describe alternatives you've considered
I mean you can do it by hand but that's not great.
Anything else?
This is imho a damper on the usefulness of nox + uv. The option is somewhat new, but I'm sure people will start running into it soon enough.
The text was updated successfully, but these errors were encountered: