Skip to content

Commit

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

Co-authored-by: Konstantin <[email protected]>
  • Loading branch information
hf-kklein and Konstantin authored Jan 11, 2025
1 parent 161f56e commit 2b1c56f
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 26 deletions.
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.12"]
python-version: ["3.13"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/formatting.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.12"]
python-version: ["3.13"]
os: [ubuntu-latest]
tool: ["black", "isort"]
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packaging.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.12"]
python-version: ["3.13"]
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 @@ -17,7 +17,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.13"]
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.12"]
python-version: ["3.13"]
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.11", "3.12"]
python-version: ["3.11", "3.12", "3.13"]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
Expand Down
12 changes: 7 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"rebdhuhn>=0.5.0",
"python-docx",
"more_itertools",
"attrs",
"click"
"rebdhuhn>=0.8.0",
"python-docx>=1.1.2",
"more_itertools>=10.5.0",
"attrs>=24.3.0",
"click>=8.1.8"
# add all the dependencies from requirements.in here, too
]
dynamic = ["readme", "version"]
Expand Down Expand Up @@ -60,6 +61,7 @@ Homepage = "https://github.com/Hochfrequenz/ebdamame"

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

[tool.isort]
line_length = 120
Expand Down
32 changes: 17 additions & 15 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,43 @@
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile requirements.in
# pip-compile pyproject.toml
#
attrs==24.3.0
# via
# -r requirements.in
# cattrs
# ebdamame (pyproject.toml)
# rebdhuhn
cattrs==23.2.3
cattrs==24.1.2
# via rebdhuhn
certifi==2024.7.4
certifi==2024.12.14
# via requests
charset-normalizer==3.3.2
charset-normalizer==3.4.1
# via requests
click==8.1.8
# via -r requirements.in
idna==3.7
# via ebdamame (pyproject.toml)
colorama==0.4.6
# via click
idna==3.10
# via requests
lxml==5.2.1
lxml==5.3.0
# via
# python-docx
# rebdhuhn
# svgutils
more-itertools==10.5.0
# via -r requirements.in
networkx==3.3
# via ebdamame (pyproject.toml)
networkx==3.4.2
# via rebdhuhn
python-docx==1.1.2
# via -r requirements.in
# via ebdamame (pyproject.toml)
rebdhuhn==0.8.0
# via -r requirements.in
requests==2.32.0
# via ebdamame (pyproject.toml)
requests==2.32.3
# via rebdhuhn
svgutils==0.3.4
# via rebdhuhn
typing-extensions==4.11.0
typing-extensions==4.12.2
# via python-docx
urllib3==2.2.2
urllib3==2.3.0
# via requests

0 comments on commit 2b1c56f

Please sign in to comment.