@@ -16,6 +16,7 @@ pass_env = SETUPTOOLS_SCM_PRETEND_VERSION
16
16
17
17
18
18
[testenv]
19
+ runner = uv-venv-lock-runner
19
20
package = wheel
20
21
wheel_build_env = .pkg
21
22
extras =
@@ -43,7 +44,7 @@ base_python = py312
43
44
# Keep depends in-sync with testenv above that has cov extra.
44
45
depends = py3{8,10,12}
45
46
skip_install = true
46
- deps = coverage[toml]>=5.3
47
+ extra = cov
47
48
commands =
48
49
coverage combine
49
50
coverage report
@@ -61,6 +62,7 @@ commands = pytest --codspeed -n auto bench/test_benchmarks.py
61
62
62
63
63
64
[testenv:docs]
65
+ runner = uv-venv-lock-runner
64
66
# Keep base_python in-sync with ci.yml/docs and .readthedocs.yaml.
65
67
base_python = py312
66
68
extras = docs
@@ -70,54 +72,53 @@ commands =
70
72
71
73
72
74
[testenv:docs-watch]
73
- package = editable
74
75
base_python = {[testenv:docs]base_python}
75
- extras = {[testenv:docs]extras}
76
- deps = watchfiles
76
+ extras = docs-watch
77
77
commands =
78
78
watchfiles \
79
79
--ignore-paths docs/_build/ \
80
80
' sphinx-build -W -n --jobs auto -b html -d {envtmpdir}/doctrees docs docs/_build/html' \
81
+ README.md \
81
82
src \
82
83
docs
83
84
84
85
85
86
[testenv:docs-linkcheck]
86
- package = editable
87
87
base_python = {[testenv:docs]base_python}
88
88
extras = {[testenv:docs]extras}
89
89
commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/html
90
90
91
91
92
92
[testenv:docs-sponsors]
93
+ runner = uv-venv-runner
94
+ skip_install = true
93
95
description = Ensure sponsor logos are up to date.
94
96
deps = cogapp
95
97
commands = cog -rP README.md docs/index.md
96
98
97
99
98
100
[testenv:pre-commit]
101
+ runner = uv-venv-runner
99
102
skip_install = true
100
103
deps = pre-commit
101
104
commands = pre-commit run --all-files
102
105
103
106
104
107
[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
108
109
skip_install = true
109
110
commands =
110
111
towncrier --version
111
112
towncrier build --version main --draft
112
113
113
114
114
115
[testenv:pyright]
115
- extras = tests
116
- deps = pyright<1.1.380
116
+ extras = pyright
117
117
commands = pytest tests/test_pyright.py -vv
118
118
119
119
120
120
[testenv:docset]
121
+ runner = uv-venv-runner
121
122
deps = doc2dash
122
123
extras = docs
123
124
allowlist_externals =
0 commit comments