Skip to content

Commit c8c944b

Browse files
committed
Drop 3.9 support + add 3.14 CI
- Update pyproject.toml etc. - Add to CI runs - Drop 3.9 as flake8 itself did Test: - Run tox in 3.14 - `python3 -m venv /tmp/tf --upgrade-deps` - `/tmp/tf/bin/pip install tox` - `/tmp/tf/bin/tox -e py314`
1 parent 3969961 commit c8c944b

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
12-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
12+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1313

1414
os: [ubuntu-latest]
1515

.github/workflows/flake8_py_version_check.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v5
12-
- name: Set up Python 3.12
12+
- name: Set up Python3
1313
uses: actions/setup-python@v6
1414
with:
15-
python-version: 3.12
1615
allow-prereleases: true
1716
- name: run script
1817
run: python scripts/flake8_py_version_check.py

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ You can also use [tox](https://tox.wiki/en/latest/index.html) to test with multi
8080
```console
8181
/path/to/venv/bin/tox
8282
```
83-
will by default run all tests on python versions 3.9 through 3.13. If you only want to test a specific version you can specify the environment with `-e`
83+
will by default run all tests on python versions 3.10 through 3.13. If you only want to test a specific version you can specify the environment with `-e`
8484

8585
```console
8686
/path/to/venv/bin/tox -e py313

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ classifiers = [
2626
"Operating System :: OS Independent",
2727
"Programming Language :: Python",
2828
"Programming Language :: Python :: 3",
29-
"Programming Language :: Python :: 3.9",
3029
"Programming Language :: Python :: 3.10",
3130
"Programming Language :: Python :: 3.11",
3231
"Programming Language :: Python :: 3.12",
3332
"Programming Language :: Python :: 3.13",
33+
"Programming Language :: Python :: 3.14",
3434
"Programming Language :: Python :: 3 :: Only",
3535
"Topic :: Software Development :: Libraries :: Python Modules",
3636
"Topic :: Software Development :: Quality Assurance",
3737
]
38-
requires-python = ">=3.9"
38+
requires-python = ">=3.10"
3939
dependencies = ["flake8>=7.2.0", "attrs>=22.2.0"]
4040
dynamic = ["version"]
4141

tox.ini

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ envlist = py39, py310, py311, py312, py313, pep8_naming, mypy
55

66
[gh-actions]
77
python =
8-
3.9: py39
98
3.10: py310
109
3.11: py311,pep8_naming
1110
3.12: py312
1211
3.13: py313,mypy
13-
# blocked by https://github.com/ijl/orjson/issues/569
14-
# 3.14: py314
12+
3.14: py314
1513

1614
[testenv]
1715
description = Run coverage
@@ -35,7 +33,7 @@ commands =
3533
coverage run -m pytest tests/test_bugbear.py -k b902 {posargs}
3634
coverage report -m
3735

38-
[testenv:{py39-,py310-,py311-,py312-,py313-}mypy]
36+
[testenv:{py310-,py311-,py312-,py313-,py314-}mypy]
3937
deps =
4038
mypy
4139
commands =

0 commit comments

Comments
 (0)