Skip to content

Commit 322f0fe

Browse files
authored
Update requirements and poetry lock (#1933)
1 parent d646cb2 commit 322f0fe

File tree

6 files changed

+1283
-1326
lines changed

6 files changed

+1283
-1326
lines changed

poetry.lock

Lines changed: 1274 additions & 1314 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66
#replace_package_name_marker
77
name = "dspy"
88
#replace_package_version_marker
9-
version = "2.5.30"
9+
version = "2.5.43"
1010
description = "DSPy"
1111
readme = "README.md"
1212
authors = [{ name = "Omar Khattab", email = "[email protected]" }]
@@ -25,7 +25,7 @@ classifiers = [
2525
# project dependencies function similarly to requirements.txt,
2626
# `pip install .` will pull from pyproject.toml dependencies
2727
dependencies = [
28-
"backoff~=2.2",
28+
"backoff",
2929
"joblib~=1.3",
3030
"openai",
3131
"pandas",
@@ -132,10 +132,8 @@ pgvector = { version = "^0.2.5", optional = true }
132132
llama-index = { version = "^0.10.30", optional = true }
133133
jinja2 = "^3.1.3"
134134
magicattr = "^0.1.6"
135-
litellm = "^1.51.0"
135+
litellm = { version = "==1.53.7", extras = ["proxy"] }
136136
diskcache = "^5.6.0"
137-
redis = "^5.1.1"
138-
falkordb = "^1.0.9"
139137
json-repair = "^0.30.0"
140138
tenacity = ">=8.2.3"
141139
asyncer = "0.0.8"

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
black==24.2.0
22
datamodel-code-generator==0.26.3
3-
litellm[proxy]==1.51.0
3+
litellm[proxy]==1.53.7
44
pillow==10.4.0
55
pre-commit==3.7.0
66
pytest==8.3.3

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ diskcache
77
httpx
88
joblib~=1.3
99
json-repair
10-
litellm==1.51.0
10+
litellm[proxy]==1.53.7
1111
magicattr~=0.1.6
1212
openai
1313
optuna
@@ -19,3 +19,4 @@ tenacity>=8.2.3
1919
tqdm
2020
ujson
2121
cloudpickle
22+
jinja2

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#replace_package_name_marker
1313
name="dspy",
1414
#replace_package_version_marker
15-
version="2.5.30",
15+
version="2.5.43",
1616
description="DSPy",
1717
long_description=long_description,
1818
long_description_content_type="text/markdown",

tests/predict/test_parallel.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,5 @@ def forward(self, input):
151151

152152
result = MyModule().batch([dspy.Example(input="test input").with_inputs("input")]*2)
153153

154-
assert result[0][0].output == "test output 1"
155-
assert result[0][1].output == "test output 2"
156-
assert result[1][0].output == "test output 3"
157-
assert result[1][1].output == "test output 4"
154+
assert {result[0][0].output, result[0][1].output, result[1][0].output, result[1][1].output} \
155+
== {"test output 1", "test output 2", "test output 3", "test output 4"}

0 commit comments

Comments
 (0)