Skip to content

Commit 74f6f19

Browse files
committed
Support Python 3.14
1 parent 6e47a80 commit 74f6f19

File tree

9 files changed

+15
-7
lines changed

9 files changed

+15
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
strategy:
138138
fail-fast: false
139139
matrix:
140-
python-version: ["3.10", "3.11", "3.12", "3.13"]
140+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
141141
install:
142142
- name: pydantic-ai-slim
143143
command: "--package pydantic-ai-slim"
@@ -181,7 +181,7 @@ jobs:
181181
strategy:
182182
fail-fast: false
183183
matrix:
184-
python-version: ["3.10", "3.11", "3.12", "3.13"]
184+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
185185
env:
186186
UV_PYTHON: ${{ matrix.python-version }}
187187
CI: true
@@ -221,7 +221,7 @@ jobs:
221221
strategy:
222222
fail-fast: false
223223
matrix:
224-
python-version: ["3.11", "3.12", "3.13"]
224+
python-version: ["3.11", "3.12", "3.13", "3.14"]
225225
env:
226226
UV_PYTHON: ${{ matrix.python-version }}
227227
CI: true

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ This is a uv workspace with multiple packages:
9191
- **VCR cassettes**: `tests/cassettes/` for recorded LLM API interactions
9292
- **Test models**: Use `TestModel` for deterministic testing
9393
- **Examples testing**: `tests/test_examples.py` validates all documentation examples
94-
- **Multi-version testing**: Python 3.10-3.13 support
94+
- **Multi-version testing**: Python 3.10-3.14 support
9595

9696
## Key Configuration Files
9797

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ install-all-python: ## Install and synchronize an interpreter for every python v
2323
UV_PROJECT_ENVIRONMENT=.venv311 uv sync --python 3.11 --frozen --all-extras --all-packages --group lint --group docs
2424
UV_PROJECT_ENVIRONMENT=.venv312 uv sync --python 3.12 --frozen --all-extras --all-packages --group lint --group docs
2525
UV_PROJECT_ENVIRONMENT=.venv313 uv sync --python 3.13 --frozen --all-extras --all-packages --group lint --group docs
26+
UV_PROJECT_ENVIRONMENT=.venv314 uv sync --python 3.14 --frozen --all-extras --all-packages --group lint --group docs
2627

2728
.PHONY: sync
2829
sync: .uv ## Update local packages and uv.lock
@@ -69,6 +70,7 @@ test-all-python: ## Run tests on Python 3.10 to 3.13
6970
UV_PROJECT_ENVIRONMENT=.venv311 uv run --python 3.11 --all-extras --all-packages coverage run -p -m pytest
7071
UV_PROJECT_ENVIRONMENT=.venv312 uv run --python 3.12 --all-extras --all-packages coverage run -p -m pytest
7172
UV_PROJECT_ENVIRONMENT=.venv313 uv run --python 3.13 --all-extras --all-packages coverage run -p -m pytest
73+
UV_PROJECT_ENVIRONMENT=.venv314 uv run --python 3.14 --all-extras --all-packages coverage run -p -m pytest
7274
@uv run coverage combine
7375
@uv run coverage report
7476

clai/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ classifiers = [
3232
"Programming Language :: Python :: 3.11",
3333
"Programming Language :: Python :: 3.12",
3434
"Programming Language :: Python :: 3.13",
35+
"Programming Language :: Python :: 3.14",
3536
"Intended Audience :: Developers",
3637
"Intended Audience :: Information Technology",
3738
"Intended Audience :: System Administrators",

examples/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ classifiers = [
3232
"Programming Language :: Python :: 3.11",
3333
"Programming Language :: Python :: 3.12",
3434
"Programming Language :: Python :: 3.13",
35+
"Programming Language :: Python :: 3.14",
3536
"Intended Audience :: Developers",
3637
"Intended Audience :: Information Technology",
3738
"Intended Audience :: System Administrators",

pydantic_ai_slim/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ classifiers = [
3232
"Programming Language :: Python :: 3.11",
3333
"Programming Language :: Python :: 3.12",
3434
"Programming Language :: Python :: 3.13",
35+
"Programming Language :: Python :: 3.14",
3536
"Intended Audience :: Developers",
3637
"Intended Audience :: Information Technology",
3738
"Intended Audience :: System Administrators",
@@ -56,7 +57,7 @@ dependencies = [
5657
"eval-type-backport>=0.2.0",
5758
"griffe>=1.3.2",
5859
"httpx>=0.27",
59-
"pydantic>=2.10",
60+
"pydantic>=2.12.0a1",
6061
"pydantic-graph=={{ version }}",
6162
"exceptiongroup; python_version < '3.11'",
6263
"opentelemetry-api>=1.28.0",

pydantic_evals/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ classifiers = [
3232
"Programming Language :: Python :: 3.11",
3333
"Programming Language :: Python :: 3.12",
3434
"Programming Language :: Python :: 3.13",
35+
"Programming Language :: Python :: 3.14",
3536
"Intended Audience :: Developers",
3637
"Intended Audience :: Information Technology",
3738
"Intended Audience :: System Administrators",
@@ -49,7 +50,7 @@ requires-python = ">=3.10"
4950
dependencies = [
5051
"rich>=13.9.4",
5152
"logfire-api>=3.14.1",
52-
"pydantic>=2.10",
53+
"pydantic>=2.12.0a1",
5354
"pydantic-ai-slim=={{ version }}",
5455
"anyio>=0",
5556
"eval-type-backport>=0; python_version < '3.11'",

pydantic_graph/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ classifiers = [
3232
"Programming Language :: Python :: 3.11",
3333
"Programming Language :: Python :: 3.12",
3434
"Programming Language :: Python :: 3.13",
35+
"Programming Language :: Python :: 3.14",
3536
"Intended Audience :: Developers",
3637
"Intended Audience :: Information Technology",
3738
"Intended Audience :: System Administrators",
@@ -47,7 +48,7 @@ requires-python = ">=3.10"
4748
dependencies = [
4849
"httpx>=0.27",
4950
"logfire-api>=3.14.1",
50-
"pydantic>=2.10",
51+
"pydantic>=2.12.0a1",
5152
"typing-inspection>=0.4.0",
5253
]
5354

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ classifiers = [
3232
"Programming Language :: Python :: 3.11",
3333
"Programming Language :: Python :: 3.12",
3434
"Programming Language :: Python :: 3.13",
35+
"Programming Language :: Python :: 3.14",
3536
"Intended Audience :: Developers",
3637
"Intended Audience :: Information Technology",
3738
"License :: OSI Approved :: MIT License",

0 commit comments

Comments
 (0)