@@ -16,6 +16,7 @@ pass_env = SETUPTOOLS_SCM_PRETEND_VERSION
1616
1717
1818[testenv]
19+ runner = uv-venv-lock-runner
1920package = wheel
2021wheel_build_env = .pkg
2122extras =
@@ -43,7 +44,7 @@ base_python = py312
4344# Keep depends in-sync with testenv above that has cov extra.
4445depends = py3{8,10,12}
4546skip_install = true
46- deps = coverage[toml]>=5.3
47+ extra = cov
4748commands =
4849 coverage combine
4950 coverage report
@@ -61,6 +62,7 @@ commands = pytest --codspeed -n auto bench/test_benchmarks.py
6162
6263
6364[testenv:docs]
65+ runner = uv-venv-lock-runner
6466# Keep base_python in-sync with ci.yml/docs and .readthedocs.yaml.
6567base_python = py312
6668extras = docs
@@ -70,54 +72,53 @@ commands =
7072
7173
7274[testenv:docs-watch]
73- package = editable
7475base_python = {[testenv:docs]base_python}
75- extras = {[testenv:docs]extras}
76- deps = watchfiles
76+ extras = docs-watch
7777commands =
7878 watchfiles \
7979 --ignore-paths docs/_build/ \
8080 ' sphinx-build -W -n --jobs auto -b html -d {envtmpdir}/doctrees docs docs/_build/html' \
81+ README.md \
8182 src \
8283 docs
8384
8485
8586[testenv:docs-linkcheck]
86- package = editable
8787base_python = {[testenv:docs]base_python}
8888extras = {[testenv:docs]extras}
8989commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/html
9090
9191
9292[testenv:docs-sponsors]
93+ runner = uv-venv-runner
94+ skip_install = true
9395description = Ensure sponsor logos are up to date.
9496deps = cogapp
9597commands = cog -rP README.md docs/index.md
9698
9799
98100[testenv:pre-commit]
101+ runner = uv-venv-runner
99102skip_install = true
100103deps = pre-commit
101104commands = pre-commit run --all-files
102105
103106
104107[testenv:changelog]
105- # See https://github.com/sphinx-contrib/sphinxcontrib-towncrier/issues/92
106- # Pin also present in pyproject.toml
107- deps = towncrier<24.7
108+ extras = docs
108109skip_install = true
109110commands =
110111 towncrier --version
111112 towncrier build --version main --draft
112113
113114
114115[testenv:pyright]
115- extras = tests
116- deps = pyright<1.1.380
116+ extras = pyright
117117commands = pytest tests/test_pyright.py -vv
118118
119119
120120[testenv:docset]
121+ runner = uv-venv-runner
121122deps = doc2dash
122123extras = docs
123124allowlist_externals =
0 commit comments