Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

fix numpy version issue (#8013)

Chen Qiand751218678d7
diff --git a/poetry.lock b/poetry.lock
index 6599c2cc4..babcf6691 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -8561,4 +8561,4 @@ weaviate = ["weaviate-client"]
[metadata]
lock-version = "2.1"
python-versions = ">=3.9,<3.13"
-content-hash = "f7dacfe8e087eeccf1f6511913666ace3fa05e940198d7f24628151057d3baa7"
+content-hash = "eb10091cda3277c5fde78efd70b100009ddb5798a06bb52faf161025eea4d347"
diff --git a/pyproject.toml b/pyproject.toml
index a17e9ae68..d50f491f8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -45,7 +45,7 @@ dependencies = [
"cachetools>=5.5.0",
"cloudpickle>=3.0.0",
"rich>=13.7.1",
- "numpy==2.0.2"
+ "numpy>=1.26.0",
]
[tool.setuptools.packages.find]
@@ -122,7 +122,7 @@ asyncer = "0.0.8"
cachetools = "^5.5.0"
cloudpickle = "^3.0.0"
rich = "^13.7.1"
-numpy = "==2.0.2"
+numpy = ">=1.26.0"
# Optional dependencies (now declared inline)
anthropic = { version = ">=0.18.0,<1.0.0", optional = true }