Skip to content

Commit

Permalink
Update versions
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
icemac committed Nov 5, 2024
1 parent 17e7b23 commit 9b7a4d0
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ jobs:
fail-fast: false
matrix:
python-version: [
"3.8",
"3.9",
"3.10",
"3.11",
"3.12",
"3.13",
"pypy-3.10",
]
pytest-version: [
"7.2.*",
"7.3.*",
"7.4.*",
"8.0.*",
"8.1.*",
"8.2.*",
"8.3.*",
"main",
]
steps:
Expand Down
13 changes: 12 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
Changelog
=========

14.1 (unreleased)
15.0 (unreleased)
-----------------

Breaking changes
++++++++++++++++

- Drop support for Python 3.8.

- Drop support for pytest < 7.4.

Features
++++++++

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

- Add support for pytest 8.2, 8.3.

14.0 (2024-03-13)
-----------------
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Requirements

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

- Python 3.8+ or PyPy3
- pytest 7.2 or newer
- Python 3.9+ or PyPy3
- pytest 7.4 or newer

This plugin can recover from a hard crash with the following optional
prerequisites:
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ignore = [".pre-commit-config.yaml"]

[project]
name = "pytest-rerunfailures"
version = "14.1.dev0"
version = "15.0.dev0"
description = "pytest plugin to re-run tests to eliminate flaky failures"
dynamic = [
"readme",
Expand Down Expand Up @@ -38,6 +38,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Quality Assurance",
Expand All @@ -46,7 +47,7 @@ classifiers = [
]
dependencies = [
"packaging>=17.1",
"pytest>=7.2",
"pytest>=7.4",
]
urls = {Homepage = "https://github.com/pytest-dev/pytest-rerunfailures"}

Expand Down
6 changes: 3 additions & 3 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{72,73,74,80,81,main}
py{39,310,311,312,313,py3}-pytest{74,80,81,82,83,main}
minversion = 4.0

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

[testenv:linting]
Expand Down

0 comments on commit 9b7a4d0

Please sign in to comment.