From d5f858c72ac6a9e43b0270860065e1bf3e02a840 Mon Sep 17 00:00:00 2001 From: Sarah Alnegheimish Date: Mon, 25 Sep 2023 12:36:33 -0400 Subject: [PATCH] add setuptools --- .github/workflows/tests.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b2c30cc..f13c92e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,8 +19,9 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - - name: Update pip + - name: Install lightfm run: pip install -U pip setuptools + run: python -m pip install --no-use-pep517 'lightfm<2' - name: Install package run: pip install .[dev] - name: make test-devel @@ -38,8 +39,9 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - - name: Update pip + - name: Install lightfm run: pip install -U pip setuptools + run: python -m pip install --no-use-pep517 'lightfm<2' - name: Install package and dependencies run: pip install rundoc .[mlprimitives] - name: make test-readme @@ -74,8 +76,9 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - - name: Update pip + - name: Install lightfm run: pip install -U pip setuptools + run: python -m pip install --no-use-pep517 'lightfm<2' - name: Install package and dependencies run: pip install .[test] - name: make test-mlprimitives @@ -96,8 +99,9 @@ jobs: - if: matrix.os == 'ubuntu-20.04' name: Install dependencies - Ubuntu run: sudo apt-get install graphviz - - name: Update pip + - name: Install lightfm run: pip install -U pip setuptools + run: python -m pip install --no-use-pep517 'lightfm<2' - name: Install package and dependencies run: pip install .[examples] - name: make test-tutorials