Skip to content

Commit 40886fd

Browse files
committed
Upgrade CI to support Python 3.13
1 parent 5cfac2d commit 40886fd

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@v5
2121
with:
22-
python-version: "3.12"
22+
python-version: "3.13"
2323

2424
- name: Upgrade pip
2525
run: |

.github/workflows/tests.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,22 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
include:
15-
- { python: "3.12", os: "ubuntu-latest", session: "pre-commit" }
16-
- { python: "3.12", os: "ubuntu-latest", session: "safety" }
15+
- { python: "3.13", os: "ubuntu-latest", session: "pre-commit" }
16+
- { python: "3.13", os: "ubuntu-latest", session: "safety" }
1717
# - { python: "3.12", os: "ubuntu-latest", session: "mypy" }
1818
# - { python: "3.11", os: "ubuntu-latest", session: "mypy" }
1919
# - { python: "3.10", os: "ubuntu-latest", session: "mypy" }
20+
- { python: "3.13", os: "ubuntu-latest", session: "tests" }
2021
- { python: "3.12", os: "ubuntu-latest", session: "tests" }
2122
- { python: "3.11", os: "ubuntu-latest", session: "tests" }
2223
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
23-
- { python: "3.12", os: "windows-latest", session: "tests" }
24-
- { python: "3.12", os: "macos-latest", session: "tests" }
24+
- { python: "3.13", os: "windows-latest", session: "tests" }
25+
- { python: "3.13", os: "macos-latest", session: "tests" }
2526
# - { python: "3.12", os: "ubuntu-latest", session: "typeguard" }
2627
# - { python: "3.11", os: "ubuntu-latest", session: "typeguard" }
2728
# - { python: "3.10", os: "ubuntu-latest", session: "typeguard" }
2829
# - { python: "3.10", os: "ubuntu-latest", session: "xdoctest" }
29-
- { python: "3.12", os: "ubuntu-latest", session: "docs-build" }
30+
- { python: "3.13", os: "ubuntu-latest", session: "docs-build" }
3031

3132
env:
3233
NOXSESSION: ${{ matrix.session }}
@@ -121,7 +122,7 @@ jobs:
121122
- name: Set up Python
122123
uses: actions/setup-python@v5
123124
with:
124-
python-version: "3.12"
125+
python-version: "3.13"
125126

126127
- name: Upgrade pip
127128
run: |

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525

2626
package = "mdio"
27-
python_versions = ["3.12", "3.11", "3.10"]
27+
python_versions = ["3.13", "3.12", "3.11", "3.10"]
2828
nox.needs_version = ">= 2022.1.7"
2929
nox.options.sessions = (
3030
"pre-commit",

0 commit comments

Comments
 (0)