diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index adacecf..f8abdcd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,11 +28,11 @@ jobs: "pypy-3.11", ] pytest-version: [ - "8.0.*", "8.1.*", "8.2.*", "8.3.*", "8.4.*", + "9.0.*", "main", ] steps: diff --git a/CHANGES.rst b/CHANGES.rst index ed6571b..e800065 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,19 @@ Changelog 16.2 (unreleased) ----------------- +Breaking changes +++++++++++++++++ + +- Drop support for pytest 8.0. Minimum pytest version is now 8.1. + +Features +++++++++ + +- Add support for pytest 9.0. + +Bug fixes ++++++++++ + - Fix missing teardown for session and module scoped fixtures when fixture teardown fails. Fixes `#314 `_. diff --git a/README.rst b/README.rst index 32fd5b6..e4691db 100644 --- a/README.rst +++ b/README.rst @@ -29,7 +29,7 @@ Requirements You will need the following prerequisites in order to use pytest-rerunfailures: - Python 3.10+ or PyPy3 -- pytest 8.0 or newer +- pytest 8.1 or newer This plugin can recover from a hard crash with the following optional prerequisites: diff --git a/pyproject.toml b/pyproject.toml index 1aee76a..ff44899 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ dynamic = [ ] dependencies = [ "packaging>=17.1", - "pytest!=8.2.2,>=7.4", + "pytest!=8.2.2,>=8.1", ] urls = { Homepage = "https://github.com/pytest-dev/pytest-rerunfailures" } diff --git a/tox.ini b/tox.ini index 2eb0e3c..74ed502 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,7 @@ max-line-length = 88 [tox] envlist = linting - py{310,311,312,313,314,py3}-pytest{80,81,82,83,84,main} + py{310,311,312,313,314,py3}-pytest{81,82,83,84,90,main} docs minversion = 4.0 @@ -19,11 +19,11 @@ minversion = 4.0 commands = pytest tests/ {posargs} deps = pytest-xdist - pytest80: pytest==8.0.* pytest81: pytest==8.1.* pytest82: pytest==8.2.* pytest83: pytest==8.3.* pytest84: pytest==8.4.* + pytest90: pytest==9.0.* pytestmain: git+https://github.com/pytest-dev/pytest.git@main#egg=pytest [testenv:linting]