Skip to content

Commit 3ebe806

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 814c9c0 commit 3ebe806

File tree

3 files changed

+196
-31
lines changed

3 files changed

+196
-31
lines changed

.github/workflows/shared.yml

Lines changed: 11 additions & 11 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
21-
version: 0.7.2
21+
version: 0.8.23
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,18 @@ 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
49+
version: 0.8.23
5050

5151
- name: Install the project
5252
run: uv sync --frozen --all-extras --python ${{ matrix.python-version }} --resolution ${{ matrix.dep-resolution }}
@@ -57,12 +57,12 @@ jobs:
5757
readme-snippets:
5858
runs-on: ubuntu-latest
5959
steps:
60-
- uses: actions/checkout@v4
60+
- uses: actions/checkout@v5
6161

62-
- uses: astral-sh/setup-uv@v5
62+
- uses: astral-sh/setup-uv@v6
6363
with:
6464
enable-cache: true
65-
version: 0.7.2
65+
version: 0.8.23
6666

6767
- name: Install dependencies
6868
run: uv sync --frozen --all-extras --python 3.10

pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ classifiers = [
2020
"Programming Language :: Python :: 3.11",
2121
"Programming Language :: Python :: 3.12",
2222
"Programming Language :: Python :: 3.13",
23+
"Programming Language :: Python :: 3.14",
2324
]
2425
dependencies = [
2526
"anyio>=4.5",
2627
"httpx>=0.27.1",
2728
"httpx-sse>=0.4",
28-
"pydantic>=2.11.0,<3.0.0",
29+
"pydantic>=2.11.0,<3.0.0; python_version < '3.14'",
30+
"pydantic>=2.12.0b1,<3.0.0; python_version >= '3.14'",
2931
"starlette>=0.27",
3032
"python-multipart>=0.0.9",
3133
"sse-starlette>=1.6.1",
@@ -45,7 +47,7 @@ mcp = "mcp.cli:app [cli]"
4547

4648
[tool.uv]
4749
default-groups = ["dev", "docs"]
48-
required-version = ">=0.7.2"
50+
required-version = ">=0.8.23"
4951

5052
[dependency-groups]
5153
dev = [
@@ -63,7 +65,7 @@ dev = [
6365
docs = [
6466
"mkdocs>=1.6.1",
6567
"mkdocs-glightbox>=0.4.0",
66-
"mkdocs-material[imaging]>=9.5.45",
68+
"mkdocs-material[imaging]>=9.6.21",
6769
"mkdocstrings-python>=1.12.2",
6870
]
6971

0 commit comments

Comments
 (0)