Skip to content

Commit c3b0f3d

Browse files
authored
Add support for python 3.13 (#13)
1 parent 85c7339 commit c3b0f3d

File tree

9 files changed

+17
-16
lines changed

9 files changed

+17
-16
lines changed

.github/workflows/python-code-style.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v4
20-
- name: Set up Python 3.12
20+
- name: Set up Python 3.13
2121
uses: actions/setup-python@v5
2222
with:
23-
python-version: "3.12"
23+
python-version: "3.13"
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip

.github/workflows/python-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v4
20-
- name: Set up Python 3.12
20+
- name: Set up Python 3.13
2121
uses: actions/setup-python@v5
2222
with:
23-
python-version: "3.12"
23+
python-version: "3.13"
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip

.github/workflows/python-quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v4
20-
- name: Set up Python 3.12
20+
- name: Set up Python 3.13
2121
uses: actions/setup-python@v5
2222
with:
23-
python-version: "3.12"
23+
python-version: "3.13"
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip

.github/workflows/python-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
version: ["3.9", "3.10", "3.11", "3.12"]
22+
version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2323
os: [ubuntu-latest]
2424
runs-on: ${{ matrix.os }}
2525
steps:

.github/workflows/python-typing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v4
20-
- name: Set up Python 3.12
20+
- name: Set up Python 3.13
2121
uses: actions/setup-python@v5
2222
with:
23-
python-version: "3.12"
23+
python-version: "3.13"
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
- name: Checkout repository
1818
uses: actions/checkout@v4
1919

20-
- name: Set up Python 3.12
20+
- name: Set up Python 3.13
2121
uses: actions/setup-python@v5
2222
with:
23-
python-version: "3.12"
23+
python-version: "3.13"
2424

2525
- name: Install dependencies
2626
run: |

.github/workflows/reusable-github-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ jobs:
3939
- name: Checkout
4040
uses: actions/checkout@v4
4141

42-
- name: Set up Python 3.12
42+
- name: Set up Python 3.13
4343
uses: actions/setup-python@v5
4444
with:
45-
python-version: "3.12"
45+
python-version: "3.13"
4646

4747
# Here we want to install the current package in editable mode,
4848
# in case mkdocs needs the package (i.e. we are building a mkdocs plugin).

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers = [
2424
"Programming Language :: Python :: 3.10",
2525
"Programming Language :: Python :: 3.11",
2626
"Programming Language :: Python :: 3.12",
27+
"Programming Language :: Python :: 3.13",
2728
"Typing :: Typed"
2829
]
2930

@@ -40,7 +41,7 @@ build-backend = "poetry_dynamic_versioning.backend"
4041

4142
[tool.poetry.dependencies]
4243
cloudevents = "^1.11.0"
43-
python = ">=3.9,<3.13"
44+
python = ">=3.9,<3.14"
4445
pydantic = "^2.9.1"
4546
python-ulid = "^3.0.0"
4647

@@ -53,7 +54,6 @@ jsonschema = "^4.23.0"
5354
mkdocs = ">=1.4.3"
5455
mkdocstrings = { version = ">=0.24.0", extras = ["python"] }
5556
mkdocs-awesome-pages-plugin = "*"
56-
mkdocs-macros-adr-summary = "*"
5757
mkdocs-gen-files = ">=0.5.0"
5858
mkdocs-material = ">=9.1.16"
5959
mike = ">=2.0.0"

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[tox]
22
min_version = 4.0
33
env_list =
4+
py313
45
py312
56
py311
67
py310
@@ -21,7 +22,7 @@ deps =
2122
commands =
2223
pytest
2324

24-
[testenv:py312]
25+
[testenv:py313]
2526
; Run with coverage in one python version to check coverage percentage
2627
commands =
2728
pytest --cov

0 commit comments

Comments
 (0)