feat: Add support for Python 3.13 (#6685)

This commit is contained in:
Christophe Bornet 2025-02-20 19:13:21 +01:00 committed by GitHub
commit 41edba73c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 910 additions and 400 deletions

View file

@ -7,7 +7,7 @@ on:
description: "(Optional) Python versions to test"
required: true
type: string
default: "['3.10', '3.11', '3.12']"
default: "['3.10', '3.11', '3.12', '3.13']"
ref:
description: "(Optional) ref to checkout"
required: false
@ -23,7 +23,7 @@ on:
description: "(Optional) Python versions to test"
required: true
type: string
default: "['3.10', '3.11', '3.12']"
default: "['3.10', '3.11', '3.12', '3.13']"
env:
POETRY_VERSION: "1.8.2"
NODE_VERSION: "21"
@ -37,7 +37,7 @@ jobs:
UV_CACHE_DIR: /tmp/.uv-cache
strategy:
matrix:
python-version: ${{ fromJson(inputs.python-versions || '["3.10", "3.11", "3.12"]' ) }}
python-version: ${{ fromJson(inputs.python-versions || '["3.10", "3.11", "3.12", "3.13"]' ) }}
splitCount: [5]
group: [1, 2, 3, 4, 5]
steps:
@ -68,7 +68,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ${{ fromJson(inputs.python-versions || '["3.10", "3.11", "3.12"]' ) }}
python-version: ${{ fromJson(inputs.python-versions || '["3.10", "3.11", "3.12", "3.13"]' ) }}
steps:
- uses: actions/checkout@v4
with:
@ -88,7 +88,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ${{ fromJson(inputs.python-versions || '["3.10", "3.11", "3.12"]') }}
python-version: ${{ fromJson(inputs.python-versions || '["3.10", "3.11", "3.12", "3.13"]') }}
steps:
- name: Check out the code at a specific ref
uses: actions/checkout@v4