pydantic-ai 1.31.0__tar.gz → 1.33.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -79,48 +79,23 @@ update-examples: ## Update documentation examples
79
79
  update-vcr-tests: ## Update tests using VCR that hit LLM APIs; note you'll need to set API keys as appropriate
80
80
  uv run -m pytest --record-mode=rewrite tests
81
81
 
82
- # `--no-strict` so you can build the docs without insiders packages
82
+ # `--no-strict` so you can build the docs without fixing all warnings
83
83
  .PHONY: docs
84
84
  docs: ## Build the documentation
85
85
  uv run mkdocs build --no-strict
86
86
 
87
- # `--no-strict` so you can build the docs without insiders packages
87
+ # `--no-strict` so you can build the docs without fixing all warnings
88
88
  .PHONY: docs-serve
89
89
  docs-serve: ## Build and serve the documentation
90
90
  uv run mkdocs serve --no-strict
91
91
 
92
- .PHONY: .docs-insiders-install
93
- .docs-insiders-install: ## Install insiders packages for docs if necessary
94
- ifeq ($(shell uv pip show mkdocs-material | grep -q insiders && echo 'installed'), installed)
95
- @echo 'insiders packages already installed'
96
- else ifeq ($(PPPR_TOKEN),)
97
- @echo "Error: PPPR_TOKEN is not set, can't install insiders packages"
98
- @exit 1
99
- else
100
- @echo 'installing insiders packages...'
101
- @uv pip install --reinstall --no-deps \
102
- --extra-index-url https://pydantic:${PPPR_TOKEN}@pppr.pydantic.dev/simple/ \
103
- mkdocs-material mkdocstrings-python
104
- endif
105
-
106
- .PHONY: docs-insiders
107
- docs-insiders: .docs-insiders-install ## Build the documentation using insiders packages
108
- uv run --no-sync mkdocs build -f mkdocs.insiders.yml
109
-
110
- .PHONY: docs-serve-insiders
111
- docs-serve-insiders: .docs-insiders-install ## Build and serve the documentation using insiders packages
112
- uv run --no-sync mkdocs serve -f mkdocs.insiders.yml
113
-
114
92
  .PHONY: cf-pages-build
115
93
  cf-pages-build: ## Install uv, install dependencies and build the docs, used on CloudFlare Pages
116
94
  curl -LsSf https://astral.sh/uv/install.sh | sh
117
95
  uv python install 3.12
118
96
  uv sync --python 3.12 --frozen --group docs
119
- uv pip install --reinstall --no-deps \
120
- --extra-index-url https://pydantic:${PPPR_TOKEN}@pppr.pydantic.dev/simple/ \
121
- mkdocs-material mkdocstrings-python
122
97
  uv pip freeze
123
- uv run --no-sync mkdocs build -f mkdocs.insiders.yml
98
+ uv run mkdocs build
124
99
 
125
100
  .PHONY: all
126
101
  all: format lint typecheck testcov ## Run code formatting, linting, static type checks, and tests with coverage report generation
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pydantic-ai
3
- Version: 1.31.0
3
+ Version: 1.33.0
4
4
  Summary: Agent Framework / shim to use Pydantic with LLMs
5
5
  Project-URL: Homepage, https://ai.pydantic.dev
6
6
  Project-URL: Source, https://github.com/pydantic/pydantic-ai
@@ -26,25 +26,25 @@ Classifier: Topic :: Internet
26
26
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
27
27
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
28
28
  Requires-Python: >=3.10
29
- Requires-Dist: pydantic-ai-slim[ag-ui,anthropic,bedrock,cli,cohere,evals,fastmcp,google,groq,huggingface,logfire,mcp,mistral,openai,retries,temporal,ui,vertexai]==1.31.0
29
+ Requires-Dist: pydantic-ai-slim[ag-ui,anthropic,bedrock,cli,cohere,evals,fastmcp,google,groq,huggingface,logfire,mcp,mistral,openai,retries,temporal,ui,vertexai]==1.33.0
30
30
  Provides-Extra: a2a
