Skip to content

Commit 9fc333d

Browse files
icemachugovk
andauthored
Drop support for pytest < 7.1. + Add support for pytest 8.0. (#263)
* Drop support for pytest < 7.1. + Add support for pytest 8.0. * Update CHANGES.rst Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --------- Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 3b9ad82 commit 9fc333d

5 files changed

Lines changed: 15 additions & 7 deletions

File tree

.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.0.*",
3231
"7.1.*",
3332
"7.2.*",
3433
"7.3.*",
3534
"7.4.*",
35+
"8.0.*",
3636
"main",
3737
]
3838
steps:

CHANGES.rst

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

4-
13.1 (unreleased)
4+
14.0 (unreleased)
55
-----------------
66

77
Breaking changes
88
++++++++++++++++
99

1010
- Drop support for Python 3.7.
1111

12+
- Drop support for pytest 7.0.
13+
14+
Features
15+
++++++++
16+
17+
- Add support for pytest 8.0.
18+
19+
1220
13.0 (2023-11-22)
1321
-----------------
1422

README.rst

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

2222
- Python 3.8+ or PyPy3
23-
- pytest 7.0 or newer
23+
- pytest 7.1 or newer
2424

2525
This plugin can recover from a hard crash with the following optional
2626
prerequisites:

pyproject.toml

Lines changed: 2 additions & 2 deletions
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 = "13.1.dev0"
12+
version = "14.0.dev0"
1313
description = "pytest plugin to re-run tests to eliminate flaky failures"
1414
dynamic = [
1515
"readme",
@@ -46,7 +46,7 @@ classifiers = [
4646
]
4747
dependencies = [
4848
"packaging>=17.1",
49-
"pytest>=7",
49+
"pytest>=7.1",
5050
]
5151
urls = {Homepage = "https://github.com/pytest-dev/pytest-rerunfailures"}
5252

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ max-line-length = 88
1111
[tox]
1212
envlist =
1313
linting
14-
py{38,39,310,311,312,py3}-pytest{70,71,72,73,74,main}
14+
py{38,39,310,311,312,py3}-pytest{71,72,73,74,80,main}
1515
minversion = 4.0
1616

1717
[testenv]
1818
commands = pytest tests/ {posargs}
1919
deps =
2020
pytest-xdist
21-
pytest70: pytest==7.0.*
2221
pytest71: pytest==7.1.*
2322
pytest72: pytest==7.2.*
2423
pytest73: pytest==7.3.*
2524
pytest74: pytest==7.4.*
25+
pytest80: pytest==8.0.*
2626
pytestmain: git+https://github.com/pytest-dev/pytest.git@main#egg=pytest
2727

2828
[testenv:linting]

0 commit comments

Comments
 (0)