From 230ea563c79040cc0ec86fade4d16dfa13b3a335 Mon Sep 17 00:00:00 2001 From: Henrique Gemignani Passos Lima Date: Sat, 12 Oct 2024 20:44:47 +0300 Subject: [PATCH] Test with Python 3.13 --- .github/workflows/python.yml | 5 +++-- pyproject.toml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 75f87ae5..c5ae5e6b 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -29,7 +29,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - name: Install Python packages run: python -m pip install --upgrade build @@ -57,7 +57,8 @@ jobs: python: - { version: "3.10" } - { version: "3.11" } - - { version: "3.12.0-beta - 3.12.0" } + - { version: "3.12" } + - { version: "3.13" } steps: - name: Checkout diff --git a/pyproject.toml b/pyproject.toml index dde4591c..fcbd4333 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,8 @@ classifiers = [ "Intended Audience :: Developers", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] requires-python = ">=3.10" dynamic = ["version"] @@ -27,7 +29,6 @@ dependencies = [ "zstandard", ] - [project.readme] file = "README.md" content-type = "text/markdown" @@ -67,7 +68,7 @@ lint.select = ["E", "F", "W", "C90", "I", "UP"] src = ["src"] # Version to target for generated code. -target-version = "py38" +target-version = "py310" [tool.ruff.lint.mccabe] # Flag errors (`C901`) whenever the complexity level exceeds 25.