Skip to content

Commit 3c5f6f9

Browse files
committed
Remove Python 3.9, add Python 3.14 to CI
1 parent 66dd806 commit 3c5f6f9

9 files changed

Lines changed: 19 additions & 24 deletions

File tree

.github/workflows/performance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os: [ubuntu-latest]
17-
python-version: [3.9, 3.13]
17+
python-version: ["3.10", "3.14"]
1818
env:
1919
OS: ${{ matrix.os }}
2020
steps:

.github/workflows/pythontests.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os: [ubuntu-latest, windows-latest]
17-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
17+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1818
include:
19-
- python-version: "pypy-3.9"
20-
os: ubuntu-latest
2119
- python-version: "pypy-3.10"
2220
os: ubuntu-latest
2321
- python-version: "pypy-3.11"
@@ -47,10 +45,10 @@ jobs:
4745
- name: Run tests
4846
run: |
4947
TOX_PYTHON_VERSION=$(if [[ ${{ matrix.python-version }} == pypy* ]]; then echo ${{ matrix.python-version }} | tr -d .-; else echo py${{ matrix.python-version }} | tr -d .-; fi)
50-
COV_CMD=$(if [ ${{ matrix.python-version }} == 3.12 ]; then echo "--cov=./pytest_order/ --cov-report=xml"; else echo ; fi) tox -e $(tox -l | grep "$TOX_PYTHON_VERSION" | paste -sd "," -)
48+
COV_CMD=$(if [ ${{ matrix.python-version }} == 3.13 ]; then echo "--cov=./pytest_order/ --cov-report=xml"; else echo ; fi) tox -e $(tox -l | grep "$TOX_PYTHON_VERSION" | paste -sd "," -)
5149
- name: Upload coverage to Codecov
5250
uses: codecov/codecov-action@v6
53-
if: ${{ success() && matrix.python-version == 3.12 }}
51+
if: ${{ success() && matrix.python-version == 3.13 }}
5452
with:
5553
env_vars: OS
5654
name: codecov-pytest-order

.github/workflows/release-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: true
1616
matrix:
17-
python-version: [ '3.10' ]
17+
python-version: [ '3.13' ]
1818

1919
steps:
2020
- uses: actions/checkout@v6

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Unreleased
44

55
### Changes
6-
* removed official support for Python 3.7 and 3.8 (EOL), added Python 3.13
6+
* removed official support for Python 3.7-3.9 (EOL), added Python 3.13 and 3.14
77

88
### Infrastructure
99
* use trusted publisher for release (see https://docs.pypi.org/trusted-publishers/)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ relationship to other tests.
1212
[pytest-ordering](https://github.com/ftobia/pytest-ordering) that provides
1313
additional features like ordering relative to other tests.
1414

15-
`pytest-order` works with Python 3.9 - 3.13, with pytest
16-
versions >= 5.0.0 for Python 3.9, and for pytest >= 6.2.4 for Python >= 3.10.
15+
`pytest-order` works with all supported Python versions, with pytest versions >= 6.2.4
16+
for Python < 3.14, and pytest >= 7.4 for Python 3.14.
1717
`pytest-order` runs on Linux, macOS and Windows.
1818

1919
Documentation

docs/source/intro.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ ordering, all configuration options) that are not available in
3838

3939
Supported Python and pytest versions
4040
------------------------------------
41-
``pytest-order`` supports python 3.9 - 3.13 and pypy3, and is
42-
compatible with pytest 5.0.0 or newer (older versions may also work, but are
43-
not tested) for Python 3.9, and with pytest >= 6.2.4 for Python versions >= 3.10.
41+
``pytest-order`` supports python 3.10 - 3.14 and pypy3, and is
42+
compatible with pytest 6.2.4 or newer (pytest >= 7.4 for Python 3.14).
4443

4544
All supported combinations of Python and pytest versions are tested in
4645
the CI builds. The plugin shall work under Linux, MacOs and Windows.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ license-files = ["LICENSE"]
1818
requires-python = ">=3.9"
1919
dynamic = ["version"]
2020
dependencies = [
21-
"pytest>=5.0; python_version < '3.10'",
22-
"pytest>=6.2.4; python_version >= '3.10'",
21+
"pytest>=6.2.4; python_version < '3.14'",
22+
"pytest>=7.4; python_version >= '3.14'",
2323
]
2424
authors = [
2525
{name = "mrbean-bremen", email = "hansemrbean@googlemail.com"}
@@ -29,11 +29,11 @@ classifiers = [
2929
"Development Status :: 5 - Production/Stable",
3030
"Environment :: Console",
3131
"Programming Language :: Python",
32-
"Programming Language :: Python :: 3.9",
3332
"Programming Language :: Python :: 3.10",
3433
"Programming Language :: Python :: 3.11",
3534
"Programming Language :: Python :: 3.12",
3635
"Programming Language :: Python :: 3.13",
36+
"Programming Language :: Python :: 3.14",
3737
"Operating System :: POSIX :: Linux",
3838
"Operating System :: MacOS",
3939
"Operating System :: Microsoft :: Windows",

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
pytest>=5.0
1+
pytest>=6.2.4; python_version < "3.14"
2+
pytest>=7.4; python_version >= "3.14"

tox.ini

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
[tox]
22
envlist =
3-
{py39,pypy39}-pytest{50,54,60,62,624,70,74,80,83}
4-
{py310,py311,py312,py313,pypy310,pypy311}-pytest{624,70,74,80,83}
3+
{py310,py311,py312,py313,pypy310,pypy311}-pytest{624,70,74,80,83,90}
4+
py314-pytest{74,80,83,90}
55
[testenv]
66
deps =
7-
pytest50: pytest>=5.0,<5.1
8-
pytest54: pytest>=5.4,<6.0
9-
pytest60: pytest>=6.0,<6.1
10-
pytest62: pytest>=6.2,<6.3
117
pytest624: pytest>=6.2.4,<6.3
128
pytest70: pytest>=7.0,<7.1
139
pytest74: pytest>=7.3,<8.0
1410
pytest80: pytest==8.0.1
1511
pytest83: pytest>=8.3,<9.0
12+
pytest90: pytest>=9.0,<10.0
1613
pytest-cov<2.10
1714
pytest{50,54}: pytest-xdist<2.0.0
18-
pytest{60,62,624,70,74,80,83}: pytest-xdist
15+
pytest{60,62,624,70,74,80,83,90}: pytest-xdist
1916
pytest-dependency>=0.5.1
2017
pytest-mock
2118

0 commit comments

Comments
 (0)