Skip to content

Commit

Permalink
uprev to v0.0.10 (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin authored Dec 6, 2024
1 parent d595c08 commit ac7bf6d
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 13 deletions.
4 changes: 2 additions & 2 deletions pydantic_ai_examples/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion pydantic_ai_slim/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down Expand Up @@ -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"
Expand All @@ -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 }
Expand Down
10 changes: 6 additions & 4 deletions uprev.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"""

import re
import subprocess
import sys

from pathlib import Path
Expand Down Expand Up @@ -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(
Expand Down
10 changes: 7 additions & 3 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ac7bf6d

Please sign in to comment.