Skip to content

Commit

Permalink
chore: support Python 3.13 (#28)
Browse files Browse the repository at this point in the history
* chore: support Python 3.13

* bump other CI files, too

---------

Co-authored-by: Konstantin <konstantin.klein+github@hochfrequenz.de>
  • Loading branch information
hf-kklein and Konstantin authored Nov 15, 2024
1 parent 6c43be2 commit 4e9896c
Showing 8 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.13"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
2 changes: 1 addition & 1 deletion .github/workflows/dev_test.yml
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.11", "3.12"]
python-version: ["3.11", "3.12", "3.13"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
2 changes: 1 addition & 1 deletion .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.13"]
os: [ubuntu-latest]
tool: ["black", "isort"]
steps:
2 changes: 1 addition & 1 deletion .github/workflows/packaging_test.yml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.13"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
2 changes: 1 addition & 1 deletion .github/workflows/pythonlint.yml
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.13"]
os: [ubuntu-latest]
linter-env: ["linting", "type_check", "spell_check"]
steps:
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = ["pydantic>=2"] # add all the dependencies here
dynamic = ["readme", "version"]
@@ -59,7 +60,7 @@ Homepage = "https://github.com/Hochfrequenz/malo-ident-python-models"

[tool.black]
line-length = 120
target_version = ["py311", "py312"]
target_version = ["py39", "py310", "py311", "py312", "py313"]

[tool.isort]
line_length = 120
1 change: 1 addition & 0 deletions src/_maloident_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version = "2024.7.3.4.dev14+g8fb66be"

0 comments on commit 4e9896c

Please sign in to comment.