DSPy: The framework for programming—not prompting—language models
Python
fix broken workflow (#2016)
arnavsinghvi11cfa073441a15
diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.ymlindex 2ffc80f95..1aaf9236c 100644--- a/.github/workflows/run_tests.yml+++ b/.github/workflows/run_tests.yml@@ -41,6 +41,9 @@ jobs:python-version: ["3.9"]steps:- uses: actions/checkout@v4+ - uses: actions/setup-python@v5+ with:+ python-version: ${{ matrix.python-version }}- name: Install Denorun: |curl -fsSL https://deno.land/install.sh | sh@@ -59,13 +62,7 @@ jobs:path: ~/.localkey: poetry-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }}- name: Install Poetry- if: steps.cached-poetry.outputs.cache-hit != 'true'- uses: snok/install-poetry@v1- - name: Set up python ${{ matrix.python-version }}- uses: actions/setup-python@v5- with:- python-version: ${{ matrix.python-version }}- cache: "poetry"+ run: python -m pip install --upgrade "poetry==${{ env.POETRY_VERSION }}"- name: Install dependenciesrun: poetry install --no-interaction- name: Run lint with tests@@ -89,14 +86,11 @@ jobs:with:path: ~/.localkey: poetry-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }}- - name: Install Poetry- if: steps.cached-poetry.outputs.cache-hit != 'true'- uses: snok/install-poetry@v1- - name: Set up python ${{ matrix.python-version }}- uses: actions/setup-python@v5+ - uses: actions/setup-python@v5with:python-version: ${{ matrix.python-version }}- cache: "poetry"+ - name: Install Poetry+ run: python -m pip install --upgrade "poetry==${{ env.POETRY_VERSION }}"- name: Buildrun: poetry build- name: Install built package@@ -118,13 +112,10 @@ jobs:with:path: ~/.localkey: poetry-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }}- - name: Install Poetry- if: steps.cached-poetry.outputs.cache-hit != 'true'- uses: snok/install-poetry@v1- - name: Set up python ${{ matrix.python-version }}- uses: actions/setup-python@v5+ - uses: actions/setup-python@v5with:python-version: ${{ matrix.python-version }}- cache: "poetry"+ - name: Install Poetry+ run: python -m pip install --upgrade "poetry==${{ env.POETRY_VERSION }}"- name: Run setup.py buildrun: python setup.py build