Skip to content

Commit 83cc06f

Browse files
authored
Add missing version to uv-dynamic-versioning (#1310)
1 parent 970b080 commit 83cc06f

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ bump = true
1212

1313
[project]
1414
name = "pydantic-ai"
15-
dynamic = ["version", "dependencies"]
15+
dynamic = ["version", "dependencies", "optional-dependencies"]
1616
description = "Agent Framework / shim to use Pydantic with LLMs"
1717
authors = [
1818
{ name = "Samuel Colvin", email = "[email protected]" },
@@ -49,16 +49,16 @@ dependencies = [
4949
"pydantic-ai-slim[openai,vertexai,groq,anthropic,mistral,cohere,bedrock,cli,mcp,evals]=={{ version }}",
5050
]
5151

52+
[tool.hatch.metadata.hooks.uv-dynamic-versioning.optional-dependencies]
53+
examples = ["pydantic-ai-examples=={{ version }}"]
54+
logfire = ["logfire>=3.11.0"]
55+
5256
[project.urls]
5357
Homepage = "https://ai.pydantic.dev"
5458
Source = "https://github.com/pydantic/pydantic-ai"
5559
Documentation = "https://ai.pydantic.dev"
5660
Changelog = "https://github.com/pydantic/pydantic-ai/releases"
5761

58-
[project.optional-dependencies]
59-
examples = ["pydantic-ai-examples==0.0.46"]
60-
logfire = ["logfire>=3.11.0"]
61-
6262
[project.scripts]
6363
pai = "pydantic_ai._cli:app"
6464

uv.lock

Lines changed: 3 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)