Skip to content

Commit c53f1f1

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

File tree

8 files changed

+20
-36
lines changed

8 files changed

+20
-36
lines changed

.github/workflows/black.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,16 @@ name: "Black"
33
on: [pull_request]
44
jobs:
55
black:
6-
runs-on: ${{ matrix.os }}
6+
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
python-version: ["3.13"]
10-
os: [ubuntu-latest]
119
formatter: ["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/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, pull_request]
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/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
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/python-publish.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,12 @@ 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]
2217
steps:
2318
- uses: actions/checkout@v5
24-
- name: Set up Python ${{ matrix.python-version }}
19+
- name: Set up Python
2520
uses: actions/setup-python@v6
2621
with:
27-
python-version: ${{ matrix.python-version }}
22+
python-version: "3.14"
2823
- name: Install tox
2924
run: |
3025
python -m pip install --upgrade pip
@@ -48,7 +43,7 @@ jobs:
4843
- name: Set up Python
4944
uses: actions/setup-python@v6
5045
with:
51-
python-version: ${{ matrix.python-version }}
46+
python-version: "3.14"
5247
- name: Install dependencies
5348
run: |
5449
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, pull_request]
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", "spell_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.10", "3.11", "3.12", "3.13"]
9+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1010
os: [ubuntu-latest]
1111
steps:
1212
- uses: actions/checkout@v5

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ requires-python = ">=3.10"
1818
authors = [
1919
{ name = "Hochfrequenz Unternehmensberatung GmbH", email = "[email protected]" },
2020
]
21-
keywords = ["automation", "ahb", "bdew", "edi@energy"]
21+
keywords = ["automation", "ahb", "bdew", "edi@energy", "bdew-mako.de"]
2222
classifiers = [
23-
"Development Status :: 4 - Beta",
23+
"Development Status :: 5 - Production/Stable",
2424
"Environment :: Console",
2525
"Intended Audience :: Developers",
2626
"License :: OSI Approved :: MIT License",
@@ -31,6 +31,7 @@ classifiers = [
3131
"Programming Language :: Python :: 3.11",
3232
"Programming Language :: Python :: 3.12",
3333
"Programming Language :: Python :: 3.13",
34+
"Programming Language :: Python :: 3.14",
3435
]
3536
dependencies = [
3637
"aiohttp>=3.8.4",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ setenv = PYTHONPATH = {toxinidir}/src
6161
commands =
6262
coverage run -m pytest --basetemp={envtmpdir} {posargs}
6363
coverage html --omit .tox/*,unittests/*
64-
coverage report --fail-under 84 --omit .tox/*,unittests/*
64+
coverage report --fail-under 82 --omit .tox/*,unittests/*
6565

6666

6767
[testenv:dev]

0 commit comments

Comments
 (0)