Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

feat(tests): cache file.

Amir Mehr4ad4b9ff1197
diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml
index 967dc5454..b8b755d00 100644
--- a/.github/workflows/run_tests.yml
+++ b/.github/workflows/run_tests.yml
@@ -138,8 +138,6 @@ jobs:
run: echo "PYTHONPATH=$(python -c 'import sys; print(":".join(sys.path))'):$(pwd)" >> $GITHUB_ENV
- name: Install dependencies
run: pip install -r requirements.txt
- - name: Install dev dependencies
- run: pip install -r requirements-dev.txt
- name: Set up cache directory
run: |
cd ./cache
diff --git a/requirements.txt b/requirements.txt
index e5569d1f3..769615059 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,12 +1,20 @@
backoff
+black==24.2.0
datasets
joblib<=1.3.2
openai>=0.28.1,<2.0.0
optuna
pandas
+pre-commit==3.7.0
pydantic~=2.0
+pytest==8.2.1
+pytest-env==1.1.3
+pytest-mock==3.12.0
regex
requests
+ruff==0.3.0
structlog
+torch==2.2.1
tqdm
+transformers==4.38.2
ujson
diff --git a/tests_integration/test_intro.py b/tests_integration/test_intro.py
index 7c9d2a185..01b814a60 100644
--- a/tests_integration/test_intro.py
+++ b/tests_integration/test_intro.py
@@ -10,6 +10,7 @@ import dspy
class BaseIntegrationTestWithCache:
@pytest.fixture(autouse=True)
def setup(self) -> None:
+ return
# Base directory for all DSPy modules
library_dir = Path(__file__).resolve().parent
base_dir = library_dir.parent