Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update requirements and poetry lock #1933

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"}
Loading