Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install nox==2023.4.22 poetry==1.7.0
- run: pip install nox==2024.4.15 poetry==1.8.3
- run: nox --python 3.12
- run: poetry build
- run: poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }}
20 changes: 16 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,30 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
include:
- python-minor: "3.8"
python-version: "3.8"
- python-minor: "3.9"
python-version: "3.9"
- python-minor: "3.10"
python-version: "3.10"
- python-minor: "3.11"
python-version: "3.11"
- python-minor: "3.12"
python-version: "3.12"
- python-minor: "3.13"
python-version: "3.13.0-rc.1"

name: Python ${{ matrix.python-version }}
name: Python ${{ matrix.python-minor }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install nox==2023.4.22 poetry==1.7.0
- run: nox --python ${{ matrix.python-version }}
- run: pip install nox==2024.4.15 poetry==1.8.3
- run: nox --python ${{ matrix.python-minor }}
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodejs 21.1.0
poetry 1.8.2
python 3.12 3.11 3.10 3.9 3.8
poetry 1.8.3
python 3.12 3.11 3.10 3.9 3.8 3.13.0rc1
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

locations = ["docs/conf.py", "noxfile.py", "src", "tests"]

supported_pythons = ["3.8", "3.9", "3.10", "3.11", "3.12"]
supported_pythons = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
docs_python = "3.12"


Expand Down Expand Up @@ -39,7 +39,7 @@ def ruff_format(session: nox.Session) -> None:


@nox.session(python=supported_pythons)
def ruff_lint(session: nox.Session) -> None:
def ruff_check(session: nox.Session) -> None:
"""Lint using Ruff."""
args = session.posargs or locations
session.run(
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ pydantic = ">= 2"
typing-extensions = ">= 4.4.0"

[tool.poetry.group.dev.dependencies]
nox = ">=2023.4.22,<2025.0.0"
nox = "^2024.4.15"

[tool.poetry.group.docs.dependencies]
sphinx = ">= 5.3"
sphinx-rtd-theme = ">= 1.2"
sphinx-autodoc-typehints = ">= 1.12"

[tool.poetry.group.mypy.dependencies]
mypy = "^1.8.0"
mypy = "^1.11.1"

[tool.poetry.group.pyright.dependencies]
pyright = "1.1.376"
Expand Down