Skip to content

Commit da8ea48

Browse files
authored
Drop support for pytest < 8, add support for pytest 8.4.x. (#300)
1 parent 72f29f3 commit da8ea48

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
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.10",
2929
]
3030
pytest-version: [
31-
"7.4.*",
3231
"8.0.*",
3332
"8.1.*",
3433
"8.2.*",
3534
"8.3.*",
35+
"8.4.*",
3636
"main",
3737
]
3838
steps:

CHANGES.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
Changelog
22
=========
33

4-
15.2 (unreleased)
4+
16.0 (unreleased)
55
-----------------
66

7+
Breaking changes
8+
++++++++++++++++
9+
10+
- Drop support for pytest < 8.
11+
12+
Features
13+
++++++++
14+
15+
- Add support for pytest 8.4.x.
16+
717
- Allow ``@pytest.mark.flaky(condition)`` to accept a callable or a string
818
to be evaluated. The evaluated string has access to the exception instance
919
via the ``error`` object.

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.9+ or PyPy3
32-
- pytest 7.4 or newer
32+
- pytest 8.0 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
@@ -9,7 +9,7 @@ ignore = [".pre-commit-config.yaml"]
99

1010
[project]
1111
name = "pytest-rerunfailures"
12-
version = "15.2.dev0"
12+
version = "16.0.dev0"
1313
description = "pytest plugin to re-run tests to eliminate flaky failures"
1414
dynamic = [
1515
"readme",

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{39,310,311,312,313,py3}-pytest{74,80,81,82,83,main}
14+
py{39,310,311,312,313,py3}-pytest{80,81,82,83,84,main}
1515
docs
1616
minversion = 4.0
1717

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

2929
[testenv:linting]

0 commit comments

Comments
 (0)