DSPy: The framework for programming—not prompting—language models
Python
Fix poetry lock (#6755)
Chen Qianc2c764b3d161
diff --git a/poetry.lock b/poetry.lockindex 0b51e3b29..23e1abc3b 100644--- a/poetry.lock+++ b/poetry.lock@@ -1,4 +1,4 @@-# This file is automatically @generated by Poetry 2.0.0 and should not be changed by hand.+# This file is automatically @generated by Poetry 2.0.1 and should not be changed by hand.[[package]]name = "aiohappyeyeballs"@@ -2876,15 +2876,15 @@ tests = ["aiohttp", "boto3", "duckdb", "pandas (>=1.4)", "polars (>=0.19)", "pyt[[package]]name = "litellm"-version = "1.57.4"+version = "1.59.8"description = "Library to easily interface with LLM API providers"optional = falsepython-versions = "!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,>=3.8"groups = ["main", "dev"]markers = "python_version <= \"3.11\" or python_version >= \"3.12\""files = [- {file = "litellm-1.57.4-py3-none-any.whl", hash = "sha256:afe48924d8a36db801018970a101622fce33d117fe9c54441c0095c491511abb"},- {file = "litellm-1.57.4.tar.gz", hash = "sha256:747a870ddee9c71f9560fc68ad02485bc1008fcad7d7a43e87867a59b8ed0669"},+ {file = "litellm-1.59.8-py3-none-any.whl", hash = "sha256:2473914bd2343485a185dfe7eedb12ee5fda32da3c9d9a8b73f6966b9b20cf39"},+ {file = "litellm-1.59.8.tar.gz", hash = "sha256:9d645cc4460f6a9813061f07086648c4c3d22febc8e1f21c663f2b7750d90512"},][package.dependencies]@@ -2911,11 +2911,12 @@ pyyaml = {version = ">=6.0.1,<7.0.0", optional = true, markers = "extra == \"prorq = {version = "*", optional = true, markers = "extra == \"proxy\""}tiktoken = ">=0.7.0"tokenizers = "*"-uvicorn = {version = ">=0.22.0,<0.23.0", optional = true, markers = "extra == \"proxy\""}+uvicorn = {version = ">=0.29.0,<0.30.0", optional = true, markers = "extra == \"proxy\""}+uvloop = {version = ">=0.21.0,<0.22.0", optional = true, markers = "extra == \"proxy\""}[package.extras]extra-proxy = ["azure-identity (>=1.15.0,<2.0.0)", "azure-keyvault-secrets (>=4.8.0,<5.0.0)", "google-cloud-kms (>=2.21.3,<3.0.0)", "prisma (==0.11.0)", "resend (>=0.8.0,<0.9.0)"]-proxy = ["PyJWT (>=2.8.0,<3.0.0)", "apscheduler (>=3.10.4,<4.0.0)", "backoff", "cryptography (>=43.0.1,<44.0.0)", "fastapi (>=0.115.5,<0.116.0)", "fastapi-sso (>=0.16.0,<0.17.0)", "gunicorn (>=22.0.0,<23.0.0)", "orjson (>=3.9.7,<4.0.0)", "pynacl (>=1.5.0,<2.0.0)", "python-multipart (>=0.0.18,<0.0.19)", "pyyaml (>=6.0.1,<7.0.0)", "rq", "uvicorn (>=0.22.0,<0.23.0)"]+proxy = ["PyJWT (>=2.8.0,<3.0.0)", "apscheduler (>=3.10.4,<4.0.0)", "backoff", "cryptography (>=43.0.1,<44.0.0)", "fastapi (>=0.115.5,<0.116.0)", "fastapi-sso (>=0.16.0,<0.17.0)", "gunicorn (>=22.0.0,<23.0.0)", "orjson (>=3.9.7,<4.0.0)", "pynacl (>=1.5.0,<2.0.0)", "python-multipart (>=0.0.18,<0.0.19)", "pyyaml (>=6.0.1,<7.0.0)", "rq", "uvicorn (>=0.29.0,<0.30.0)", "uvloop (>=0.21.0,<0.22.0)"][[package]]name = "livereload"@@ -7840,15 +7841,15 @@ zstd = ["zstandard (>=0.18.0)"][[package]]name = "uvicorn"-version = "0.22.0"+version = "0.29.0"description = "The lightning-fast ASGI server."optional = false-python-versions = ">=3.7"+python-versions = ">=3.8"groups = ["main", "dev"]markers = "python_version <= \"3.11\" or python_version >= \"3.12\""files = [- {file = "uvicorn-0.22.0-py3-none-any.whl", hash = "sha256:e9434d3bbf05f310e762147f769c9f21235ee118ba2d2bf1155a7196448bd996"},- {file = "uvicorn-0.22.0.tar.gz", hash = "sha256:79277ae03db57ce7d9aa0567830bbb51d7a612f54d6e1e3e92da3ef24c2c8ed8"},+ {file = "uvicorn-0.29.0-py3-none-any.whl", hash = "sha256:2c2aac7ff4f4365c206fd773a39bf4ebd1047c238f8b8268ad996829323473de"},+ {file = "uvicorn-0.29.0.tar.gz", hash = "sha256:6a69214c0b6a087462412670b3ef21224fa48cae0e452b5883e8e8bdfdd11dd0"},][package.dependencies]@@ -7858,6 +7859,7 @@ h11 = ">=0.8"httptools = {version = ">=0.5.0", optional = true, markers = "extra == \"standard\""}python-dotenv = {version = ">=0.13", optional = true, markers = "extra == \"standard\""}pyyaml = {version = ">=5.1", optional = true, markers = "extra == \"standard\""}+typing-extensions = {version = ">=4.0", markers = "python_version < \"3.11\""}uvloop = {version = ">=0.14.0,<0.15.0 || >0.15.0,<0.15.1 || >0.15.1", optional = true, markers = "(sys_platform != \"win32\" and sys_platform != \"cygwin\") and platform_python_implementation != \"PyPy\" and extra == \"standard\""}watchfiles = {version = ">=0.13", optional = true, markers = "extra == \"standard\""}websockets = {version = ">=10.4", optional = true, markers = "extra == \"standard\""}@@ -7869,10 +7871,9 @@ standard = ["colorama (>=0.4)", "httptools (>=0.5.0)", "python-dotenv (>=0.13)",name = "uvloop"version = "0.21.0"description = "Fast implementation of asyncio event loop on top of libuv"-optional = true+optional = falsepython-versions = ">=3.8.0"-groups = ["main"]-markers = "platform_python_implementation != \"PyPy\" and (sys_platform != \"win32\" and sys_platform != \"cygwin\") and (python_version <= \"3.11\" or python_version >= \"3.12\")"+groups = ["main", "dev"]files = [{file = "uvloop-0.21.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:ec7e6b09a6fdded42403182ab6b832b71f4edaf7f37a9a0e371a01db5f0cb45f"},{file = "uvloop-0.21.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:196274f2adb9689a289ad7d65700d37df0c0930fd8e4e743fa4834e850d7719d"},@@ -7912,6 +7913,7 @@ files = [{file = "uvloop-0.21.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:2d1f581393673ce119355d56da84fe1dd9d2bb8b3d13ce792524e1607139feff"},{file = "uvloop-0.21.0.tar.gz", hash = "sha256:3bf12b0fda68447806a7ad847bfa591613177275d35b6724b1ee573faa3704e3"},]+markers = {main = "platform_python_implementation != \"PyPy\" and (sys_platform != \"win32\" and sys_platform != \"cygwin\") and (python_version <= \"3.11\" or python_version >= \"3.12\")", dev = "python_version <= \"3.11\" or python_version >= \"3.12\""}[package.extras]dev = ["Cython (>=3.0,<4.0)", "setuptools (>=60)"]@@ -8608,4 +8610,4 @@ weaviate = ["weaviate-client"][metadata]lock-version = "2.1"python-versions = ">=3.9,<3.13"-content-hash = "a4c5bfe1833c997d05f962b27084053c22588989d7da70a8a1fa03b0b3a32692"+content-hash = "d287a71722902352227cc39bdea54d2ff3071a0ae40b2af5231501d7c2476aa7"diff --git a/pyproject.toml b/pyproject.tomlindex 8d0b60d11..edbb586e1 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -40,7 +40,7 @@ dependencies = ["pydantic~=2.0","jinja2","magicattr~=0.1.6",- "litellm==1.57.4",+ "litellm>=1.59.8,<2.0.0","diskcache","json-repair","tenacity>=8.2.3",@@ -134,7 +134,7 @@ pgvector = { version = "^0.2.5", optional = true }llama-index = { version = "^0.10.30", optional = true }jinja2 = "^3.1.3"magicattr = "^0.1.6"-litellm = { version = "==1.57.4", extras = ["proxy"] }+litellm = { version = "^1.59.8", extras = ["proxy"] }diskcache = "^5.6.0"json-repair = "^0.30.0"tenacity = ">=8.2.3"