diff --git a/.github/workflows/release-dev.yml b/.github/workflows/release-dev.yml index ad47c29..048b766 100644 --- a/.github/workflows/release-dev.yml +++ b/.github/workflows/release-dev.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.13" - name: Upgrade pip run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f06cd5d..1e6d162 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.13" - name: Upgrade pip run: | diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9b6ff3f..7a35969 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,21 +12,23 @@ jobs: fail-fast: false matrix: include: - - { python: "3.12", os: "ubuntu-latest", session: "pre-commit" } - - { python: "3.12", os: "ubuntu-latest", session: "safety" } + - { python: "3.13", os: "ubuntu-latest", session: "pre-commit" } + - { python: "3.13", os: "ubuntu-latest", session: "safety" } + - { python: "3.13", os: "ubuntu-latest", session: "mypy" } - { python: "3.12", os: "ubuntu-latest", session: "mypy" } - { python: "3.11", os: "ubuntu-latest", session: "mypy" } - { python: "3.10", os: "ubuntu-latest", session: "mypy" } - { python: "3.9", os: "ubuntu-latest", session: "mypy" } + - { python: "3.13", os: "ubuntu-latest", session: "tests" } - { python: "3.12", os: "ubuntu-latest", session: "tests" } - { python: "3.11", os: "ubuntu-latest", session: "tests" } - { python: "3.10", os: "ubuntu-latest", session: "tests" } - { python: "3.9", os: "ubuntu-latest", session: "tests" } - - { python: "3.12", os: "windows-latest", session: "tests" } - - { python: "3.12", os: "macos-latest", session: "tests" } - - { python: "3.12", os: "ubuntu-latest", session: "typeguard" } - - { python: "3.12", os: "ubuntu-latest", session: "xdoctest" } - - { python: "3.12", os: "ubuntu-latest", session: "docs-build" } + - { python: "3.13", os: "windows-latest", session: "tests" } + - { python: "3.13", os: "macos-latest", session: "tests" } + - { python: "3.13", os: "ubuntu-latest", session: "typeguard" } + - { python: "3.13", os: "ubuntu-latest", session: "xdoctest" } + - { python: "3.13", os: "ubuntu-latest", session: "docs-build" } steps: - name: Check out the repository @@ -100,7 +102,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.13" - name: Upgrade pip run: | @@ -118,6 +120,7 @@ jobs: - name: Combine coverage data and display human readable report run: | shopt -s dotglob + mv coverage-data-3.13-ubuntu-latest/* . mv coverage-data-3.12-ubuntu-latest/* . mv coverage-data-3.11-ubuntu-latest/* . mv coverage-data-3.10-ubuntu-latest/* . diff --git a/pyproject.toml b/pyproject.toml index 7816be5..27f7345 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,6 +13,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] requires-python = ">=3.9" dependencies = [] @@ -57,7 +58,7 @@ run-xdoctest = [ "hatch run xdoctest:run" ] run-docs-build = [ "hatch run docs-build:run" ] [[tool.hatch.envs.sessions.matrix]] -python = ["3.9", "3.10", "3.11", "3.12"] +python = ["3.9", "3.10", "3.11", "3.12", "3.13"] [tool.hatch.envs.pre-commit] dependencies = [