Skip to content

Commit 004d746

Browse files
authored
Add support of Pytest 9.x (#35)
Update tox configuration: - Reduce test matrix to the latest release from each major pytest version - Add pytest main
1 parent 9c2f56a commit 004d746

File tree

2 files changed

+10
-16
lines changed

2 files changed

+10
-16
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ classifiers = [
2828
"Topic :: Software Development :: Testing",
2929
]
3030
dependencies = [
31-
"pytest>=7.0.0,<9",
31+
"pytest>=7.0.0,<10",
3232
"pluggy>=1.2.0",
3333
'typing_extensions>=4.1.0; python_version < "3.11"'
3434
]

tox.ini

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
11
[tox]
22
env_list =
3-
py310-pytest{7.0,7.1,7.2,7.3,7.4,8.0,8.1,8.2,8.3,8.4}
4-
py311-pytest{7.2,7.3,7.4,8.0,8.1,8.2,8.3,8.4}
5-
py312-pytest{7.3,7.4,8.0,8.1,8.2,8.3,8.4}
6-
py313-pytest{8.2,8.3,8.4}
7-
py314-pytest{8.4}
3+
py310-pytest{7,8,9,main}
4+
py311-pytest{7,8,9,main}
5+
py312-pytest{7,8,9,main}
6+
py313-pytest{8,9,main}
7+
py314-pytest{8,9,main}
88
linting
99

1010
[testenv]
1111
package = wheel
1212
wheel_build_env = .pkg
1313
extras = test
1414
deps =
15-
pytest8.4: pytest~=8.4.0
16-
pytest8.3: pytest~=8.3.0
17-
pytest8.2: pytest~=8.2.0
18-
pytest8.1: pytest~=8.1.0
19-
pytest8.0: pytest~=8.0.0
20-
pytest7.4: pytest~=7.4.0
21-
pytest7.3: pytest~=7.3.0
22-
pytest7.2: pytest~=7.2.0
23-
pytest7.1: pytest~=7.1.0
24-
pytest7.0: pytest~=7.0.0
15+
pytestmain: git+https://github.com/pytest-dev/pytest.git
16+
pytest9: pytest~=9.0
17+
pytest8: pytest~=8.0
18+
pytest7: pytest~=7.0
2519
commands =
2620
pytest tests {posargs:-n auto}
2721

0 commit comments

Comments
 (0)