DSPy: The framework for programming—not prompting—language models
Python
Fix pydantic not installing
Isaac Miller92d1e834633b
diff --git a/poetry.lock b/poetry.lockindex fd6dda77c..e65a9803a 100644--- a/poetry.lock+++ b/poetry.lock@@ -5559,7 +5559,7 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p[extras]chromadb = ["chromadb"]-docs = ["autodoc_pydantic", "docutils", "furo", "m2r2", "myst-nb", "myst-parser", "pydantic", "sphinx", "sphinx-autobuild", "sphinx-automodapi", "sphinx-reredirects", "sphinx_rtd_theme"]+docs = ["autodoc_pydantic", "docutils", "furo", "m2r2", "myst-nb", "myst-parser", "sphinx", "sphinx-autobuild", "sphinx-automodapi", "sphinx-reredirects", "sphinx_rtd_theme"]marqo = ["marqo"]pinecone = ["pinecone-client"]qdrant = ["fastembed", "qdrant-client"]@@ -5568,4 +5568,4 @@ weaviate = ["weaviate-client"][metadata]lock-version = "2.0"python-versions = ">=3.9,<3.12"-content-hash = "16256ad3918b09c53a48abbcdf985d42c3e7e5cdd476cc4b06a49ecccfbe6c48"+content-hash = "8b4cc583653becb3be9f5bc4c34cdf5ced146ba32157a5bb4bdc7885291c0403"diff --git a/pyproject.toml b/pyproject.tomlindex f293721d2..f903b07cb 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -48,7 +48,6 @@ docs = ["myst-nb","sphinx-autobuild","sphinx_rtd_theme",- "pydantic<2.0.0","autodoc_pydantic","sphinx-reredirects>=0.1.2","sphinx-automodapi==0.16.0"@@ -74,6 +73,7 @@ keywords = ["dspy", "ai", "language models", "llm", "openai"][tool.poetry.dependencies]python = ">=3.9,<3.12"+pydantic = "2.5.0"backoff = "^2.2.1"joblib = "^1.3.2"openai = "^0.28.1"@@ -84,7 +84,6 @@ tqdm = "^4.66.1"datasets = "^2.14.6"requests = "^2.31.0"optuna = "^3.4.0"-pydantic = "2.5.0"chromadb = {version = "^0.4.14", optional = true}fastembed = {version = "^0.1.0", optional = true}marqo = {version = "*", optional = true}@@ -121,7 +120,6 @@ docs = ["myst-nb","sphinx-autobuild","sphinx_rtd_theme",- "pydantic","autodoc_pydantic","sphinx-reredirects","sphinx-automodapi"