nox-uv
Facilitate nox integration with uv for Python projects
Decision gist · record as of 2026-08-14
Yes. If you use nox for test automation and uv for dependency management, nox-uv is the natural integration layer—it's lightweight, actively maintained, has no known vulnerabilities, and solves the real problem of keeping lockfile-based environments synchronized across test sessions. Install it if you want reproducible, fast test runs; skip it if you're not using both nox and uv.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires nox and uv to be installed; requires a uv.lock file in the project.
- Low friction: pure Python wheel with a single runtime dependency on nox.
- Actively maintained as of May 2026, with recent releases and no known vulnerabilities.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open and closed projects.
last release 2026-05-12 (94 days) · last repo commit 2026-05-12 · 31 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 246,978 downloads/mo, #8,702 on PyPI
Alternatives
Verify before relying
# Install: uv add --group nox nox-uv
# In noxfile.py:
from nox import Session, options
from nox_uv import session
options.default_venv_backend = "uv"
@session(uv_groups=["test"])
def test(s: Session) -> None:
s.run("python", "-m", "pytest")- Whether uv.lock validation (uv_sync_locked parameter) incurs meaningful performance overhead in CI pipelines.
- Compatibility guarantees with nox versions prior to the package's first release (2025-04-05).
What it is and what it does
nox-uv bridges nox (a Python test automation tool) and uv (a fast Python package manager) by providing a drop-in replacement for nox's @session decorator that installs dependencies from a uv lockfile instead of resolving them at runtime. This ensures that all developers and CI systems run tests against identical dependency versions, eliminating the "works on my machine" problem.
The package adds parameters to the session decorator—uv_groups, uv_extras, uv_only_groups, and others—that let you specify which dependency groups and optional dependencies from your pyproject.toml should be installed into each test session. It uses uv sync under the hood, which is faster than pip and respects the locked versions in uv.lock. By default it also validates that the lockfile is up to date, catching cases where dependencies have drifted.
Use it for
- Run test suites across multiple Python versions (3.10–3.14) with locked dependencies to ensure reproducible CI results.
- Separate development dependency groups (lint, type-check, test) in nox sessions without manual version management.
- Validate that uv.lock stays synchronized with pyproject.toml during development and CI runs.
- Speed up test session setup by using uv's faster dependency resolution instead of pip.
- Manage optional dependencies and workspace packages in uv-based monorepos via nox sessions.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
If you use nox for test automation and uv for dependency management, nox-uv is the natural integration layer—it's lightweight, actively maintained, has no known vulnerabilities, and solves the real problem of keeping lockfile-based environments synchronized across test sessions. Install it if you want reproducible, fast test runs; skip it if you're not using both nox and uv.
Install
nox-uv on PyPI
Before you install
Low friction: pure Python wheel with a single runtime dependency on nox. Actively maintained as of May 2026, with recent releases and no known vulnerabilities.
Requires nox and uv to be installed; requires a uv.lock file in the project.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open and closed projects.
Quickstart
# Install: uv add --group nox nox-uv
# In noxfile.py:
from nox import Session, options
from nox_uv import session
options.default_venv_backend = "uv"
@session(uv_groups=["test"])
def test(s: Session) -> None:
s.run("python", "-m", "pytest")
Verify before relying
- Whether uv.lock validation (uv_sync_locked parameter) incurs meaningful performance overhead in CI pipelines.
- Compatibility guarantees with nox versions prior to the package's first release (2025-04-05).
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagenox |
| Maintenance | Actively maintained 94 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 246,978 / month, #8,702 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: TestingTyping :: Typed |
Evidence: nox_uv-0.8.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “nox uv integration”
- nox-uvnox-uv replaces nox's standard session decorator to install…
- nox-poetryIntegrates Poetry's lock file into Nox sessions, allowing…
- noxNox automates testing across multiple Python environments using…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also nox-poetry · nox · tox-uv · tox-uv-bare · pip-check · depgather · uv-sort · uv-secure · uv-build · exitstatus