From 2a84e906b567eb7e3320602da4a7d26d175ed038 Mon Sep 17 00:00:00 2001 From: Renan Ivo Date: Sun, 29 Dec 2024 22:08:58 -0300 Subject: [PATCH] Update support to Python 3.10+ and Pytest 6+ --- .github/workflows/ci.yml | 25 +++++++++---------------- setup.py | 10 +++++----- 2 files changed, 14 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72c582d..7ce6e3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,25 +12,18 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "pypy-3.9"] + python-version: + - "3.10" + - "3.11" + - "3.12" + - "3.13" + - "pypy-3.10" os: [ubuntu-latest, macos-latest] pytest: - [ - "pytest>=4.6.0,<5.0.0", - "pytest>=5.0.0,<6.0.0", - "pytest>=6.0.0,<7.0.0", - "pytest>=7.0.0,<8.0.0", - "pytest>=8.0.0,<9.0.0", - ] + - "pytest>=6.0.0,<7.0.0" + - "pytest>=7.0.0,<8.0.0" + - "pytest>=8.0.0,<9.0.0" exclude: - - python-version: "3.10" - pytest: "pytest>=4.6.0,<5.0.0" - - python-version: "3.10" - pytest: "pytest>=5.0.0,<6.0.0" - - python-version: "3.11" - pytest: "pytest>=4.6.0,<5.0.0" - - python-version: "3.11" - pytest: "pytest>=5.0.0,<6.0.0" - python-version: "pypy-3.9" os: macos-latest diff --git a/setup.py b/setup.py index fb7d012..52344a0 100644 --- a/setup.py +++ b/setup.py @@ -21,10 +21,10 @@ def read(fname): url='https://github.com/renanivo/pytest-testdox', keywords='pytest testdox test report bdd', install_requires=[ - 'pytest>=4.6.0', + 'pytest>=6.0.0', ], packages=['pytest_testdox'], - python_requires=">=3.7", + python_requires=">=3.10", classifiers=[ 'Development Status :: 5 - Production/Stable', 'Framework :: Pytest', @@ -33,10 +33,10 @@ def read(fname): 'Operating System :: OS Independent', 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - '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', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Programming Language :: Python',