Skip to content
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
18 changes: 6 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "pypy3.10"]
python: ["3.10", "3.11", "3.12", "3.13", "3.14", "pypy3.10"]
os: [ubuntu-latest, windows-latest]
include:
- python: "3.9"
tox_env: "py39-pytest8"
- python: "3.10"
tox_env: "py310-pytest8"
- python: "3.11"
Expand All @@ -61,7 +59,7 @@ jobs:
path: dist

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
Expand All @@ -85,14 +83,10 @@ jobs:
strategy:
fail-fast: false
matrix:
pytest: ["5", "6", "7"]
pytest: ["7"]
include:
- pytest: "5"
tox_env: "py39-pytest5"
- pytest: "6"
tox_env: "py39-pytest6"
- pytest: "7"
tox_env: "py39-pytest7"
tox_env: "py310-pytest7"

steps:
- uses: actions/checkout@v4
Expand All @@ -104,9 +98,9 @@ jobs:
path: dist

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.9"
python-version: "3.10"

- name: Install tox
run: |
Expand Down
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Release Notes
-------------

**Unreleased (2026-ХХХ-ХХ)**

* Removals
* Remove support for Python 3.9, as they are EOL

**0.9.4 (2025-Apr-5)**

* Additions
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Requirements

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

- Python 3.9+ or PyPy3
- pytest 5 or newer
- Python 3.10+ or PyPy3
- pytest 7 or newer

Installation
------------
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "pytest plugin for repeating tests"
readme = "README.rst"
license = {file = "LICENSE"}
authors = [{name = "Bob Silverberg"}]
requires-python = ">=3.9"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Pytest",
Expand All @@ -15,11 +15,11 @@ classifiers = [
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
Expand Down
2 changes: 1 addition & 1 deletion pytest_repeat.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class UnexpectedError(Exception):
@pytest.fixture()
def __pytest_repeat_step_number(request):
marker = request.node.get_closest_marker("repeat")
count = marker and marker.args[0] or request.config.option.count
count = (marker and marker.args[0]) or request.config.option.count
if count > 1:
try:
return request.param
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ minversion = 4.0
isolated_build = true
envlist =
py{310,311,312,313,314,py3}-pytest8
py39-pytest{5,6,7,8}
py310-pytest{7}
flake8


Expand All @@ -12,8 +12,6 @@ commands = pytest {posargs}
package = wheel
wheel_build_env = .pkg
deps =
pytest5: pytest~=5.4
pytest6: pytest~=6.2
pytest7: pytest>=7
pytest8: pytest>=8

Expand Down