diff --git a/pydantic_ai_examples/pyproject.toml b/pydantic_ai_examples/pyproject.toml index f1aadf32..673003f4 100644 --- a/pydantic_ai_examples/pyproject.toml +++ b/pydantic_ai_examples/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "pydantic-ai-examples" -version = "0.0.9" +version = "0.0.10" description = "Examples of how to use PydanticAI and what it can do." authors = [ { name = "Samuel Colvin", email = "samuel@pydantic.dev" }, @@ -34,7 +34,7 @@ classifiers = [ ] requires-python = ">=3.9" dependencies = [ - "pydantic-ai-slim[openai,vertexai,groq]==0.0.9", + "pydantic-ai-slim[openai,vertexai,groq]==0.0.10", "asyncpg>=0.30.0", "fastapi>=0.115.4", "logfire[asyncpg,fastapi]>=2.3", diff --git a/pydantic_ai_slim/pyproject.toml b/pydantic_ai_slim/pyproject.toml index 9d57d6dc..a04ff997 100644 --- a/pydantic_ai_slim/pyproject.toml +++ b/pydantic_ai_slim/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "pydantic-ai-slim" -version = "0.0.9" +version = "0.0.10" description = "Agent Framework / shim to use Pydantic with LLMs, slim package" authors = [ { name = "Samuel Colvin", email = "samuel@pydantic.dev" }, diff --git a/pyproject.toml b/pyproject.toml index 3e6bf329..b24c299a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "pydantic-ai" -version = "0.0.9" +version = "0.0.10" description = "Agent Framework / shim to use Pydantic with LLMs" authors = [ { name = "Samuel Colvin", email = "samuel@pydantic.dev" }, @@ -36,7 +36,7 @@ classifiers = [ "Framework :: Pytest", ] requires-python = ">=3.9" -dependencies = ["pydantic-ai-slim[openai,vertexai,groq]==0.0.9"] +dependencies = ["pydantic-ai-slim[openai,vertexai,groq]==0.0.10"] [project.urls] Homepage = "https://ai.pydantic.dev" @@ -45,7 +45,8 @@ Documentation = "https://ai.pydantic.dev" Changelog = "https://github.com/pydantic/pydantic-ai/releases" [project.optional-dependencies] -examples = ["pydantic-ai-examples==0.0.9"] +examples = ["pydantic-ai-examples==0.0.10"] +logfire = ["logfire>=2.3"] [tool.uv.sources] pydantic-ai-slim = { workspace = true } diff --git a/uprev.py b/uprev.py index 64f086f4..5dae1492 100644 --- a/uprev.py +++ b/uprev.py @@ -12,6 +12,7 @@ """ import re +import subprocess import sys from pathlib import Path @@ -70,12 +71,13 @@ def replace_deps_version(text: str) -> tuple[str, int]: root_pp.write_text(root_pp_text) examples_pp.write_text(examples_pp_text) slim_pp.write_text(slim_pp_text) + print('running `make sync`...') + subprocess.run(['make', 'sync'], check=True) print( f'SUCCESS: replaced version in\n' - f'* {root_pp}\n' - f'* {examples_pp}\n' - f'* {slim_pp}\n\n' - 'Now run `make sync` to update the lock files.', + f' {root_pp}\n' + f' {examples_pp}\n' + f' {slim_pp}' ) else: print( diff --git a/uv.lock b/uv.lock index a5f57d61..6d16960c 100644 --- a/uv.lock +++ b/uv.lock @@ -1495,7 +1495,7 @@ wheels = [ [[package]] name = "pydantic-ai" -version = "0.0.9" +version = "0.0.10" source = { editable = "." } dependencies = [ { name = "pydantic-ai-slim", extra = ["groq", "openai", "vertexai"] }, @@ -1505,6 +1505,9 @@ dependencies = [ examples = [ { name = "pydantic-ai-examples" }, ] +logfire = [ + { name = "logfire" }, +] [package.dev-dependencies] docs = [ @@ -1522,6 +1525,7 @@ lint = [ [package.metadata] requires-dist = [ + { name = "logfire", marker = "extra == 'logfire'", specifier = ">=2.3" }, { name = "pydantic-ai-examples", marker = "extra == 'examples'", editable = "pydantic_ai_examples" }, { name = "pydantic-ai-slim", extras = ["openai", "vertexai", "groq"], editable = "pydantic_ai_slim" }, ] @@ -1542,7 +1546,7 @@ lint = [ [[package]] name = "pydantic-ai-examples" -version = "0.0.9" +version = "0.0.10" source = { editable = "pydantic_ai_examples" } dependencies = [ { name = "asyncpg" }, @@ -1567,7 +1571,7 @@ requires-dist = [ [[package]] name = "pydantic-ai-slim" -version = "0.0.9" +version = "0.0.10" source = { editable = "pydantic_ai_slim" } dependencies = [ { name = "eval-type-backport" },