CI: Add Python 3.14 to the Python testing matrix (#2941)

* chore: update python version to 3.14 everywhere, add it to matrix for tests

* chore: fix doc generator

* chore: isort
This commit is contained in:
matt
2026-02-04 13:33:06 -05:00
committed by GitHub
parent 45c291c192
commit 47133770c0
10 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ jobs:
run: pnpm install --frozen-lockfile
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Generate docs snippets and examples
working-directory: frontend/snippets
run: python3 generate.py
@@ -71,7 +71,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
python-version: "3.14"
- name: Setup pnpm
uses: pnpm/action-setup@v4
+5 -5
View File
@@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Generate docs snippets and examples
working-directory: frontend/snippets
run: python3 generate.py
@@ -93,7 +93,7 @@ jobs:
uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Generate docs snippets and examples
working-directory: frontend/snippets
run: python3 generate.py
@@ -133,7 +133,7 @@ jobs:
uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Generate docs snippets and examples
working-directory: frontend/snippets
run: python3 generate.py
@@ -173,7 +173,7 @@ jobs:
uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Generate docs snippets and examples
working-directory: frontend/snippets
run: python3 generate.py
@@ -197,7 +197,7 @@ jobs:
uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Generate docs snippets and examples
working-directory: frontend/snippets
run: python3 generate.py
+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
python-version: "3.14"
- name: Set up Node.js
uses: actions/setup-node@v6
+2 -2
View File
@@ -25,7 +25,7 @@ jobs:
run: pnpm install --frozen-lockfile
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Generate snippets
working-directory: frontend/snippets
run: python3 generate.py
@@ -53,7 +53,7 @@ jobs:
run: pnpm install --frozen-lockfile
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Generate snippets
working-directory: frontend/snippets
run: python3 generate.py
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Generate snippets
working-directory: frontend/snippets
run: python3 generate.py
+6 -6
View File
@@ -325,7 +325,7 @@ jobs:
uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Generate docs snippets and examples
working-directory: frontend/snippets
run: python3 generate.py
@@ -354,7 +354,7 @@ jobs:
uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Generate docs snippets and examples
working-directory: frontend/snippets
run: python3 generate.py
@@ -410,7 +410,7 @@ jobs:
uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Generate docs snippets and examples
working-directory: frontend/snippets
run: python3 generate.py
@@ -469,7 +469,7 @@ jobs:
uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Generate docs snippets and examples
working-directory: frontend/snippets
run: python3 generate.py
@@ -555,7 +555,7 @@ jobs:
uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Generate docs snippets and examples
working-directory: frontend/snippets
run: python3 generate.py
@@ -596,7 +596,7 @@ jobs:
uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Generate docs snippets and examples
working-directory: frontend/snippets
run: python3 generate.py
+2 -2
View File
@@ -28,7 +28,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
python-version: "3.14"
- name: Install Poetry
uses: snok/install-poetry@v1
@@ -62,7 +62,7 @@ jobs:
runs-on: ubicloud-standard-4
strategy:
matrix:
python-version: ${{ github.event_name == 'pull_request' && fromJSON('["3.13"]') || fromJSON('["3.10", "3.11", "3.12", "3.13"]') }}
python-version: ${{ github.event_name == 'pull_request' && fromJSON('["3.14"]') || fromJSON('["3.10", "3.11", "3.12", "3.13", "3.14"]') }}
optimistic-scheduling: ["true", "false"]
timeout-minutes: 20
steps:
+1 -1
View File
@@ -3,10 +3,10 @@ import asyncio
import os
from typing import cast
from docs.generator.doc_types import Document
from docs.generator.llm import parse_markdown
from docs.generator.paths import crawl_directory, find_child_paths
from docs.generator.shared import TMP_GEN_PATH
from docs.generator.types import Document
from docs.generator.utils import gather_max_concurrency, rm_rf
+1 -1
View File
@@ -1,6 +1,6 @@
import os
from docs.generator.types import Document
from docs.generator.doc_types import Document
def crawl_directory(directory: str, only_include: list[str]) -> list[Document]: