Skip to content

Commit 9eeef42

Browse files
Deduplicate the tox envlist and pin the pytest 8.2/8.3/9.0 factors
Merge the two overlapping envlist rows: the only reason for the split is that pytest 7.0-7.2 do not support python 3.12+. Env coverage is unchanged (verified with `tox -l` before/after). The pytest8.2 and pytest8.3 factors had no matching pin in the deps section, so those envs silently installed the latest pytest and just duplicated pytestlatest. Pin them, and add a pytest9.0 factor now that pytest 9 is out.
1 parent 74cc310 commit 9eeef42

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

tox.ini

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[tox]
2-
envlist = py{3.10,3.11}-pytest{7.0,7.1,7.2,7.3,7.4,8.0,8.1,8.2,8.3,latest}-gherkin_official{29,30,32,33,34,35,36,37,latest}-coverage
3-
py{3.12,3.13,3.14}-pytest{7.3,7.4,8.0,8.1,8.2,8.3,latest}-gherkin_official{29,30,32,33,34,35,36,37,latest}-coverage
2+
# pytest 7.0-7.2 do not support python 3.12+
3+
envlist = py{3.10,3.11}-pytest{7.0,7.1,7.2}-gherkin_official{29,30,32,33,34,35,36,37,latest}-coverage
4+
py{3.10,3.11,3.12,3.13,3.14}-pytest{7.3,7.4,8.0,8.1,8.2,8.3,9.0,latest}-gherkin_official{29,30,32,33,34,35,36,37,latest}-coverage
45
py3.15-pytestlatest-gherkin_officiallatest-coverage
56
py3.12-pytestlatest-xdist-coverage
67
mypy
@@ -22,6 +23,9 @@ deps =
2223
gherkin_official29: gherkin-official~=29.0.0
2324

2425
pytestlatest: pytest
26+
pytest9.0: pytest~=9.0.0
27+
pytest8.3: pytest~=8.3.0
28+
pytest8.2: pytest~=8.2.0
2529
pytest8.1: pytest~=8.1.0
2630
pytest8.0: pytest~=8.0.0
2731
pytest7.4: pytest~=7.4.0

0 commit comments

Comments
 (0)