Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Loosen version restriction to be >= 2.0

Isaac Millerd992c142c33e
diff --git a/poetry.lock b/poetry.lock
index 62b3b37ad..b7ce37fda 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1,4 +1,4 @@
-# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand.
+# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand.
[[package]]
name = "aiohttp"
@@ -6645,4 +6645,4 @@ weaviate = ["weaviate-client"]
[metadata]
lock-version = "2.0"
python-versions = ">=3.9,<3.12"
-content-hash = "582b069b4377e2b568dfdc2b43187f7c5cb3af12e1a4d6fc3a6fa7dde7edba10"
+content-hash = "f9ab8ad62a675bca6b4541e4022c33f04e6aa3dc7ef83702e1e16a1f545e881c"
diff --git a/pyproject.toml b/pyproject.toml
index 10274a71e..ef0370f86 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -35,8 +35,8 @@ dependencies = [
"datasets~=2.14.6,<3.0.0",
"requests",
"optuna",
- "pydantic>=2.5.0,<=2.7",
- "structlog"
+ "pydantic>=2.0",
+ "structlog",
]
[project.optional-dependencies]
@@ -59,7 +59,7 @@ docs = [
"autodoc_pydantic",
"sphinx-reredirects>=0.1.2",
"sphinx-automodapi==0.16.0",
-
+
]
dev = ["pytest>=6.2.5"]
@@ -82,7 +82,7 @@ keywords = ["dspy", "ai", "language models", "llm", "openai"]
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
-pydantic = ">=2.5.0,<=2.7"
+pydantic = ">=2.0"
backoff = "^2.2.1"
joblib = "^1.3.2"
openai = ">=0.28.1,<2.0.0"
@@ -112,10 +112,10 @@ sphinx_rtd_theme = { version = "*", optional = true }
autodoc_pydantic = { version = "*", optional = true }
sphinx-reredirects = { version = "^0.1.2", optional = true }
sphinx-automodapi = { version = "0.16.0", optional = true }
-groq = {version = "^0.4.2", optional = true }
+groq = { version = "^0.4.2", optional = true }
rich = "^13.7.1"
-psycopg2 = {version = "^2.9.9", optional = true}
-pgvector = {version = "^0.2.5", optional = true}
+psycopg2 = { version = "^2.9.9", optional = true }
+pgvector = { version = "^0.2.5", optional = true }
structlog = "^24.1.0"
diff --git a/requirements.txt b/requirements.txt
index e6860e1c4..fa5d4a358 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -8,5 +8,5 @@ tqdm
datasets
requests
optuna
-pydantic==2.5.0
+pydantic>=2.0
structlog