Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

maint(dspy): loosen joblib, backoff dependency restrictions

Aaron Taylor6c2119659298
diff --git a/pyproject.toml b/pyproject.toml
index c6f4870a5..9afb45e5e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -27,8 +27,8 @@ classifiers = [
# `pip install .` will pull from pyproject.toml dependencies
dependencies = [
- "backoff~=2.2.1",
- "joblib~=1.3.2",
+ "backoff~=2.2",
+ "joblib~=1.3",
"openai>=0.28.1,<2.0.0",
"pandas",
"regex",
@@ -88,8 +88,8 @@ keywords = ["dspy", "ai", "language models", "llm", "openai"]
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
pydantic = "^2.0"
-backoff = "^2.2.1"
-joblib = "^1.3.2"
+backoff = "^2.2"
+joblib = "^1.3"
openai = ">=0.28.1,<2.0.0"
pandas = "^2.1.1"
regex = "^2023.10.3"
@@ -232,4 +232,4 @@ line-ending = "auto"
[tool.ruff.lint.per-file-ignores]
"**/{tests,testing,docs}/*" = ["ALL"]
-"**__init__.py" = ["ALL"]
\ No newline at end of file
+"**__init__.py" = ["ALL"]
diff --git a/requirements.txt b/requirements.txt
index e5569d1f3..790aec413 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,6 +1,6 @@
backoff
datasets
-joblib<=1.3.2
+joblib~=1.3
openai>=0.28.1,<2.0.0
optuna
pandas