pydantic-ai 1.37.0__tar.gz → 1.39.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pydantic-ai
3
- Version: 1.37.0
3
+ Version: 1.39.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,27 @@ 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.37.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.39.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.37.0; extra == 'dbos'
33
+ Requires-Dist: pydantic-ai-slim[dbos]==1.39.0; extra == 'dbos'
34
34
  Provides-Extra: examples
35
- Requires-Dist: pydantic-ai-examples==1.37.0; extra == 'examples'
35
+ Requires-Dist: pydantic-ai-examples==1.39.0; extra == 'examples'
36
36
  Provides-Extra: outlines-llamacpp
37
- Requires-Dist: pydantic-ai-slim[outlines-llamacpp]==1.37.0; extra == 'outlines-llamacpp'
37
+ Requires-Dist: pydantic-ai-slim[outlines-llamacpp]==1.39.0; extra == 'outlines-llamacpp'
38
38
  Provides-Extra: outlines-mlxlm
39
- Requires-Dist: pydantic-ai-slim[outlines-mlxlm]==1.37.0; (platform_system == 'Darwin' and platform_machine == 'arm64') and extra == 'outlines-mlxlm'
39
+ Requires-Dist: pydantic-ai-slim[outlines-mlxlm]==1.39.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.37.0; extra == 'outlines-sglang'
41
+ Requires-Dist: pydantic-ai-slim[outlines-sglang]==1.39.0; extra == 'outlines-sglang'
42
42
  Provides-Extra: outlines-transformers
43
- Requires-Dist: pydantic-ai-slim[outlines-transformers]==1.37.0; extra == 'outlines-transformers'
43
+ Requires-Dist: pydantic-ai-slim[outlines-transformers]==1.39.0; extra == 'outlines-transformers'
44
44
  Provides-Extra: outlines-vllm-offline
45
- Requires-Dist: pydantic-ai-slim[outlines-vllm-offline]==1.37.0; extra == 'outlines-vllm-offline'
45
+ Requires-Dist: pydantic-ai-slim[outlines-vllm-offline]==1.39.0; extra == 'outlines-vllm-offline'
46
46
  Provides-Extra: prefect
47
- Requires-Dist: pydantic-ai-slim[prefect]==1.37.0; extra == 'prefect'
47
+ Requires-Dist: pydantic-ai-slim[prefect]==1.39.0; extra == 'prefect'
48
+ Provides-Extra: sentence-transformers
49
+ Requires-Dist: pydantic-ai-slim[sentence-transformers]==1.39.0; extra == 'sentence-transformers'
48
50
  Description-Content-Type: text/markdown
49
51
 
50
52
  <div align="center">
@@ -59,6 +59,7 @@ outlines-llamacpp = ["pydantic-ai-slim[outlines-llamacpp]=={{ version }}"]
59
59
  outlines-mlxlm = ["pydantic-ai-slim[outlines-mlxlm]=={{ version }}; platform_system == 'Darwin' and platform_machine == 'arm64'"]
60
60
  outlines-sglang = ["pydantic-ai-slim[outlines-sglang]=={{ version }}"]
61
61
  outlines-vllm-offline = ["pydantic-ai-slim[outlines-vllm-offline]=={{ version }}"]
62
+ sentence-transformers = ["pydantic-ai-slim[sentence-transformers]=={{ version }}"]
62
63
 
63
64
  [project.urls]
64
65
  Homepage = "https://ai.pydantic.dev"
@@ -104,7 +105,7 @@ dev = [
104
105
  "pytest-pretty>=1.3.0",
105
106
  "pytest-recording>=0.13.2",
106
107
  "diff-cover>=9.2.0",
107
- "boto3-stubs[bedrock-runtime]",
108
+ "boto3-stubs[bedrock-runtime]>=1.42.13",
108
109
  "strict-no-cover @ git+https://github.com/pydantic/strict-no-cover.git@7fc59da2c4dff919db2095a0f0e47101b657131d",
109
110
  "pytest-xdist>=3.6.1",
110
111
  # Needed for PyCharm users
@@ -196,7 +197,7 @@ quote-style = "single"
196
197
  "docs/**/*.py" = ["D"]
197
198
 
198
199
  [tool.pyright]
199
- pythonVersion = "3.12"
200
+ pythonVersion = "3.10"
200
201
  typeCheckingMode = "strict"
201
202
  reportMissingTypeStubs = false
202
203
  reportUnnecessaryIsInstance = false
@@ -245,7 +246,6 @@ filterwarnings = [
245
246
  "ignore:unclosed <socket:ResourceWarning",
246
247
  "ignore:unclosed event loop:ResourceWarning",
247
248
  ]
248
- # addopts = ["--inline-snapshot=create,fix"]
249
249
 
250
250
  # https://coverage.readthedocs.io/en/latest/config.html#run
251
251
  [tool.coverage.run]
@@ -261,9 +261,11 @@ include = [
261
261
  "tests/**/*.py",
262
262
  ]
263
263
  omit = [
264
- "tests/test_live.py",
265
264
  "tests/example_modules/*.py",
266
265
  "pydantic_ai_slim/pydantic_ai/ext/aci.py", # aci-sdk is too niche to be added as an (optional) dependency
266
+ # TODO(Marcelo): Enable prefect coverage again.
267
+ "pydantic_ai_slim/pydantic_ai/durable_exec/prefect/*.py",
268
+ "tests/test_prefect.py",
267
269
  ]
268
270
  branch = true
269
271
  # Disable include-ignored warnings as --source is enabled automatically causing a self conflict as per:
File without changes
File without changes
File without changes
File without changes