Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

making version compatible

Somesh Fengadef34fc1dba8e5
diff --git a/dspy/__init__.py b/dspy/__init__.py
index 558917744..75d233281 100644
--- a/dspy/__init__.py
+++ b/dspy/__init__.py
@@ -26,7 +26,6 @@ GROQ = dsp.GroqLM
HFClientTGI = dsp.HFClientTGI
HFClientVLLM = HFClientVLLM
-
Anyscale = dsp.Anyscale
Together = dsp.Together
HFModel = dsp.HFModel
diff --git a/poetry.lock b/poetry.lock
index 625eefaa7..11a8a21f7 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -3119,15 +3119,16 @@ files = [
]
[package.dependencies]
-aiohttp = "*"
-requests = ">=2.20"
-tqdm = "*"
+anyio = ">=3.5.0,<5"
+distro = ">=1.7.0,<2"
+httpx = ">=0.23.0,<1"
+pydantic = ">=1.9.0,<3"
+sniffio = "*"
+tqdm = ">4"
+typing-extensions = ">=4.7,<5"
[package.extras]
-datalib = ["numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)"]
-dev = ["black (>=21.6b0,<22.0)", "pytest (==6.*)", "pytest-asyncio", "pytest-mock"]
-embeddings = ["matplotlib", "numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)", "plotly", "scikit-learn (>=1.0.2)", "scipy", "tenacity (>=8.0.1)"]
-wandb = ["numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)", "wandb"]
+datalib = ["numpy (>=1)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)"]
[[package]]
name = "opentelemetry-api"
@@ -6383,13 +6384,22 @@ multidict = ">=4.0"
[[package]]
name = "zipp"
+<<<<<<< HEAD
version = "3.18.1"
+=======
+version = "3.18.0"
+>>>>>>> cb6e2588 (making version compatible)
description = "Backport of pathlib-compatible object wrapper for zip files"
optional = false
python-versions = ">=3.8"
files = [
+<<<<<<< HEAD
{file = "zipp-3.18.1-py3-none-any.whl", hash = "sha256:206f5a15f2af3dbaee80769fb7dc6f249695e940acca08dfb2a4769fe61e538b"},
{file = "zipp-3.18.1.tar.gz", hash = "sha256:2884ed22e7d8961de1c9a05142eb69a247f120291bc0206a00a7642f09b5b715"},
+=======
+ {file = "zipp-3.18.0-py3-none-any.whl", hash = "sha256:c1bb803ed69d2cce2373152797064f7e79bc43f0a3748eb494096a867e0ebf79"},
+ {file = "zipp-3.18.0.tar.gz", hash = "sha256:df8d042b02765029a09b157efd8e820451045890acc30f8e37dd2f94a060221f"},
+>>>>>>> cb6e2588 (making version compatible)
]
[package.extras]
diff --git a/pyproject.toml b/pyproject.toml
index 8094beb2a..c4550e20b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -57,6 +57,7 @@ docs = [
"autodoc_pydantic",
"sphinx-reredirects>=0.1.2",
"sphinx-automodapi==0.16.0",
+
]
dev = ["pytest>=6.2.5"]
@@ -82,7 +83,7 @@ python = ">=3.9,<3.12"
pydantic = ">=2.5.0,<=2.7"
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"