From 719c2b536a12cfa35bc5db5d98756be5dddc5168 Mon Sep 17 00:00:00 2001 From: Brian Okken <1568356+okken@users.noreply.github.com> Date: Tue, 1 Apr 2025 14:36:19 -0700 Subject: [PATCH 1/3] test against pytest 8 and Python 3.13 --- .github/workflows/test.yml | 18 ++++++++++-------- tox.ini | 7 ++++--- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6d6c952b..bf66b46c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,23 +31,25 @@ jobs: strategy: fail-fast: false matrix: - python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.10"] + python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.10"] os: [ubuntu-latest, windows-latest] include: - python: "3.7" - tox_env: "py37-pytest7" + tox_env: "py37-pytest8" - python: "3.8" - tox_env: "py38-pytest7" + tox_env: "py38-pytest8" - python: "3.9" - tox_env: "py39-pytest7" + tox_env: "py39-pytest8" - python: "3.10" - tox_env: "py310-pytest7" + tox_env: "py310-pytest8" - python: "3.11" - tox_env: "py311-pytest7" + tox_env: "py311-pytest8" - python: "3.12" - tox_env: "py312-pytest7" + tox_env: "py312-pytest8" + - python: "3.13" + tox_env: "py313-pytest8" - python: "pypy3.10" - tox_env: "pypy3-pytest7" + tox_env: "pypy3-pytest8" steps: - uses: actions/checkout@v4 diff --git a/tox.ini b/tox.ini index b207a451..8c11043c 100644 --- a/tox.ini +++ b/tox.ini @@ -2,8 +2,8 @@ minversion = 4.0 isolated_build = true envlist = - py{37,38,39,310,311,312,py3}-pytest7 - py37-pytest{4,5,6} + py{37,38,39,310,311,312,313,314,py3}-pytest8 + py37-pytest{4,5,6,7} flake8 @@ -15,7 +15,8 @@ deps = pytest4: pytest~=4.6 pytest5: pytest~=5.4 pytest6: pytest~=6.2 - pytest7: pytest>=7 + pytest7: pytest~=7.4 + pytest8: pytest>=8 [testenv:flake8] From 274e3e4ccc47373837b34e2ee71949ea4032244b Mon Sep 17 00:00:00 2001 From: Brian Okken <1568356+okken@users.noreply.github.com> Date: Thu, 3 Apr 2025 17:53:34 -0700 Subject: [PATCH 2/3] remove testing for Python 3.7 and 3.8 as they're EOL --- .github/workflows/test.yml | 18 ++++++++---------- tox.ini | 4 ++-- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bf66b46c..77d8f251 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,13 +31,9 @@ jobs: strategy: fail-fast: false matrix: - python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.10"] + python: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.10"] os: [ubuntu-latest, windows-latest] include: - - python: "3.7" - tox_env: "py37-pytest8" - - python: "3.8" - tox_env: "py38-pytest8" - python: "3.9" tox_env: "py39-pytest8" - python: "3.10" @@ -84,14 +80,16 @@ jobs: strategy: fail-fast: false matrix: - pytest: ["4", "5", "6"] + pytest: ["4", "5", "6", "7"] include: - pytest: "4" - tox_env: "py37-pytest4" + tox_env: "py39-pytest4" - pytest: "5" - tox_env: "py37-pytest5" + tox_env: "py39-pytest5" - pytest: "6" - tox_env: "py37-pytest6" + tox_env: "py39-pytest6" + - pytest: "7" + tox_env: "py39-pytest7" steps: - uses: actions/checkout@v4 @@ -105,7 +103,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.7" + python-version: "3.9" - name: Install tox run: | diff --git a/tox.ini b/tox.ini index 8c11043c..a1dc2095 100644 --- a/tox.ini +++ b/tox.ini @@ -2,8 +2,8 @@ minversion = 4.0 isolated_build = true envlist = - py{37,38,39,310,311,312,313,314,py3}-pytest8 - py37-pytest{4,5,6,7} + py{39,310,311,312,313,314,py3}-pytest8 + py39-pytest{4,5,6,7} flake8 From 8d7c200cb6ba014662ecb94572116b78f5f755f2 Mon Sep 17 00:00:00 2001 From: Brian Okken <1568356+okken@users.noreply.github.com> Date: Thu, 3 Apr 2025 17:55:06 -0700 Subject: [PATCH 3/3] remove Python 3.7 and 3.8 as they're EOL --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3826f3be..9c8fe599 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ description = "pytest plugin for repeating tests" readme = "README.rst" license = {file = "LICENSE"} authors = [{name = "Bob Silverberg"}] -requires-python = ">=3.7" +requires-python = ">=3.9" classifiers = [ "Development Status :: 5 - Production/Stable", "Framework :: Pytest", @@ -15,12 +15,11 @@ classifiers = [ "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", "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", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing", "Topic :: Utilities",