Skip to content

Commit e9a2c02

Browse files
committed
Support Python 3.14
1 parent 37de501 commit e9a2c02

File tree

3 files changed

+190
-15
lines changed

3 files changed

+190
-15
lines changed

.github/workflows/shared.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ 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:
4040
- name: lowest-direct
4141
install-flags: "--upgrade --resolution lowest-direct"

pyproject.toml

Lines changed: 4 additions & 2 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.12.0; python_version >= '3.14'",
30+
"pydantic>=2.11.0; python_version < '3.14'",
2931
"starlette>=0.27",
3032
"python-multipart>=0.0.9",
3133
"sse-starlette>=1.6.1",
@@ -102,7 +104,7 @@ venv = ".venv"
102104
# those private functions instead of testing the private functions directly. It makes it easier to maintain the code source
103105
# and refactor code that is not public.
104106
executionEnvironments = [
105-
{ root = "tests", extraPaths = ["."], reportUnusedFunction = false, reportPrivateUsage = false },
107+
{ root = "tests", extraPaths = [ ".",], reportUnusedFunction = false, reportPrivateUsage = false },
106108
{ root = "examples/servers", reportUnusedFunction = false },
107109
]
108110

0 commit comments

Comments
 (0)