Skip to content

Commit d46b6ab

Browse files
committed
Drop support for EOL Python 3.7-3.8
1 parent 58ee826 commit d46b6ab

5 files changed

Lines changed: 10 additions & 16 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,9 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "pypy3.10"]
34+
python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "pypy3.10"]
3535
os: [ubuntu-latest, windows-latest]
3636
include:
37-
- python: "3.7"
38-
tox_env: "py37-pytest7"
39-
- python: "3.8"
40-
tox_env: "py38-pytest7"
4137
- python: "3.9"
4238
tox_env: "py39-pytest7"
4339
- python: "3.10"
@@ -90,11 +86,11 @@ jobs:
9086
pytest: ["4", "5", "6"]
9187
include:
9288
- pytest: "4"
93-
tox_env: "py37-pytest4"
89+
tox_env: "py39-pytest4"
9490
- pytest: "5"
95-
tox_env: "py37-pytest5"
91+
tox_env: "py39-pytest5"
9692
- pytest: "6"
97-
tox_env: "py37-pytest6"
93+
tox_env: "py39-pytest6"
9894

9995
steps:
10096
- uses: actions/checkout@v4
@@ -108,7 +104,7 @@ jobs:
108104
- name: Set up Python
109105
uses: actions/setup-python@v5
110106
with:
111-
python-version: "3.7"
107+
python-version: "3.9"
112108

113109
- name: Install tox
114110
run: |

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Requirements
3030

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

33-
- Python 3.7+ or PyPy3
33+
- Python 3.9+ or PyPy3
3434
- pytest 4 or newer
3535

3636
Installation

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "pytest plugin for repeating tests"
44
readme = "README.rst"
55
license = {file = "LICENSE"}
66
authors = [{name = "Bob Silverberg"}]
7-
requires-python = ">=3.7"
7+
requires-python = ">=3.9"
88
classifiers = [
99
"Development Status :: 5 - Production/Stable",
1010
"Framework :: Pytest",
@@ -15,8 +15,6 @@ classifiers = [
1515
"Operating System :: POSIX",
1616
"Programming Language :: Python",
1717
"Programming Language :: Python :: 3 :: Only",
18-
"Programming Language :: Python :: 3.7",
19-
"Programming Language :: Python :: 3.8",
2018
"Programming Language :: Python :: 3.9",
2119
"Programming Language :: Python :: 3.10",
2220
"Programming Language :: Python :: 3.11",

pytest_repeat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def pytest_generate_tests(metafunc):
6161
metafunc.fixturenames.append("__pytest_repeat_step_number")
6262

6363
def make_progress_id(i, n=count):
64-
return '{0}-{1}'.format(i + 1, n)
64+
return f'{i + 1}-{n}'
6565

6666
scope = metafunc.config.option.repeat_scope
6767
metafunc.parametrize(

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
minversion = 4.0
33
isolated_build = true
44
envlist =
5-
py{37,38,39,310,311,312,313,314,py3}-pytest7
6-
py37-pytest{4,5,6}
5+
py{310,311,312,313,314,py3}-pytest7
6+
py39-pytest{4,5,6}
77
flake8
88

99

0 commit comments

Comments
 (0)