Skip to content

Commit

Permalink
feat: support Python 3.13
Browse files Browse the repository at this point in the history
Add support for Python 3.13
  • Loading branch information
johnfraney committed Oct 29, 2024
1 parent 377edae commit c2b8b61
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 170 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/github-actions-nox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry nox nox-poetry
- name: Run Nox
run: |
nox -p ${{ matrix.python-version }}
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry nox nox-poetry
- name: Run Nox
run: |
nox -p ${{ matrix.python-version }}
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import nox


@nox.session(python=["3.12", "3.11", "3.10"])
@nox.session(python=["3.13", "3.12", "3.11", "3.10"])
def tests(session):
session.install("pytest", ".")
session.run("pytest")


@nox.session(python=["3.12", "3.11", "3.10"])
@nox.session(python=["3.13", "3.12", "3.11", "3.10"])
def typecheck(session):
session.install("pyright", ".")
session.run("pyright")
Loading

0 comments on commit c2b8b61

Please sign in to comment.