Skip to content

Commit 9a66350

Browse files
committed
GitHub Actions: Test on Python 3.14 release candidate 2
```diff - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] ``` https://www.python.org/download/pre-releases https://www.python.org/downloads/release/python-3140rc2
1 parent c47c767 commit 9a66350

File tree

3 files changed

+279
-27
lines changed

3 files changed

+279
-27
lines changed

.github/workflows/shared.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ jobs:
1313
pre-commit:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717

18-
- uses: astral-sh/setup-uv@v5
18+
- uses: astral-sh/setup-uv@v6
1919
with:
2020
enable-cache: true
2121
version: 0.7.2
2222

2323
- name: Install dependencies
2424
run: uv sync --frozen --all-extras --python 3.10
2525

26-
- uses: pre-commit/[email protected].0
26+
- uses: pre-commit/[email protected].1
2727
with:
2828
extra_args: --all-files --verbose
2929
env:
@@ -35,18 +35,17 @@ jobs:
3535
continue-on-error: true
3636
strategy:
3737
matrix:
38-
python-version: ["3.10", "3.11", "3.12", "3.13"]
38+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
3939
dep-resolution: ["lowest-direct", "highest"]
4040
os: [ubuntu-latest, windows-latest]
4141

4242
steps:
43-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@v5
4444

4545
- name: Install uv
46-
uses: astral-sh/setup-uv@v3
46+
uses: astral-sh/setup-uv@v6
4747
with:
4848
enable-cache: true
49-
version: 0.7.2
5049

5150
- name: Install the project
5251
run: uv sync --frozen --all-extras --python ${{ matrix.python-version }} --resolution ${{ matrix.dep-resolution }}
@@ -57,12 +56,11 @@ jobs:
5756
readme-snippets:
5857
runs-on: ubuntu-latest
5958
steps:
60-
- uses: actions/checkout@v4
59+
- uses: actions/checkout@v5
6160

62-
- uses: astral-sh/setup-uv@v5
61+
- uses: astral-sh/setup-uv@v6
6362
with:
6463
enable-cache: true
65-
version: 0.7.2
6664

6765
- name: Install dependencies
6866
run: uv sync --frozen --all-extras --python 3.10

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ dependencies = [
2525
"anyio>=4.5",
2626
"httpx>=0.27.1",
2727
"httpx-sse>=0.4",
28-
"pydantic>=2.11.0,<3.0.0",
28+
"pydantic>=2.11.0,<3.0.0; python_version < '3.14'",
29+
"pydantic>=2.12.0a1,<3.0.0; python_version >= '3.14'",
2930
"starlette>=0.27",
3031
"python-multipart>=0.0.9",
3132
"sse-starlette>=1.6.1",
@@ -63,7 +64,8 @@ dev = [
6364
docs = [
6465
"mkdocs>=1.6.1",
6566
"mkdocs-glightbox>=0.4.0",
66-
"mkdocs-material[imaging]>=9.5.45",
67+
"pillow>=11.3; python_version >= '3.14'",
68+
"mkdocs-material[imaging]>=9.6.19",
6769
"mkdocstrings-python>=1.12.2",
6870
]
6971

0 commit comments

Comments
 (0)