Skip to content

Commit 3ac3be6

Browse files
authored
Merge pull request #1324 from NicolasT/python3.13
gptsum: support Python 3.13
2 parents 53790a9 + 5976f43 commit 3ac3be6

File tree

6 files changed

+150
-147
lines changed

6 files changed

+150
-147
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Python
2424
uses: actions/[email protected]
2525
with:
26-
python-version: "3.12"
26+
python-version: "3.13"
2727

2828
- name: Upgrade pip
2929
run: |
@@ -66,7 +66,7 @@ jobs:
6666
6767
- name: Build docs
6868
run: |
69-
nox --force-color --python="3.12" --session docs
69+
nox --force-color --python="3.13" --session docs
7070
7171
- name: Publish package on PyPI
7272
if: steps.check-version.outputs.tag

.github/workflows/tests.yml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,38 +16,41 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
include:
19-
- { python-version: "3.12", session: "flake8" }
20-
- { python-version: "3.12", session: "flake8", runs-on: "macos-12" }
21-
- { python-version: "3.12", session: "flake8", runs-on: "windows-2022" }
22-
- { python-version: "3.12", session: "safety" }
19+
- { python-version: "3.13", session: "flake8" }
20+
- { python-version: "3.13", session: "flake8", runs-on: "macos-12" }
21+
- { python-version: "3.13", session: "flake8", runs-on: "windows-2022" }
22+
- { python-version: "3.13", session: "safety" }
23+
- { python-version: "3.13", session: "pylint" }
24+
- { python-version: "3.13", session: "pylint", runs-on: "macos-12" }
25+
- { python-version: "3.13", session: "pylint", runs-on: "windows-2022" }
2326
- { python-version: "3.12", session: "pylint" }
24-
- { python-version: "3.12", session: "pylint", runs-on: "macos-12" }
25-
- { python-version: "3.12", session: "pylint", runs-on: "windows-2022" }
2627
- { python-version: "3.11", session: "pylint" }
2728
- { python-version: "3.10", session: "pylint" }
2829
- { python-version: "3.9", session: "pylint" }
2930
- { python-version: "3.8", session: "pylint" }
31+
- { python-version: "3.13", session: "mypy" }
32+
- { python-version: "3.13", session: "mypy", runs-on: "macos-12" }
33+
- { python-version: "3.13", session: "mypy", runs-on: "windows-2022" }
3034
- { python-version: "3.12", session: "mypy" }
31-
- { python-version: "3.12", session: "mypy", runs-on: "macos-12" }
32-
- { python-version: "3.12", session: "mypy", runs-on: "windows-2022" }
3335
- { python-version: "3.11", session: "mypy" }
3436
- { python-version: "3.10", session: "mypy" }
3537
- { python-version: "3.9", session: "mypy" }
3638
- { python-version: "3.8", session: "mypy" }
39+
- { python-version: "3.13", session: "tests" }
40+
- { python-version: "3.13", session: "tests", runs-on: "macos-12" }
41+
- { python-version: "3.13", session: "tests", runs-on: "windows-2022" }
3742
- { python-version: "3.12", session: "tests" }
38-
- { python-version: "3.12", session: "tests", runs-on: "macos-12" }
39-
- { python-version: "3.12", session: "tests", runs-on: "windows-2022" }
4043
- { python-version: "3.11", session: "tests" }
4144
- { python-version: "3.10", session: "tests" }
4245
- { python-version: "3.9", session: "tests" }
4346
- { python-version: "3.8", session: "tests" }
44-
- { python-version: "3.12", session: "typeguard" }
45-
- { python-version: "3.12", session: "typeguard", runs-on: "macos-12" }
46-
- { python-version: "3.12", session: "typeguard", runs-on: "windows-2022" }
47-
- { python-version: "3.12", session: "xdoctest" }
48-
- { python-version: "3.12", session: "xdoctest", runs-on: "macos-12" }
49-
- { python-version: "3.12", session: "xdoctest", runs-on: "windows-2022" }
50-
- { python-version: "3.12", session: "docs" }
47+
- { python-version: "3.13", session: "typeguard" }
48+
- { python-version: "3.13", session: "typeguard", runs-on: "macos-12" }
49+
- { python-version: "3.13", session: "typeguard", runs-on: "windows-2022" }
50+
- { python-version: "3.13", session: "xdoctest" }
51+
- { python-version: "3.13", session: "xdoctest", runs-on: "macos-12" }
52+
- { python-version: "3.13", session: "xdoctest", runs-on: "windows-2022" }
53+
- { python-version: "3.13", session: "docs" }
5154

5255
env:
5356
NOXSESSION: "${{ matrix.session }}"
@@ -102,10 +105,10 @@ jobs:
102105
- name: Check out the repository
103106
uses: actions/[email protected]
104107

105-
- name: Set up Python 3.12
108+
- name: Set up Python 3.13
106109
uses: actions/[email protected]
107110
with:
108-
python-version: "3.12"
111+
python-version: "3.13"
109112

110113
- name: Upgrade pip
111114
run: |

noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"3.10",
2424
"3.11",
2525
"3.12",
26+
"3.13",
2627
]
2728

2829
SOURCES = [

0 commit comments

Comments
 (0)