diff --git a/poetry.lock b/poetry.lock index b75e21f..24012f3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. [[package]] name = "aiohappyeyeballs" @@ -210,7 +210,7 @@ files = [ {file = "async-timeout-4.0.3.tar.gz", hash = "sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f"}, {file = "async_timeout-4.0.3-py3-none-any.whl", hash = "sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028"}, ] -markers = {main = "extra == \"langchain\" and python_version < \"3.11\"", test = "python_version < \"3.11\""} +markers = {main = "extra == \"langchain\" and python_version == \"3.10\"", test = "python_version == \"3.10\""} [[package]] name = "attrs" @@ -566,7 +566,7 @@ description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" groups = ["main", "dev", "test"] -markers = "python_version < \"3.11\"" +markers = "python_version == \"3.10\"" files = [ {file = "exceptiongroup-1.3.0-py3-none-any.whl", hash = "sha256:4d111e6e0c13d0644cad6ddaa7ed0261a0b36971f6d23e7ec9b4b9097da78a10"}, {file = "exceptiongroup-1.3.0.tar.gz", hash = "sha256:b241f5885f560bc56a59ee63ca4c6a8bfa46ae4ad651af316d4e81817bb9fd88"}, @@ -1256,8 +1256,8 @@ langchain = ">=0.3.26,<1.0.0" langchain-core = ">=0.3.66,<1.0.0" langsmith = ">=0.1.125" numpy = [ - {version = ">=2.1.0", markers = "python_version >= \"3.13\""}, {version = ">=1.26.2", markers = "python_version < \"3.13\""}, + {version = ">=2.1.0", markers = "python_version >= \"3.13\""}, ] pydantic-settings = ">=2.4.0,<3.0.0" PyYAML = ">=5.3" @@ -2224,8 +2224,8 @@ files = [ annotated-types = ">=0.4.0" pydantic-core = "2.20.1" typing-extensions = [ - {version = ">=4.12.2", markers = "python_version >= \"3.13\""}, {version = ">=4.6.1", markers = "python_version < \"3.13\""}, + {version = ">=4.12.2", markers = "python_version >= \"3.13\""}, ] [package.extras] @@ -2953,7 +2953,7 @@ description = "A lil' TOML parser" optional = false python-versions = ">=3.8" groups = ["dev", "test"] -markers = "python_version < \"3.11\"" +markers = "python_version == \"3.10\"" files = [ {file = "tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249"}, {file = "tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:023aa114dd824ade0100497eb2318602af309e5a55595f76b626d6d9f3b7b0a6"}, @@ -3041,7 +3041,7 @@ files = [ {file = "typing_extensions-4.14.1-py3-none-any.whl", hash = "sha256:d1e1e3b58374dc93031d6eda2420a48ea44a36c2b4766a4fdeb3710755731d76"}, {file = "typing_extensions-4.14.1.tar.gz", hash = "sha256:38b39f4aeeab64884ce9f74c94263ef78f3c22467c8724005483154c26648d36"}, ] -markers = {dev = "python_version < \"3.11\""} +markers = {dev = "python_version == \"3.10\""} [[package]] name = "typing-inspect" @@ -3805,4 +3805,4 @@ langchain-serve = ["fastapi", "python-dotenv"] [metadata] lock-version = "2.1" python-versions = ">=3.10,<4.0" -content-hash = "58ab95c5ef27852a0655d044abbd7fcfc9a57b09dc8079b57b0d26d7fc0ef755" +content-hash = "c7826f2ba0dacc86f1a67b28fc2a05bc9f33db0a08999f28e51978ebee7fddad" diff --git a/pyproject.toml b/pyproject.toml index 3964c8d..4ee28b0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,8 +10,7 @@ repository = "https://github.com/samuelint/langchain-openai-api-bridge" [tool.poetry.dependencies] python = ">=3.10,<4.0" openai = "^1.93.0" -pydantic = "~2.8.0" - +pydantic = ">=2.8.0,<3.0.0" langchain = { version = "^0.3.26", optional = true } langchain-openai = { version = "^0.3.27", optional = true } fastapi = { version = "^0.115.14", extras = ["standard"], optional = true }