Skip to content

Commit 8642703

Browse files
hf-kkleinKonstantin
andauthored
chore: officially support Python 3.14; run simplified CI on 3.14 (#437)
Co-authored-by: Konstantin <[email protected]>
1 parent 37d7588 commit 8642703

File tree

7 files changed

+21
-40
lines changed

7 files changed

+21
-40
lines changed

.github/workflows/coverage.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,13 @@ name: "Coverage"
33
on: [push]
44
jobs:
55
coverage:
6-
runs-on: ${{ matrix.os }}
7-
strategy:
8-
matrix:
9-
python-version: ["3.13"]
10-
os: [ubuntu-latest]
6+
runs-on: ubuntu-latest
117
steps:
128
- uses: actions/checkout@v5
13-
- name: Set up Python ${{ matrix.python-version }}
9+
- name: Set up Python
1410
uses: actions/setup-python@v6
1511
with:
16-
python-version: ${{ matrix.python-version }}
12+
python-version: 3.14
1713
- name: Install dependencies
1814
run: |
1915
python -m pip install --upgrade pip

.github/workflows/formatting.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,16 @@ name: "Formatting"
33
on: [push]
44
jobs:
55
check:
6-
runs-on: ${{ matrix.os }}
6+
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
python-version: ["3.13"]
10-
os: [ubuntu-latest]
119
tool: ["black", "isort"]
1210
steps:
1311
- uses: actions/checkout@v5
14-
- name: Set up Python ${{ matrix.python-version }}
12+
- name: Set up Python
1513
uses: actions/setup-python@v6
1614
with:
17-
python-version: ${{ matrix.python-version }}
15+
python-version: 3.14
1816
- name: Install dependencies
1917
run: |
2018
python -m pip install --upgrade pip

.github/workflows/packaging_test.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,13 @@ name: "Packaging Test"
33
on: [ pull_request ]
44
jobs:
55
packaging_test:
6-
runs-on: ${{ matrix.os }}
7-
strategy:
8-
matrix:
9-
python-version: [ "3.11", "3.12", "3.13" ]
10-
os: [ ubuntu-latest ]
6+
runs-on: ubuntu-latest
117
steps:
128
- uses: actions/checkout@v5
13-
- name: Set up Python ${{ matrix.python-version }}
9+
- name: Set up Python
1410
uses: actions/setup-python@v6
1511
with:
16-
python-version: ${{ matrix.python-version }}
12+
python-version: "3.14"
1713
- name: Install dependencies
1814
run: |
1915
python -m pip install --upgrade pip

.github/workflows/python-publish.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,13 @@ on:
1414
jobs:
1515
tests:
1616
if: startsWith(github.ref, 'refs/tags/v')
17-
runs-on: ${{ matrix.os }}
18-
strategy:
19-
matrix:
20-
python-version: ["3.13"]
21-
os: [ubuntu-latest]
17+
runs-on: ubuntu-latest
2218
steps:
2319
- uses: actions/checkout@v5
24-
- name: Set up Python ${{ matrix.python-version }}
20+
- name: Set up Python
2521
uses: actions/setup-python@v6
2622
with:
27-
python-version: ${{ matrix.python-version }}
23+
python-version: 3.14
2824
- name: Install tox
2925
run: |
3026
python -m pip install --upgrade pip
@@ -39,11 +35,7 @@ jobs:
3935
4036
build-n-publish:
4137
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
42-
runs-on: ${{ matrix.os }}
43-
strategy:
44-
matrix:
45-
python-version: [ "3.13" ]
46-
os: [ ubuntu-latest ]
38+
runs-on: ubuntu-latest
4739
# Specifying a GitHub environment, # Specifying a GitHub environment, which is strongly recommended by PyPI: https://docs.pypi.org/trusted-publishers/adding-a-publisher/
4840
# you have to create an environment in your repository settings and add the environment name here
4941
environment: release
@@ -56,7 +48,7 @@ jobs:
5648
- name: Set up Python
5749
uses: actions/setup-python@v6
5850
with:
59-
python-version: ${{ matrix.python-version }}
51+
python-version: 3.14
6052
- name: Install dependencies
6153
run: |
6254
python -m pip install --upgrade pip

.github/workflows/pythonlint.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,16 @@ on: [push]
44
jobs:
55
pylint:
66
name: Python Code Quality and Lint
7-
runs-on: ${{ matrix.os }}
7+
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ["3.13"]
11-
os: [ubuntu-latest]
1210
linter-env: ["linting", "type_check"]
1311
steps:
1412
- uses: actions/checkout@v5
15-
- name: Set up Python ${{ matrix.python-version }}
13+
- name: Set up Python
1614
uses: actions/setup-python@v6
1715
with:
18-
python-version: ${{ matrix.python-version }}
16+
python-version: 3.14
1917
- name: Install Dependencies
2018
run: |
2119
python -m pip install --upgrade pip

.github/workflows/unittests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ${{ matrix.os }}
77
strategy:
88
matrix:
9-
python-version: ["3.11", "3.12", "3.13"]
9+
python-version: ["3.11", "3.12", "3.13", "3.14"]
1010
os: [ubuntu-latest] # we dropped windows-latest because the kroki container somehow wasn't available for windows10/amd64
1111
steps:
1212
- uses: actions/checkout@v5

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ classifiers = [
1717
"Programming Language :: Python :: 3.11",
1818
"Programming Language :: Python :: 3.12",
1919
"Programming Language :: Python :: 3.13",
20+
"Programming Language :: Python :: 3.14",
2021
]
2122
# Build system information and other project-specific configuration below.
2223
dependencies = [
@@ -35,7 +36,7 @@ coverage = [
3536
"coverage==7.10.7"
3637
]
3738
formatting = [
38-
"black==25.1.0",
39+
"black==25.9.0",
3940
"isort==6.1.0"
4041
]
4142
linting = [
@@ -66,7 +67,7 @@ Issue-Tracker = "https://github.com/Hochfrequenz/rebdhuhn/issues"
6667

6768
[tool.black]
6869
line-length = 120
69-
target_version = ["py311", "py312", "py313"]
70+
target_version = ["py311", "py312", "py313", "py314"]
7071

7172
[tool.isort]
7273
line_length = 120

0 commit comments

Comments
 (0)