Skip to content

Instantly share code, notes, and snippets.

@asears
Last active January 5, 2025 15:07
Show Gist options
  • Save asears/1008b45bd63259e87ec6d9ede20804d0 to your computer and use it in GitHub Desktop.
Save asears/1008b45bd63259e87ec6d9ede20804d0 to your computer and use it in GitHub Desktop.
Nox Cookbook

Nox Cookbook

https://nox.thea.codes/en/stable/cookbook.html

Note that the recipes and dependencies eg bump2version are out of date.

tox-uv

uv tool install tox --with tox-uv # use uv to install
tox --version # validate you are using the installed tox
tox r -e py312 # will use uv
tox --runner virtualenv r -e py312 # will use virtualenv+pip

https://github.com/tox-dev/tox-uv

nox

astral-sh/uv#6579

nox --default-venv-backend uv ...

noxfiles

nox.options.default_venv_backend = "uv|virtualenv"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment