From cbf0e65905952ca61fb3defce6af4a13076e775c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 May 2025 01:23:18 +0000 Subject: [PATCH] build(deps): bump pydantic-ai from 0.0.40 to 0.1.9 Bumps [pydantic-ai](https://github.com/pydantic/pydantic-ai) from 0.0.40 to 0.1.9. - [Release notes](https://github.com/pydantic/pydantic-ai/releases) - [Changelog](https://github.com/pydantic/pydantic-ai/blob/main/docs/changelog.md) - [Commits](https://github.com/pydantic/pydantic-ai/compare/v0.0.40...v0.1.9) --- updated-dependencies: - dependency-name: pydantic-ai dependency-version: 0.1.9 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- poetry.lock | 177 +++++++++++++++++++++++++++++++++++++++++-------- pyproject.toml | 2 +- 2 files changed, 149 insertions(+), 30 deletions(-) diff --git a/poetry.lock b/poetry.lock index 14e8706..532fdf3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -525,6 +525,7 @@ description = "" optional = false python-versions = "<4.0,>=3.9" groups = ["main"] +markers = "platform_system != \"Emscripten\"" files = [ {file = "cohere-5.13.12-py3-none-any.whl", hash = "sha256:2a043591a3e5280b47716a6b311e4c7f58e799364113a9cb81b50cd4f6c95f7e"}, {file = "cohere-5.13.12.tar.gz", hash = "sha256:97bb9ac107e580780b941acbabd3aa5e71960e6835398292c46aaa8a0a4cab88"}, @@ -821,6 +822,7 @@ description = "Fast read/write of AVRO files" optional = false python-versions = ">=3.9" groups = ["main"] +markers = "platform_system != \"Emscripten\"" files = [ {file = "fastavro-1.10.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:1a9fe0672d2caf0fe54e3be659b13de3cad25a267f2073d6f4b9f8862acc31eb"}, {file = "fastavro-1.10.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:86dd0410770e0c99363788f0584523709d85e57bb457372ec5c285a482c17fe6"}, @@ -1940,6 +1942,34 @@ files = [ [package.dependencies] traitlets = "*" +[[package]] +name = "mcp" +version = "1.7.1" +description = "Model Context Protocol SDK" +optional = false +python-versions = ">=3.10" +groups = ["main"] +files = [ + {file = "mcp-1.7.1-py3-none-any.whl", hash = "sha256:f7e6108977db6d03418495426c7ace085ba2341b75197f8727f96f9cfd30057a"}, + {file = "mcp-1.7.1.tar.gz", hash = "sha256:eb4f1f53bd717f75dda8a1416e00804b831a8f3c331e23447a03b78f04b43a6e"}, +] + +[package.dependencies] +anyio = ">=4.5" +httpx = ">=0.27" +httpx-sse = ">=0.4" +pydantic = ">=2.7.2,<3.0.0" +pydantic-settings = ">=2.5.2" +python-multipart = ">=0.0.9" +sse-starlette = ">=1.6.1" +starlette = ">=0.27" +uvicorn = {version = ">=0.23.1", markers = "sys_platform != \"emscripten\""} + +[package.extras] +cli = ["python-dotenv (>=1.0.0)", "typer (>=0.12.4)"] +rich = ["rich (>=13.9.4)"] +ws = ["websockets (>=15.0.1)"] + [[package]] name = "mdit-py-plugins" version = "0.4.2" @@ -2409,14 +2439,14 @@ files = [ [[package]] name = "openai" -version = "1.65.1" +version = "1.77.0" description = "The official Python library for the openai API" optional = false python-versions = ">=3.8" groups = ["main"] files = [ - {file = "openai-1.65.1-py3-none-any.whl", hash = "sha256:396652a6452dd42791b3ad8a3aab09b1feb7c1c4550a672586fb300760a8e204"}, - {file = "openai-1.65.1.tar.gz", hash = "sha256:9d9370a20d2b8c3ce319fd2194c2eef5eab59effbcc5b04ff480977edc530fba"}, + {file = "openai-1.77.0-py3-none-any.whl", hash = "sha256:07706e91eb71631234996989a8ea991d5ee56f0744ef694c961e0824d4f39218"}, + {file = "openai-1.77.0.tar.gz", hash = "sha256:897969f927f0068b8091b4b041d1f8175bcf124f7ea31bab418bf720971223bc"}, ] [package.dependencies] @@ -2431,7 +2461,8 @@ typing-extensions = ">=4.11,<5" [package.extras] datalib = ["numpy (>=1)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)"] -realtime = ["websockets (>=13,<15)"] +realtime = ["websockets (>=13,<16)"] +voice-helpers = ["numpy (>=2.0.2)", "sounddevice (>=0.5.1)"] [[package]] name = "opentelemetry-api" @@ -2979,67 +3010,71 @@ timezone = ["tzdata ; python_version >= \"3.9\" and platform_system == \"Windows [[package]] name = "pydantic-ai" -version = "0.0.40" +version = "0.1.9" description = "Agent Framework / shim to use Pydantic with LLMs" optional = false python-versions = ">=3.9" groups = ["main"] files = [ - {file = "pydantic_ai-0.0.40-py3-none-any.whl", hash = "sha256:d7cb87e3dafc3723ededa70e741c705fa588cb49ab7a1960c0f11c58aab2cc6c"}, - {file = "pydantic_ai-0.0.40.tar.gz", hash = "sha256:db4ac09b8590cdf232190bad2203ce37b12057ad35b93fb305f06fbcb3245e1e"}, + {file = "pydantic_ai-0.1.9-py3-none-any.whl", hash = "sha256:45aefd139f24723c7410f77d65e4512a9c5895cecbe128cd48b63a2958561e5e"}, + {file = "pydantic_ai-0.1.9.tar.gz", hash = "sha256:bf0002fc86f7cd23ab32c4be26320af386453c1b4d134fdd7b5c919442fab8a1"}, ] [package.dependencies] -pydantic-ai-slim = {version = "0.0.40", extras = ["anthropic", "bedrock", "cli", "cohere", "groq", "mistral", "openai", "vertexai"]} +pydantic-ai-slim = {version = "0.1.9", extras = ["anthropic", "bedrock", "cli", "cohere", "evals", "groq", "mcp", "mistral", "openai", "vertexai"]} [package.extras] -examples = ["pydantic-ai-examples (==0.0.40)"] -logfire = ["logfire (>=2.3)"] +examples = ["pydantic-ai-examples (==0.1.9)"] +logfire = ["logfire (>=3.11.0)"] [[package]] name = "pydantic-ai-slim" -version = "0.0.40" +version = "0.1.9" description = "Agent Framework / shim to use Pydantic with LLMs, slim package" optional = false python-versions = ">=3.9" groups = ["main"] files = [ - {file = "pydantic_ai_slim-0.0.40-py3-none-any.whl", hash = "sha256:5b67312dd50c0954105553dcf1ad9b0f02a9bfae1937a2a25ede21b038395aa8"}, - {file = "pydantic_ai_slim-0.0.40.tar.gz", hash = "sha256:f143f3ec6c2894a1d9f177a3a46c4a0bbe5b765ae84319d54d0695320dab17ad"}, + {file = "pydantic_ai_slim-0.1.9-py3-none-any.whl", hash = "sha256:2f085acf90bd0f5d39dabc84f100b7bc7ee804f579f15868bb1afa5302328e19"}, + {file = "pydantic_ai_slim-0.1.9.tar.gz", hash = "sha256:bd8b52fc75091b5dd15617b8e2d495545b2a506f1c02d43bfb3d809f496092b4"}, ] [package.dependencies] anthropic = {version = ">=0.49.0", optional = true, markers = "extra == \"anthropic\""} argcomplete = {version = ">=3.5.0", optional = true, markers = "extra == \"cli\""} -boto3 = {version = ">=1.34.116", optional = true, markers = "extra == \"bedrock\""} -cohere = {version = ">=5.13.11", optional = true, markers = "extra == \"cohere\""} +boto3 = {version = ">=1.35.74", optional = true, markers = "extra == \"bedrock\""} +cohere = {version = ">=5.13.11", optional = true, markers = "platform_system != \"Emscripten\" and extra == \"cohere\""} eval-type-backport = ">=0.2.0" google-auth = {version = ">=2.36.0", optional = true, markers = "extra == \"vertexai\""} griffe = ">=1.3.2" -groq = {version = ">=0.12.0", optional = true, markers = "extra == \"groq\""} +groq = {version = ">=0.15.0", optional = true, markers = "extra == \"groq\""} httpx = ">=0.27" +mcp = {version = ">=1.6.0", optional = true, markers = "python_version >= \"3.10\" and extra == \"mcp\""} mistralai = {version = ">=1.2.5", optional = true, markers = "extra == \"mistral\""} -openai = {version = ">=1.65.1", optional = true, markers = "extra == \"openai\""} +openai = {version = ">=1.75.0", optional = true, markers = "extra == \"openai\""} opentelemetry-api = ">=1.28.0" prompt-toolkit = {version = ">=3", optional = true, markers = "extra == \"cli\""} pydantic = ">=2.10" -pydantic-graph = "0.0.40" -requests = {version = ">=2.32.3", optional = true, markers = "extra == \"vertexai\""} +pydantic-evals = {version = "0.1.9", optional = true, markers = "extra == \"evals\""} +pydantic-graph = "0.1.9" +requests = {version = ">=2.32.2", optional = true, markers = "extra == \"vertexai\""} rich = {version = ">=13", optional = true, markers = "extra == \"cli\""} typing-inspection = ">=0.4.0" [package.extras] anthropic = ["anthropic (>=0.49.0)"] -bedrock = ["boto3 (>=1.34.116)"] +bedrock = ["boto3 (>=1.35.74)"] cli = ["argcomplete (>=3.5.0)", "prompt-toolkit (>=3)", "rich (>=13)"] -cohere = ["cohere (>=5.13.11)"] +cohere = ["cohere (>=5.13.11) ; platform_system != \"Emscripten\""] duckduckgo = ["duckduckgo-search (>=7.0.0)"] -groq = ["groq (>=0.12.0)"] -logfire = ["logfire (>=2.3)"] +evals = ["pydantic-evals (==0.1.9)"] +groq = ["groq (>=0.15.0)"] +logfire = ["logfire (>=3.11.0)"] +mcp = ["mcp (>=1.6.0) ; python_version >= \"3.10\""] mistral = ["mistralai (>=1.2.5)"] -openai = ["openai (>=1.65.1)"] +openai = ["openai (>=1.75.0)"] tavily = ["tavily-python (>=0.5.0)"] -vertexai = ["google-auth (>=2.36.0)", "requests (>=2.32.3)"] +vertexai = ["google-auth (>=2.36.0)", "requests (>=2.32.2)"] [[package]] name = "pydantic-core" @@ -3154,16 +3189,39 @@ files = [ [package.dependencies] typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0" +[[package]] +name = "pydantic-evals" +version = "0.1.9" +description = "Framework for evaluating stochastic code execution, especially code making use of LLMs" +optional = false +python-versions = ">=3.9" +groups = ["main"] +files = [ + {file = "pydantic_evals-0.1.9-py3-none-any.whl", hash = "sha256:26253d7346455161c74175a76fdb9ad65f4e062a8a886e2d4a14d81f464036a6"}, + {file = "pydantic_evals-0.1.9.tar.gz", hash = "sha256:923d64ba57ba1edcfaadb91a61c6ad4dc7c4a96169ca93ce04f48bcbd6777257"}, +] + +[package.dependencies] +anyio = ">=0" +logfire-api = ">=1.2.0" +pydantic = ">=2.10" +pydantic-ai-slim = "0.1.9" +pyyaml = ">=6.0.2" +rich = ">=13.9.4" + +[package.extras] +logfire = ["logfire (>=2.3)"] + [[package]] name = "pydantic-graph" -version = "0.0.40" +version = "0.1.9" description = "Graph and state machine library" optional = false python-versions = ">=3.9" groups = ["main"] files = [ - {file = "pydantic_graph-0.0.40-py3-none-any.whl", hash = "sha256:02d7465ac824971b03017117b81b756e7763b1406c1e13f330bb8e78e299ce4b"}, - {file = "pydantic_graph-0.0.40.tar.gz", hash = "sha256:0dd25950e5c6c943a25acf01e2b5c5b17ba32c554ea7d783aa2a036f700ea52e"}, + {file = "pydantic_graph-0.1.9-py3-none-any.whl", hash = "sha256:8fbbe31bb402b45d27ccb2b12b60d4bf103a9fe65e2c996fecc8eb943175ece7"}, + {file = "pydantic_graph-0.1.9.tar.gz", hash = "sha256:bfb9efcd586fbd741fd026f57d699df13a069a3810449dde29219469de28c58d"}, ] [package.dependencies] @@ -3172,6 +3230,30 @@ logfire-api = ">=1.2.0" pydantic = ">=2.10" typing-inspection = ">=0.4.0" +[[package]] +name = "pydantic-settings" +version = "2.9.1" +description = "Settings management using Pydantic" +optional = false +python-versions = ">=3.9" +groups = ["main"] +files = [ + {file = "pydantic_settings-2.9.1-py3-none-any.whl", hash = "sha256:59b4f431b1defb26fe620c71a7d3968a710d719f5f4cdbbdb7926edeb770f6ef"}, + {file = "pydantic_settings-2.9.1.tar.gz", hash = "sha256:c509bf79d27563add44e8446233359004ed85066cd096d8b510f715e6ef5d268"}, +] + +[package.dependencies] +pydantic = ">=2.7.0" +python-dotenv = ">=0.21.0" +typing-inspection = ">=0.4.0" + +[package.extras] +aws-secrets-manager = ["boto3 (>=1.35.0)", "boto3-stubs[secretsmanager]"] +azure-key-vault = ["azure-identity (>=1.16.0)", "azure-keyvault-secrets (>=4.8.0)"] +gcp-secret-manager = ["google-cloud-secret-manager (>=2.23.1)"] +toml = ["tomli (>=2.0.1)"] +yaml = ["pyyaml (>=6.0.1)"] + [[package]] name = "pygments" version = "2.19.1" @@ -3313,6 +3395,21 @@ files = [ [package.dependencies] six = ">=1.5" +[[package]] +name = "python-dotenv" +version = "1.1.0" +description = "Read key-value pairs from a .env file and set them as environment variables" +optional = false +python-versions = ">=3.9" +groups = ["main"] +files = [ + {file = "python_dotenv-1.1.0-py3-none-any.whl", hash = "sha256:d7c01d9e2293916c18baf562d95698754b0dbbb5e74d457c45d4f6561fb9d55d"}, + {file = "python_dotenv-1.1.0.tar.gz", hash = "sha256:41f90bc6f5f177fb41f53e87666db362025010eb28f60a01c9143bfa33a2b2d5"}, +] + +[package.extras] +cli = ["click (>=5.0)"] + [[package]] name = "python-multipart" version = "0.0.20" @@ -3891,6 +3988,26 @@ files = [ {file = "soupsieve-2.6.tar.gz", hash = "sha256:e2e68417777af359ec65daac1057404a3c8a5455bb8abc36f1a9866ab1a51abb"}, ] +[[package]] +name = "sse-starlette" +version = "2.3.4" +description = "SSE plugin for Starlette" +optional = false +python-versions = ">=3.9" +groups = ["main"] +files = [ + {file = "sse_starlette-2.3.4-py3-none-any.whl", hash = "sha256:b8100694f3f892b133d0f7483acb7aacfcf6ed60f863b31947664b6dc74e529f"}, + {file = "sse_starlette-2.3.4.tar.gz", hash = "sha256:0ffd6bed217cdbb74a84816437c609278003998b4991cd2e6872d0b35130e4d5"}, +] + +[package.dependencies] +anyio = ">=4.7.0" +starlette = ">=0.41.3" + +[package.extras] +examples = ["fastapi"] +uvicorn = ["uvicorn (>=0.34.0)"] + [[package]] name = "stack-data" version = "0.6.3" @@ -3985,6 +4102,7 @@ description = "" optional = false python-versions = ">=3.7" groups = ["main"] +markers = "platform_system != \"Emscripten\"" files = [ {file = "tokenizers-0.21.0-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:3c4c93eae637e7d2aaae3d376f06085164e1660f89304c0ab2b1d08a406636b2"}, {file = "tokenizers-0.21.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:f53ea537c925422a2e0e92a24cce96f6bc5046bbef24a1652a5edc8ba975f62e"}, @@ -4119,6 +4237,7 @@ description = "Typing stubs for requests" optional = false python-versions = ">=3.8" groups = ["main"] +markers = "platform_system != \"Emscripten\"" files = [ {file = "types-requests-2.32.0.20241016.tar.gz", hash = "sha256:0d9cad2f27515d0e3e3da7134a1b6f28fb97129d86b867f24d9c726452634d95"}, {file = "types_requests-2.32.0.20241016-py3-none-any.whl", hash = "sha256:4195d62d6d3e043a4eaaf08ff8a62184584d2e8684e9d2aa178c7915a7da3747"}, @@ -4435,4 +4554,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" python-versions = "^3.11" -content-hash = "57d7f3de2e17e5696e0de11e57bb63542d1211b818fdaede2aa8c730e3058c62" +content-hash = "3be063792077203a51192246e1ad8077b62252243829be2795b3638562b67a76" diff --git a/pyproject.toml b/pyproject.toml index c2abe94..c4c02b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ matplotlib = "^3.9.2" # Visualization of results jinja2 = "^3.1.4" # Templating for code generation sentry_sdk = "^2.22.0" # Error tracking tomli = "^2.2.1" # TOML parsing -pydantic-ai = ">=0.0.24,<0.0.41" # Pydantic extension for AI models +pydantic-ai = ">=0.0.24,<0.1.10" # Pydantic extension for AI models # crewai = "^0.102.0" # CrewAI integration # autogen = "^0.4.0" # Code generation python-multipart = "^0.0.20" # For file uploads in FastAPI