diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 8806b51c7..ea46fe1fe 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -18,5 +18,5 @@ build: build: html: - - uvx --with tox-uv tox run -e docs-sponsors - - uvx --with tox-uv tox run -e docs-build -- $READTHEDOCS_OUTPUT + - uv run --only-group tox tox run -e docs-sponsors + - uv run --only-group tox tox run -e docs-build -- $READTHEDOCS_OUTPUT diff --git a/tox.ini b/tox.ini index 04c9b9bef..629339e87 100644 --- a/tox.ini +++ b/tox.ini @@ -76,8 +76,7 @@ commands = pytest --codspeed -n auto bench/test_benchmarks.py [testenv:docs-{build,doctests,linkcheck}] -# Canonical version for everything documentation-related. -base_python = 3.14 +base_python_file = .python-version-default dependency_groups = docs commands = build: sphinx-build -n -T -W -b html -d {envtmpdir}/doctrees docs {posargs:docs/_build/}html