Skip to content

Commit 928aa2b

Browse files
authored
Update minimum pytest version to 8.1 and add support for pytest 9.0 (#325)
1 parent b53ef72 commit 928aa2b

File tree

5 files changed

+18
-5
lines changed

5 files changed

+18
-5
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
"pypy-3.11",
2929
]
3030
pytest-version: [
31-
"8.0.*",
3231
"8.1.*",
3332
"8.2.*",
3433
"8.3.*",
3534
"8.4.*",
35+
"9.0.*",
3636
"main",
3737
]
3838
steps:

CHANGES.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ Changelog
44
16.2 (unreleased)
55
-----------------
66

7+
Breaking changes
8+
++++++++++++++++
9+
10+
- Drop support for pytest 8.0. Minimum pytest version is now 8.1.
11+
12+
Features
13+
++++++++
14+
15+
- Add support for pytest 9.0.
16+
17+
Bug fixes
18+
+++++++++
19+
720
- Fix missing teardown for session and module scoped fixtures when fixture teardown fails.
821
Fixes `#314 <https://github.com/pytest-dev/pytest-rerunfailures/issues/314>`_.
922

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Requirements
2929
You will need the following prerequisites in order to use pytest-rerunfailures:
3030

3131
- Python 3.10+ or PyPy3
32-
- pytest 8.0 or newer
32+
- pytest 8.1 or newer
3333

3434
This plugin can recover from a hard crash with the following optional
3535
prerequisites:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dynamic = [
4141
]
4242
dependencies = [
4343
"packaging>=17.1",
44-
"pytest!=8.2.2,>=7.4",
44+
"pytest!=8.2.2,>=8.1",
4545
]
4646
urls = { Homepage = "https://github.com/pytest-dev/pytest-rerunfailures" }
4747

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ max-line-length = 88
1111
[tox]
1212
envlist =
1313
linting
14-
py{310,311,312,313,314,py3}-pytest{80,81,82,83,84,main}
14+
py{310,311,312,313,314,py3}-pytest{81,82,83,84,90,main}
1515
docs
1616
minversion = 4.0
1717

1818
[testenv]
1919
commands = pytest tests/ {posargs}
2020
deps =
2121
pytest-xdist
22-
pytest80: pytest==8.0.*
2322
pytest81: pytest==8.1.*
2423
pytest82: pytest==8.2.*
2524
pytest83: pytest==8.3.*
2625
pytest84: pytest==8.4.*
26+
pytest90: pytest==9.0.*
2727
pytestmain: git+https://github.com/pytest-dev/pytest.git@main#egg=pytest
2828

2929
[testenv:linting]

0 commit comments

Comments
 (0)