Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Update deps & lock

Omar Khattab6fd3616b0274
diff --git a/poetry.lock b/poetry.lock
index 897d8d6ce..b0a584e58 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1063,6 +1063,17 @@ files = [
{file = "dirtyjson-1.0.8.tar.gz", hash = "sha256:90ca4a18f3ff30ce849d100dcf4a003953c79d3a2348ef056f1d9c22231a25fd"},
]
+[[package]]
+name = "diskcache"
+version = "5.6.3"
+description = "Disk Cache -- Disk and file backed persistent cache."
+optional = false
+python-versions = ">=3"
+files = [
+ {file = "diskcache-5.6.3-py3-none-any.whl", hash = "sha256:5e31b2d5fbad117cc363ebaf6b689474db18a1f6438bc82358b024abd4c2ca19"},
+ {file = "diskcache-5.6.3.tar.gz", hash = "sha256:2c3a3fa2743d8535d832ec61c2054a1641f41775aa7c556758a109941e33e4fc"},
+]
+
[[package]]
name = "distlib"
version = "0.3.8"
@@ -7465,4 +7476,4 @@ weaviate = ["weaviate-client"]
[metadata]
lock-version = "2.0"
python-versions = ">=3.9,<3.13"
-content-hash = "edcb04824ef8c42a4f6c713845d3f832626310c5ef3df72a800f8d44079890cc"
+content-hash = "bde4c18a93880a262b2ea0bff3965a5bf0b08359da77439f455871b4fde493a0"
diff --git a/pyproject.toml b/pyproject.toml
index 48ef1ab99..5052b68cc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -41,7 +41,8 @@ dependencies = [
"structlog",
"jinja2",
"magicattr~=0.1.6",
- "litellm"
+ "litellm",
+ "diskcache"
]
[project.optional-dependencies]
@@ -131,7 +132,7 @@ snowflake-snowpark-python = { version = "*",optional=true, python = ">=3.9,<3.12
jinja2 = "^3.1.3"
magicattr = "^0.1.6"
litellm = "^1.4.27"
-
+diskcache = "^5.6.0"
[tool.poetry.group.dev.dependencies]
diff --git a/requirements.txt b/requirements.txt
index 64648d3ee..698575337 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -13,3 +13,4 @@ ujson
httpx
magicattr~=0.1.6
litellm
+diskcache