Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

higher poetry openai req

Darin2560b2955c87
diff --git a/pyproject.toml b/pyproject.toml
index 04204686d..d9ff8ccc6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -18,7 +18,12 @@ classifiers = [
"Programming Language :: Python :: 3", # removed 3.8
"Programming Language :: Python :: 3.9",
]
+
# We have both project and tool.poetry.dependencies. Should we remove one?
+# tool.poetry.dependencies is a convenience thing for poetry users.
+# project dependencies function similarly to requirements.txt,
+# `pip install .` will pull from pyproject.toml dependencies
+
dependencies = [
"backoff~=2.2.1",
"joblib~=1.3.2",
@@ -77,7 +82,7 @@ python = ">=3.9,<3.12"
pydantic = "2.5.0"
backoff = "^2.2.1"
joblib = "^1.3.2"
-openai = "^0.28.1"
+openai = ">=0.28.1,<2.0.0"
pandas = "^2.1.1"
regex = "^2023.10.3"
ujson = "^5.8.0"