Skip to content

Commit 67e0056

Browse files
Update versions (#279)
- Drop support for Python 3.8 - Drop support for pytest < 7.4 - Add support for Python 3.13 - Add support for pytest 8.2 and 8.3. - Exclude broken version --------- Co-authored-by: anthony sottile <[email protected]>
1 parent e9996df commit 67e0056

File tree

5 files changed

+21
-13
lines changed

5 files changed

+21
-13
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
python-version: [
23-
"3.8",
2423
"3.9",
2524
"3.10",
2625
"3.11",
2726
"3.12",
27+
"3.13",
2828
"pypy-3.10",
2929
]
3030
pytest-version: [
31-
"7.2.*",
32-
"7.3.*",
3331
"7.4.*",
3432
"8.0.*",
3533
"8.1.*",
34+
"8.2.*",
35+
"8.3.*",
3636
"main",
3737
]
3838
steps:

CHANGES.rst

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

4-
14.1 (unreleased)
4+
15.0 (unreleased)
55
-----------------
66

7+
Breaking changes
8+
++++++++++++++++
9+
10+
- Drop support for Python 3.8.
11+
12+
- Drop support for pytest < 7.4.
13+
714
Features
815
++++++++
916

1017
- Fix compatibility with pytest 8.2.
1118
(`#267 <https://github.com/pytest-dev/pytest-rerunfailures/issues/267>`_)
1219

20+
- Add support for pytest 8.2, 8.3.
1321

1422
- Add ``--fail-on-flaky`` option to fail the test run with custom exit code
1523
when test passed on rerun.

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Requirements
1919

2020
You will need the following prerequisites in order to use pytest-rerunfailures:
2121

22-
- Python 3.8+ or PyPy3
23-
- pytest 7.2 or newer
22+
- Python 3.9+ or PyPy3
23+
- pytest 7.4 or newer
2424

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

pyproject.toml

Lines changed: 4 additions & 4 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 = "14.1.dev0"
12+
version = "15.0.dev0"
1313
description = "pytest plugin to re-run tests to eliminate flaky failures"
1414
dynamic = [
1515
"readme",
@@ -23,7 +23,7 @@ keywords = [
2323
]
2424
license = {text = "Mozilla Public License 2.0 (MPL 2.0)"}
2525
authors = [{name = "Leah Klearman", email = "[email protected]"}]
26-
requires-python = ">=3.8"
26+
requires-python = ">=3.9"
2727
classifiers = [
2828
"Development Status :: 5 - Production/Stable",
2929
"Framework :: Pytest",
@@ -33,11 +33,11 @@ classifiers = [
3333
"Operating System :: Microsoft :: Windows",
3434
"Operating System :: POSIX",
3535
"Programming Language :: Python :: 3 :: Only",
36-
"Programming Language :: Python :: 3.8",
3736
"Programming Language :: Python :: 3.9",
3837
"Programming Language :: Python :: 3.10",
3938
"Programming Language :: Python :: 3.11",
4039
"Programming Language :: Python :: 3.12",
40+
"Programming Language :: Python :: 3.13",
4141
"Programming Language :: Python :: Implementation :: CPython",
4242
"Programming Language :: Python :: Implementation :: PyPy",
4343
"Topic :: Software Development :: Quality Assurance",
@@ -46,7 +46,7 @@ classifiers = [
4646
]
4747
dependencies = [
4848
"packaging>=17.1",
49-
"pytest>=7.2",
49+
"pytest!=8.2.2,>=7.4",
5050
]
5151
urls = {Homepage = "https://github.com/pytest-dev/pytest-rerunfailures"}
5252

tox.ini

Lines changed: 3 additions & 3 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{72,73,74,80,81,main}
14+
py{39,310,311,312,313,py3}-pytest{74,80,81,82,83,main}
1515
minversion = 4.0
1616

1717
[testenv]
1818
commands = pytest tests/ {posargs}
1919
deps =
2020
pytest-xdist
21-
pytest72: pytest==7.2.*
22-
pytest73: pytest==7.3.*
2321
pytest74: pytest==7.4.*
2422
pytest80: pytest==8.0.*
2523
pytest81: pytest==8.1.*
24+
pytest82: pytest==8.2.*
25+
pytest83: pytest==8.3.*
2626
pytestmain: git+https://github.com/pytest-dev/pytest.git@main#egg=pytest
2727

2828
[testenv:linting]

0 commit comments

Comments
 (0)