From ab83788e3a2bb549f0cb9cafdbc7a28095d27d17 Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Tue, 5 Mar 2024 09:25:49 +0100 Subject: [PATCH] Add support for pytest 8.1 + remove support for 7.1. --- .github/workflows/test.yml | 2 +- CHANGES.rst | 4 ++++ README.rst | 2 +- pyproject.toml | 2 +- tox.ini | 4 ++-- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cf41170..acd82c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,11 +28,11 @@ jobs: "pypy-3.10", ] pytest-version: [ - "7.1.*", "7.2.*", "7.3.*", "7.4.*", "8.0.*", + "8.1.*", "main", ] steps: diff --git a/CHANGES.rst b/CHANGES.rst index 8a8b4a6..b7d794e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -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) ----------------- diff --git a/README.rst b/README.rst index f7ffe28..d5aa333 100644 --- a/README.rst +++ b/README.rst @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 4f51198..efe40e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ classifiers = [ ] dependencies = [ "packaging>=17.1", - "pytest>=7.1", + "pytest>=7.2", ] urls = {Homepage = "https://github.com/pytest-dev/pytest-rerunfailures"} diff --git a/tox.ini b/tox.ini index 65128be..1d89b15 100644 --- a/tox.ini +++ b/tox.ini @@ -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]