DSPy: The framework for programming—not prompting—language models
Python
fix(ci): install pytest-mock in release test environments (#10384)
Isaac Millerecba33763316
diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.ymlindex b53209bd3..52b1e30e3 100644--- a/.github/workflows/build_and_release.yml+++ b/.github/workflows/build_and_release.yml@@ -69,7 +69,7 @@ jobs:run: |source test_before_testpypi/bin/activate# Install the locally built wheel and testing dependencies- pip install dist/*.whl pytest pytest-asyncio+ pip install dist/*.whl pytest pytest-asyncio pytest-mockpytest tests/metadata/test_metadata.py tests/predict(cd "$RUNNER_TEMP" && python -c 'import dspy; assert dspy.PythonInterpreter().execute("6 * 7") == 42')deactivate@@ -129,7 +129,7 @@ jobs:run: |source test_before_pypi/bin/activate# Install the locally built wheel and testing dependencies- pip install dist/*.whl pytest pytest-asyncio+ pip install dist/*.whl pytest pytest-asyncio pytest-mockpytest tests/metadata/test_metadata.py tests/predict(cd "$RUNNER_TEMP" && python -c 'import dspy; assert dspy.PythonInterpreter().execute("6 * 7") == 42')deactivate