From f3b4038f830278915732e6c4cad940d6d46d7c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Tue, 9 Jul 2024 23:10:38 -0600 Subject: [PATCH] Test with Python 3.13 --- .github/workflows/check.yml | 2 ++ pyproject.toml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index c31910c..b3576fe 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -21,6 +21,7 @@ jobs: matrix: py: - "pypy3.9" # ahead to start it earlier because takes longer + - "3.13" - "3.12" - "3.11" - "3.10" @@ -55,6 +56,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.py }} + allow-prereleases: true - name: Setup test environment run: | hatch -v env create ${ENV} diff --git a/pyproject.toml b/pyproject.toml index feec11f..264619a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules", @@ -92,6 +93,7 @@ template = "test" description = "Run the test suite" matrix = [ { python = [ + "3.13", "3.12", "3.11", "3.10", @@ -236,6 +238,9 @@ pre-summary-newline = true wrap-descriptions = 120 wrap-summaries = 120 +[tool.pyproject-fmt] +max_supported_python = "3.13" + [tool.coverage] html.show_contexts = true html.skip_covered = false