Skip to content
New issue

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

Configure when uv should install Python #944

Open
johnthagen opened this issue Mar 24, 2025 · 1 comment
Open

Configure when uv should install Python #944

johnthagen opened this issue Mar 24, 2025 · 1 comment

Comments

@johnthagen
Copy link
Contributor

johnthagen commented Mar 24, 2025

How would this feature be useful?

Support for uv installing Python was added in

But as discussed in #842 (comment) no configuration option was added to opt-out of this behaviour.

Describe the solution you'd like

As mentioned in #842 (comment) add new configuration options:

--download-python=auto,always,never

Additionally, this should be configurable within a noxfile.py:

import nox

nox.options.download_python = "never"  # type: Literal["auto", "always", "never"]

This feature should also be documented.

@johnthagen
Copy link
Contributor Author

CC @saucoide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant