Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update versions #279

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
10 changes: 9 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,15 +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.

- Add ``--fail-on-flaky`` option to fail the test run with custom exit code
when test passed on rerun.
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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"pytest>=7.4",
"pytest>=7.4,!=8.2.2",

as per #267 (comment)

]
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
Loading