Skip to content

Commit

Permalink
Add support for pytest 8.1 + remove support for 7.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed Mar 5, 2024
1 parent 0ab54f0 commit ab83788
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
"pypy-3.10",
]
pytest-version: [
"7.1.*",
"7.2.*",
"7.3.*",
"7.4.*",
"8.0.*",
"8.1.*",
"main",
]
steps:
Expand Down
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@ Breaking changes

- Drop support for pytest 7.0.

- Drop support for pytest 7.1.

Features
++++++++

- Add support for pytest 8.0.

- Add support for pytest 8.1.


13.0 (2023-11-22)
-----------------
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Requirements
You will need the following prerequisites in order to use pytest-rerunfailures:

- Python 3.8+ or PyPy3
- pytest 7.1 or newer
- pytest 7.2 or newer

This plugin can recover from a hard crash with the following optional
prerequisites:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ classifiers = [
]
dependencies = [
"packaging>=17.1",
"pytest>=7.1",
"pytest>=7.2",
]
urls = {Homepage = "https://github.com/pytest-dev/pytest-rerunfailures"}

Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ max-line-length = 88
[tox]
envlist =
linting
py{38,39,310,311,312,py3}-pytest{71,72,73,74,80,main}
py{38,39,310,311,312,py3}-pytest{72,73,74,80,81,main}
minversion = 4.0

[testenv]
commands = pytest tests/ {posargs}
deps =
pytest-xdist
pytest71: pytest==7.1.*
pytest72: pytest==7.2.*
pytest73: pytest==7.3.*
pytest74: pytest==7.4.*
pytest80: pytest==8.0.*
pytest81: pytest==8.1.*
pytestmain: git+https://github.com/pytest-dev/pytest.git@main#egg=pytest

[testenv:linting]
Expand Down

0 comments on commit ab83788

Please sign in to comment.