Skip to content

Commit

Permalink
Update requirements and poetry lock (#1933)
Browse files Browse the repository at this point in the history
  • Loading branch information
okhat authored Dec 13, 2024
1 parent d646cb2 commit 322f0fe
Show file tree
Hide file tree
Showing 6 changed files with 1,283 additions and 1,326 deletions.
2,588 changes: 1,274 additions & 1,314 deletions poetry.lock

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
#replace_package_name_marker
name = "dspy"
#replace_package_version_marker
version = "2.5.30"
version = "2.5.43"
description = "DSPy"
readme = "README.md"
authors = [{ name = "Omar Khattab", email = "[email protected]" }]
Expand All @@ -25,7 +25,7 @@ classifiers = [
# project dependencies function similarly to requirements.txt,
# `pip install .` will pull from pyproject.toml dependencies
dependencies = [
"backoff~=2.2",
"backoff",
"joblib~=1.3",
"openai",
"pandas",
Expand Down Expand Up @@ -132,10 +132,8 @@ pgvector = { version = "^0.2.5", optional = true }
llama-index = { version = "^0.10.30", optional = true }
jinja2 = "^3.1.3"
magicattr = "^0.1.6"
litellm = "^1.51.0"
litellm = { version = "==1.53.7", extras = ["proxy"] }
diskcache = "^5.6.0"
redis = "^5.1.1"
falkordb = "^1.0.9"
json-repair = "^0.30.0"
tenacity = ">=8.2.3"
asyncer = "0.0.8"
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
black==24.2.0
datamodel-code-generator==0.26.3
litellm[proxy]==1.51.0
litellm[proxy]==1.53.7
pillow==10.4.0
pre-commit==3.7.0
pytest==8.3.3
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ diskcache
httpx
joblib~=1.3
json-repair
litellm==1.51.0
litellm[proxy]==1.53.7
magicattr~=0.1.6
openai
optuna
Expand All @@ -19,3 +19,4 @@ tenacity>=8.2.3
tqdm
ujson
cloudpickle
jinja2
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#replace_package_name_marker
name="dspy",
#replace_package_version_marker
version="2.5.30",
version="2.5.43",
description="DSPy",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
6 changes: 2 additions & 4 deletions tests/predict/test_parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,5 @@ def forward(self, input):

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

assert result[0][0].output == "test output 1"
assert result[0][1].output == "test output 2"
assert result[1][0].output == "test output 3"
assert result[1][1].output == "test output 4"
assert {result[0][0].output, result[0][1].output, result[1][0].output, result[1][1].output} \
== {"test output 1", "test output 2", "test output 3", "test output 4"}

0 comments on commit 322f0fe

Please sign in to comment.