Skip to content

Commit 737183c

Browse files
author
Michael Howitz
authored
Update dependencies: (#202)
* Drop support for Python 3.6. * Drop support for pytest < 6. * Add support for Python 3.11. * Add support for pytest 7.0, 7.1, 7.2.
1 parent e80c12e commit 737183c

5 files changed

Lines changed: 31 additions & 19 deletions

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,29 +22,29 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
python-version: [
25-
"3.6",
2625
"3.7",
2726
"3.8",
2827
"3.9",
2928
"3.10",
29+
"3.11",
3030
"pypy-3.7",
3131
]
3232
pytest-version: [
33-
"5.3.*",
34-
"5.4.*",
3533
"6.0.*",
3634
"6.1.*",
3735
"6.2.*",
36+
"7.0.*",
37+
"7.1.*",
38+
"7.2.*",
3839
"main",
3940
]
4041
exclude:
4142
# Only pytest 6.2+ supports Python 3.10
42-
- { python-version: "3.10", pytest-version: "5.3.*" }
43-
- { python-version: "3.10", pytest-version: "5.4.*" }
4443
- { python-version: "3.10", pytest-version: "6.0.*" }
4544
- { python-version: "3.10", pytest-version: "6.1.*" }
46-
# Main requires Python >= 3.7
47-
- { python-version: "3.6", pytest-version: "main" }
45+
# Only pytest 6.2+ supports Python 3.11
46+
- { python-version: "3.11", pytest-version: "6.0.*" }
47+
- { python-version: "3.11", pytest-version: "6.1.*" }
4848
steps:
4949
- uses: actions/checkout@v2
5050

CHANGES.rst

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

4-
10.3 (unreleased)
4+
11.0 (unreleased)
55
-----------------
66

7+
Breaking changes
8+
++++++++++++++++
9+
10+
- Drop support for Python 3.6.
11+
12+
- Drop support for pytest < 6.
13+
714
Bug fixes
815
+++++++++
916

@@ -17,6 +24,10 @@ Features
1724

1825
- Added option `--rerun-except` to rerun failed tests those are other than the mentioned Error.
1926

27+
- Add support for Python 3.11.
28+
29+
- Add support for pytest 7.0, 7.1, 7.2.
30+
2031

2132
10.2 (2021-09-17)
2233
-----------------

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.6, up to 3.10, or PyPy3
23-
- pytest 5.3 or newer
22+
- Python 3.7, up to 3.11, or PyPy3
23+
- pytest 6.0 or newer
2424

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

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ignore =
77

88
[metadata]
99
name = pytest-rerunfailures
10-
version = 10.3.dev0
10+
version = 11.0.dev0
1111
url = https://github.com/pytest-dev/pytest-rerunfailures
1212
description = pytest plugin to re-run tests to eliminate flaky failures
1313
long_description = file: HEADER.rst, README.rst, CHANGES.rst
@@ -27,19 +27,19 @@ classifiers =
2727
Topic :: Software Development :: Testing
2828
Topic :: Utilities
2929
Programming Language :: Python :: 3
30-
Programming Language :: Python :: 3.6
3130
Programming Language :: Python :: 3.7
3231
Programming Language :: Python :: 3.8
3332
Programming Language :: Python :: 3.9
3433
Programming Language :: Python :: 3.10
34+
Programming Language :: Python :: 3.11
3535
Programming Language :: Python :: 3 :: Only
3636
Programming Language :: Python :: Implementation :: CPython
3737
Programming Language :: Python :: Implementation :: PyPy
3838

3939
[options]
4040
zip_safe = False
4141
py_modules = pytest_rerunfailures
42-
python_requires = >= 3.6
42+
python_requires = >= 3.7
4343
install_requires =
4444
packaging >= 17.1
4545
pytest >= 5.3

tox.ini

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,21 @@ max-line-length = 88
1111
[tox]
1212
envlist =
1313
linting
14-
py{36,37,38,39,py3}-pytest{53,54,60,61,62}
15-
py{37,38,39,py3}-pytest{main}
16-
py310-pytest{62,main}
17-
minversion = 3.17.1
14+
py{37,38,39,py3}-pytest{60,61}
15+
py{37,38,39,310,311,py3}-pytest{62,70,71,72}
16+
py{37,38,39,310,311,py3}-pytest{main}
17+
minversion = 4.0
1818

1919
[testenv]
2020
commands = pytest test_pytest_rerunfailures.py {posargs}
2121
deps =
2222
pytest-xdist
23-
pytest53: pytest==5.3.*
24-
pytest54: pytest==5.4.*
2523
pytest60: pytest==6.0.*
2624
pytest61: pytest==6.1.*
2725
pytest62: pytest==6.2.*
26+
pytest70: pytest==7.0.*
27+
pytest71: pytest==7.1.*
28+
pytest72: pytest==7.2.*
2829
pytestmain: git+https://github.com/pytest-dev/pytest.git@main#egg=pytest
2930

3031
[testenv:linting]

0 commit comments

Comments
 (0)