diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c9e25b7..fcf7fd8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,25 +12,32 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - python-version: ["pypy-3.7", "pypy-3.8", "pypy-3.9", "3.7", "3.8", "3.9", "3.10", "3.11"] - pytest-tox-version: ["pytest5", "pytest6"] + python-version: ["pypy-3.8", "pypy-3.9", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + pytest-tox-version: ["pytest6", "pytest7", "pytest8", "pytest9"] include: # Add new variables to existing jobs - - {python-version: "pypy-3.7", python-tox-version: "pypy37"} - {python-version: "pypy-3.8", python-tox-version: "pypy38"} - {python-version: "pypy-3.9", python-tox-version: "pypy39"} - - {python-version: "3.7", python-tox-version: "py37"} - {python-version: "3.8", python-tox-version: "py38"} - {python-version: "3.9", python-tox-version: "py39"} - {python-version: "3.10", python-tox-version: "py310"} - {python-version: "3.11", python-tox-version: "py311"} + - {python-version: "3.12", python-tox-version: "py312"} + - {python-version: "3.13", python-tox-version: "py313"} + - {python-version: "3.14", python-tox-version: "py314"} exclude: # Remove jobs with incompatible combinations - - {python-version: "3.10", pytest-tox-version: "pytest5"} - - {python-version: "3.11", pytest-tox-version: "pytest5"} + - {python-version: "3.13", pytest-tox-version: "pytest6"} + - {python-version: "3.14", pytest-tox-version: "pytest6"} + - {python-version: "3.13", pytest-tox-version: "pytest7"} + - {python-version: "3.14", pytest-tox-version: "pytest7"} + - {python-version: "3.8", pytest-tox-version: "pytest9"} + - {python-version: "3.9", pytest-tox-version: "pytest9"} + - {python-version: "pypy-3.8", pytest-tox-version: "pytest9"} + - {python-version: "pypy-3.9", pytest-tox-version: "pytest9"} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4.3.0 diff --git a/setup.py b/setup.py index f1739d1..08d3803 100644 --- a/setup.py +++ b/setup.py @@ -14,8 +14,8 @@ zip_safe=False, include_package_data=True, platforms='any', - install_requires=['pytest>=5'], - python_requires='>=3.7', + install_requires=['pytest>=6'], + python_requires='>=3.8', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', @@ -28,11 +28,13 @@ 'Topic :: Utilities', 'Programming Language :: Python :: 3', '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', + 'Programming Language :: Python :: 3.14', 'Programming Language :: Python :: Implementation :: PyPy', ] ) diff --git a/tox.ini b/tox.ini index d50fc9c..40c9126 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,16 @@ [tox] envlist = - py{37,38,39,310,311,py37,py38,py39}-pytest{5,6} + py{38,39,310,311,py37,py38,py39}-pytest{6,7,8,9} [testenv] deps = pexpect - pytest5: pytest>5.0,<6.0 - pytest5: pytest-xdist pytest6: pytest>6.0,<7.0 pytest6: pytest-xdist + pytest7: pytest>7.0,<8.0 + pytest7: pytest-xdist + pytest8: pytest>8.0,<9.0 + pytest8: pytest-xdist + pytest9: pytest>9.0,<10.0 + pytest9: pytest-xdist commands = pytest {posargs}