Skip to content

Commit

Permalink
Merge pull request #1324 from NicolasT/python3.13
Browse files Browse the repository at this point in the history
gptsum: support Python 3.13
  • Loading branch information
NicolasT authored Nov 9, 2024
2 parents 53790a9 + 5976f43 commit 3ac3be6
Show file tree
Hide file tree
Showing 6 changed files with 150 additions and 147 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Python
uses: actions/[email protected]
with:
python-version: "3.12"
python-version: "3.13"

- name: Upgrade pip
run: |
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Build docs
run: |
nox --force-color --python="3.12" --session docs
nox --force-color --python="3.13" --session docs
- name: Publish package on PyPI
if: steps.check-version.outputs.tag
Expand Down
41 changes: 22 additions & 19 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,38 +16,41 @@ jobs:
fail-fast: false
matrix:
include:
- { python-version: "3.12", session: "flake8" }
- { python-version: "3.12", session: "flake8", runs-on: "macos-12" }
- { python-version: "3.12", session: "flake8", runs-on: "windows-2022" }
- { python-version: "3.12", session: "safety" }
- { python-version: "3.13", session: "flake8" }
- { python-version: "3.13", session: "flake8", runs-on: "macos-12" }
- { python-version: "3.13", session: "flake8", runs-on: "windows-2022" }
- { python-version: "3.13", session: "safety" }
- { python-version: "3.13", session: "pylint" }
- { python-version: "3.13", session: "pylint", runs-on: "macos-12" }
- { python-version: "3.13", session: "pylint", runs-on: "windows-2022" }
- { python-version: "3.12", session: "pylint" }
- { python-version: "3.12", session: "pylint", runs-on: "macos-12" }
- { python-version: "3.12", session: "pylint", runs-on: "windows-2022" }
- { python-version: "3.11", session: "pylint" }
- { python-version: "3.10", session: "pylint" }
- { python-version: "3.9", session: "pylint" }
- { python-version: "3.8", session: "pylint" }
- { python-version: "3.13", session: "mypy" }
- { python-version: "3.13", session: "mypy", runs-on: "macos-12" }
- { python-version: "3.13", session: "mypy", runs-on: "windows-2022" }
- { python-version: "3.12", session: "mypy" }
- { python-version: "3.12", session: "mypy", runs-on: "macos-12" }
- { python-version: "3.12", session: "mypy", runs-on: "windows-2022" }
- { python-version: "3.11", session: "mypy" }
- { python-version: "3.10", session: "mypy" }
- { python-version: "3.9", session: "mypy" }
- { python-version: "3.8", session: "mypy" }
- { python-version: "3.13", session: "tests" }
- { python-version: "3.13", session: "tests", runs-on: "macos-12" }
- { python-version: "3.13", session: "tests", runs-on: "windows-2022" }
- { python-version: "3.12", session: "tests" }
- { python-version: "3.12", session: "tests", runs-on: "macos-12" }
- { python-version: "3.12", session: "tests", runs-on: "windows-2022" }
- { python-version: "3.11", session: "tests" }
- { python-version: "3.10", session: "tests" }
- { python-version: "3.9", session: "tests" }
- { python-version: "3.8", session: "tests" }
- { python-version: "3.12", session: "typeguard" }
- { python-version: "3.12", session: "typeguard", runs-on: "macos-12" }
- { python-version: "3.12", session: "typeguard", runs-on: "windows-2022" }
- { python-version: "3.12", session: "xdoctest" }
- { python-version: "3.12", session: "xdoctest", runs-on: "macos-12" }
- { python-version: "3.12", session: "xdoctest", runs-on: "windows-2022" }
- { python-version: "3.12", session: "docs" }
- { python-version: "3.13", session: "typeguard" }
- { python-version: "3.13", session: "typeguard", runs-on: "macos-12" }
- { python-version: "3.13", session: "typeguard", runs-on: "windows-2022" }
- { python-version: "3.13", session: "xdoctest" }
- { python-version: "3.13", session: "xdoctest", runs-on: "macos-12" }
- { python-version: "3.13", session: "xdoctest", runs-on: "windows-2022" }
- { python-version: "3.13", session: "docs" }

env:
NOXSESSION: "${{ matrix.session }}"
Expand Down Expand Up @@ -102,10 +105,10 @@ jobs:
- name: Check out the repository
uses: actions/[email protected]

- name: Set up Python 3.12
- name: Set up Python 3.13
uses: actions/[email protected]
with:
python-version: "3.12"
python-version: "3.13"

- name: Upgrade pip
run: |
Expand Down
1 change: 1 addition & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"3.10",
"3.11",
"3.12",
"3.13",
]

SOURCES = [
Expand Down
Loading

0 comments on commit 3ac3be6

Please sign in to comment.