tox-uv-bare
Integration of uv with tox (bare package, bring your own uv).
What it is and what it does
tox-uv-bare is a plugin that integrates the uv package manager into tox's test environment lifecycle. Instead of using virtualenv to create isolated environments and pip to install dependencies, tox-uv-bare delegates both tasks to uv, which is significantly faster. The plugin provides new runner types (uv-venv-runner, uv-venv-lock-runner, uv-venv-pep-723) that you specify in your tox configuration to opt into uv-based environments.
This bare variant assumes you already have uv installed in your system or container—it does not bundle a uv binary. It's designed for containerized deployments (Docker, Kubernetes) where uv is pre-installed, avoiding duplicate binary downloads. You configure it by setting runner = uv-venv-runner (or the lock-file variant) in your tox.ini, and tox discovers uv via TOX_UV_PATH environment variable, bundled binary (if using the non-bare package), or system PATH.
Use it for:
- Speed up CI/CD pipelines by replacing pip with uv's faster resolver in tox test environments.
- Use uv.lock files in tox to pin exact dependency versions across test runs for reproducibility.
- Deploy tox in Docker containers where uv is already installed, avoiding redundant binary bundling.
- Run PEP 723 inline script metadata through tox with uv as the backend instead of virtualenv.
- Manage multiple Python versions and dependency groups in tox using uv's dependency group support.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
tox-uv-bare is a tox plugin that replaces virtualenv and pip with uv for test environment management, without bundling a uv binary—you provide your own uv installation.
Yes, if you already have uv installed and want faster tox test runs. The bare package is the right choice for containerized environments. No friction on install, active maintenance, no known vulnerabilities, and permissive MIT license. The main trade-off is that you inherit both uv's performance gains and any bugs—verify uv compatibility with your project first.
Install
tox-uv-bare on PyPI
pip
pip install tox-uv-bareuv
uv add tox-uv-barepoetry
poetry add tox-uv-bareInstalling tox-uv-bare
Before you install
Low install friction; pure Python wheel with four runtime dependencies (packaging, tomli, tox, typing-extensions). Active maintenance with a release 24 days ago and 351 repository stars.
License in practice
MIT license permits commercial and private use with minimal restrictions—suitable for most projects.
Quickstart
pip install tox tox-uv-bare
# In tox.ini:
# [testenv]
# runner = uv-venv-runner
# commands = pytest
tox r -e py312
Requires uv to be installed separately in your system or container; tox-uv-bare does not bundle it.
Verify before relying
- Whether performance gains from uv over virtualenv+pip are measurable for typical test suites.
- Compatibility matrix with specific uv versions and whether version mismatches cause silent failures.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — packaging, tomli, tox, typing-extensions |
| Maintenance | actively maintained — 24 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,677,061/month — #2,055 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: tox_uv_bare-1.36.0-py3-none-any.whl
Keywords: environments, isolated, testing, virtual
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
tox-uvtox-uv replaces virtualenv and pip with uv in…
permissive · top 5,000 on PyPI
toxtox automates testing across multiple Python…
permissive · top 1,000 on PyPI
nox-uvnox-uv replaces nox's standard session…
permissive · top 15,000 on PyPI
tox-dockerA tox plugin that manages Docker container…
permissive · top 15,000 on PyPI
tox-gh-actionsA tox plugin that automatically detects and…
permissive · top 15,000 on PyPI
tox-ghtox-gh automatically selects and runs the…
permissive · top 15,000 on PyPI
hadolint-coatlProvides a pip-installable hadolint binary…
permissive · top 15,000 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
ansible-dev-environmentCreates isolated virtual environments for…
copyleft · top 15,000 on PyPI
pytest-envA pytest plugin that loads environment…
permissive · top 1,000 on PyPI