31
31
  Requires-Dist: fasta2a>=0.4.1; extra == 'a2a'
32
32
  Provides-Extra: dbos
33
- Requires-Dist: pydantic-ai-slim[dbos]==1.31.0; extra == 'dbos'
33
+ Requires-Dist: pydantic-ai-slim[dbos]==1.33.0; extra == 'dbos'
34
34
  Provides-Extra: examples
35
- Requires-Dist: pydantic-ai-examples==1.31.0; extra == 'examples'
35
+ Requires-Dist: pydantic-ai-examples==1.33.0; extra == 'examples'
36
36
  Provides-Extra: outlines-llamacpp
37
- Requires-Dist: pydantic-ai-slim[outlines-llamacpp]==1.31.0; extra == 'outlines-llamacpp'
37
+ Requires-Dist: pydantic-ai-slim[outlines-llamacpp]==1.33.0; extra == 'outlines-llamacpp'
38
38
  Provides-Extra: outlines-mlxlm
39
- Requires-Dist: pydantic-ai-slim[outlines-mlxlm]==1.31.0; (platform_system == 'Darwin' and platform_machine == 'arm64') and extra == 'outlines-mlxlm'
39
+ Requires-Dist: pydantic-ai-slim[outlines-mlxlm]==1.33.0; (platform_system == 'Darwin' and platform_machine == 'arm64') and extra == 'outlines-mlxlm'
40
40
  Provides-Extra: outlines-sglang
41
- Requires-Dist: pydantic-ai-slim[outlines-sglang]==1.31.0; extra == 'outlines-sglang'
41
+ Requires-Dist: pydantic-ai-slim[outlines-sglang]==1.33.0; extra == 'outlines-sglang'
42
42
  Provides-Extra: outlines-transformers
43
- Requires-Dist: pydantic-ai-slim[outlines-transformers]==1.31.0; extra == 'outlines-transformers'
43
+ Requires-Dist: pydantic-ai-slim[outlines-transformers]==1.33.0; extra == 'outlines-transformers'
44
44
  Provides-Extra: outlines-vllm-offline
45
- Requires-Dist: pydantic-ai-slim[outlines-vllm-offline]==1.31.0; extra == 'outlines-vllm-offline'
45
+ Requires-Dist: pydantic-ai-slim[outlines-vllm-offline]==1.33.0; extra == 'outlines-vllm-offline'
46
46
  Provides-Extra: prefect
47
- Requires-Dist: pydantic-ai-slim[prefect]==1.31.0; extra == 'prefect'
47
+ Requires-Dist: pydantic-ai-slim[prefect]==1.33.0; extra == 'prefect'
48
48
  Description-Content-Type: text/markdown
49
49
 
50
50
  <div align="center">
@@ -120,8 +120,8 @@ docs = [
120
120
  "mkdocs-glightbox>=0.4.0",
121
121
  "mkdocs-llmstxt>=0.2.0",
122
122
  "mkdocs-redirects>=1.2.2",
123
- "mkdocs-material[imaging]>=9.5.45",
124
- "mkdocstrings-python>=1.12.2",
123
+ "mkdocs-material[imaging]>=9.7.0",
124
+ "mkdocstrings-python>=2.0.0",
125
125
  "griffe-warnings-deprecated>=1.1.0",
126
126
  "pydantic-docs",
127
127
  ]
@@ -307,6 +307,8 @@ exclude_lines = [
307
307
  'except ImportError as _import_error:',
308
308
  '$\s*pass$',
309
309
  'assert False',
310
+ '@pytest\.mark\.skip',
311
+ '@pytest\.mark\.xfail',
310
312
  ]
311
313
 
312
314
  [tool.logfire]
File without changes
File without changes
File without changes