Skip to content

Commit

Permalink
Support Python 3.12 (#355)
Browse files Browse the repository at this point in the history
* Support Python 3.12

* Mark Python 3.12 as supported (#356)

Update setup.cfg

* 3.12 everywhere

* dill

* Update requirements-type_check.txt

* Update .github/workflows/json_schemas.yml

link for #358
  • Loading branch information
hf-kklein committed Oct 3, 2023
1 parent 27a9665 commit 4cdd336
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
os: [ubuntu-latest]
tool: ["black", "isort"]
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.11"] # https://github.com/Hochfrequenz/ahbicht/issues/357
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/json_schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11"] # https://github.com/Hochfrequenz/ahbicht/issues/358
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packaging_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.9, "3.10", "3.11"]
python-version: [3.9, "3.10", "3.11", "3.12"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pythonlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
os: [ubuntu-latest]
linter-env: ["linting", "type_check"]
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.9, "3.10", "3.11"]
python-version: [3.9, "3.10", "3.11", "3.12"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ version: 2
build:
os: ubuntu-20.04
tools:
python: "3.10"
python: "3.11"
# https://github.com/Hochfrequenz/ahbicht/issues/357
# You can also specify other tool versions:
# nodejs: "16"
# rust: "1.55"
Expand Down
2 changes: 1 addition & 1 deletion dev_requirements/requirements-linting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
astroid==3.0.0
# via pylint
dill==0.3.6
dill==0.3.7
# via pylint
isort==5.12.0
# via pylint
Expand Down
2 changes: 1 addition & 1 deletion dev_requirements/requirements-type_check.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ mypy-extensions==1.0.0
# via mypy
types-pytz==2023.3.1.1
# via -r dev_requirements/requirements-type_check.in
typing-extensions==4.5.0
typing-extensions==4.7.1
# via mypy
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ classifiers =
Intended Audience :: Developers
Programming Language :: Python
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Operating System :: OS Independent
license = mit
platforms = any
Expand Down

0 comments on commit 4cdd336

Please sign in to comment.