Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
install:
- name: pydantic-ai-slim
command: "--package pydantic-ai-slim"
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
env:
UV_PYTHON: ${{ matrix.python-version }}
CI: true
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]
python-version: ["3.11", "3.12", "3.13", "3.14"]
env:
UV_PYTHON: ${{ matrix.python-version }}
CI: true
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ This is a uv workspace with multiple packages:
- **VCR cassettes**: `tests/cassettes/` for recorded LLM API interactions
- **Test models**: Use `TestModel` for deterministic testing
- **Examples testing**: `tests/test_examples.py` validates all documentation examples
- **Multi-version testing**: Python 3.10-3.13 support
- **Multi-version testing**: Python 3.10-3.14 support

## Key Configuration Files

Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ install-all-python: ## Install and synchronize an interpreter for every python v
UV_PROJECT_ENVIRONMENT=.venv311 uv sync --python 3.11 --frozen --all-extras --all-packages --group lint --group docs
UV_PROJECT_ENVIRONMENT=.venv312 uv sync --python 3.12 --frozen --all-extras --all-packages --group lint --group docs
UV_PROJECT_ENVIRONMENT=.venv313 uv sync --python 3.13 --frozen --all-extras --all-packages --group lint --group docs
UV_PROJECT_ENVIRONMENT=.venv314 uv sync --python 3.14 --frozen --all-extras --all-packages --group lint --group docs

.PHONY: sync
sync: .uv ## Update local packages and uv.lock
Expand Down Expand Up @@ -61,6 +62,7 @@ test-all-python: ## Run tests on Python 3.10 to 3.13
UV_PROJECT_ENVIRONMENT=.venv311 uv run --python 3.11 --all-extras --all-packages coverage run -p -m pytest
UV_PROJECT_ENVIRONMENT=.venv312 uv run --python 3.12 --all-extras --all-packages coverage run -p -m pytest
UV_PROJECT_ENVIRONMENT=.venv313 uv run --python 3.13 --all-extras --all-packages coverage run -p -m pytest
UV_PROJECT_ENVIRONMENT=.venv314 uv run --python 3.14 --all-extras --all-packages coverage run -p -m pytest
@uv run coverage combine
@uv run coverage report

Expand Down
1 change: 1 addition & 0 deletions clai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
Expand Down
1 change: 1 addition & 0 deletions examples/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
Expand Down
5 changes: 1 addition & 4 deletions pydantic_ai_slim/pydantic_ai/common_tools/duckduckgo.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
from pydantic_ai.tools import Tool

try:
try:
from ddgs import DDGS
except ImportError: # Fallback for older versions of ddgs
from duckduckgo_search import DDGS
from ddgs import DDGS
except ImportError as _import_error:
raise ImportError(
'Please install `ddgs` to use the DuckDuckGo search tool, '
Expand Down
3 changes: 2 additions & 1 deletion pydantic_ai_slim/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
Expand All @@ -55,7 +56,7 @@ Changelog = "https://github.com/pydantic/pydantic-ai/releases"
dependencies = [
"griffe>=1.3.2",
"httpx>=0.27",
"pydantic>=2.10",
"pydantic==2.12.0a1",
"pydantic-graph=={{ version }}",
"exceptiongroup; python_version < '3.11'",
"opentelemetry-api>=1.28.0",
Expand Down
3 changes: 2 additions & 1 deletion pydantic_evals/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
Expand All @@ -49,7 +50,7 @@ requires-python = ">=3.10"
dependencies = [
"rich>=13.9.4",
"logfire-api>=3.14.1",
"pydantic>=2.10",
"pydantic==2.12.0a1",
"pydantic-ai-slim=={{ version }}",
"anyio>=0",
"pyyaml>=6.0.2",
Expand Down
3 changes: 2 additions & 1 deletion pydantic_graph/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
Expand All @@ -47,7 +48,7 @@ requires-python = ">=3.10"
dependencies = [
"httpx>=0.27",
"logfire-api>=3.14.1",
"pydantic>=2.10",
"pydantic==2.12.0a1",
"typing-inspection>=0.4.0",
]

Expand Down
12 changes: 7 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
Expand Down Expand Up @@ -88,7 +89,7 @@ dev = [
"devtools>=0.12.2",
"coverage[toml]>=7.10.3",
"dirty-equals>=0.9.0",
"duckduckgo-search>=7.0.0",
"ddgs>=9.5.3",
"inline-snapshot>=0.19.3",
"pytest>=8.3.3",
"pytest-examples>=0.0.18",
Expand All @@ -99,10 +100,10 @@ dev = [
"boto3-stubs[bedrock-runtime]",
"strict-no-cover @ git+https://github.com/pydantic/strict-no-cover.git@7fc59da2c4dff919db2095a0f0e47101b657131d",
"pytest-xdist>=3.6.1",
# Needed for PyCharm users
"pip>=25.2",
"genai-prices>=0.0.22",
"mcp-run-python>=0.0.20",
# Needed for PyCharm users
"pip>=25.2",
]
lint = ["mypy>=1.11.2", "pyright>=1.1.390", "ruff>=0.6.9"]
docs = [
Expand All @@ -111,8 +112,9 @@ docs = [
"mkdocs>=1.6.1",
"mkdocs-glightbox>=0.4.0",
"mkdocs-llmstxt>=0.2.0",
'mkdocs-redirects>=1.2.2',
"mkdocs-material[imaging]>=9.5.45",
"mkdocs-redirects>=1.2.2",
"mkdocs-material[imaging]>=9.6.19",
"pillow>=11.3.0",
"mkdocstrings-python>=1.12.2",
"griffe-warnings-deprecated>=1.1.0",
]
Expand Down
Loading
Loading