Skip to content

Commit 51bd0bf

Browse files
authored
Merge pull request #333 from TGSAI/feature/python312
Python 3.12 Support
2 parents e479090 + 1e66536 commit 51bd0bf

File tree

6 files changed

+662
-591
lines changed

6 files changed

+662
-591
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.11"
22+
python-version: "3.12"
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,20 +12,21 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
include:
15-
- { python: "3.11", os: "ubuntu-latest", session: "pre-commit" }
16-
- { python: "3.11", os: "ubuntu-latest", session: "safety" }
15+
- { python: "3.12", os: "ubuntu-latest", session: "pre-commit" }
16+
- { python: "3.12", os: "ubuntu-latest", session: "safety" }
1717
# - { python: "3.11", os: "ubuntu-latest", session: "mypy" }
1818
# - { python: "3.10", os: "ubuntu-latest", session: "mypy" }
1919
# - { python: "3.9", os: "ubuntu-latest", session: "mypy" }
20+
- { python: "3.12", os: "ubuntu-latest", session: "tests" }
2021
- { python: "3.11", os: "ubuntu-latest", session: "tests" }
2122
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
2223
- { python: "3.9", os: "ubuntu-latest", session: "tests" }
23-
- { python: "3.11", os: "windows-latest", session: "tests" }
24-
- { python: "3.11", os: "macos-latest", session: "tests" }
24+
- { python: "3.12", os: "windows-latest", session: "tests" }
25+
- { python: "3.12", os: "macos-latest", session: "tests" }
2526
# - { python: "3.11", os: "ubuntu-latest", session: "typeguard" }
2627
# - { python: "3.10", os: "ubuntu-latest", session: "typeguard" }
2728
# - { python: "3.10", os: "ubuntu-latest", session: "xdoctest" }
28-
- { python: "3.11", os: "ubuntu-latest", session: "docs-build" }
29+
- { python: "3.12", os: "ubuntu-latest", session: "docs-build" }
2930

3031
env:
3132
NOXSESSION: ${{ matrix.session }}
@@ -118,7 +119,7 @@ jobs:
118119
- name: Set up Python
119120
uses: actions/setup-python@v5
120121
with:
121-
python-version: "3.11"
122+
python-version: "3.12"
122123

123124
- name: Upgrade pip
124125
run: |

noxfile.py

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

2424

2525
package = "mdio"
26-
python_versions = ["3.11", "3.10", "3.9"]
26+
python_versions = ["3.12", "3.11", "3.10", "3.9"]
2727
nox.needs_version = ">= 2022.1.7"
2828
nox.options.sessions = (
2929
"pre-commit",

0 commit comments

Comments
 (0)