From af8347be3192c4deb5b55059442ca7eacf07f341 Mon Sep 17 00:00:00 2001 From: Andrei-Aksionov <58434077+Andrei-Aksionov@users.noreply.github.com> Date: Mon, 15 Apr 2024 20:15:46 +0300 Subject: [PATCH] Replace UV with regular pip (#1292) --- .github/workflows/cpu-tests.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cpu-tests.yml b/.github/workflows/cpu-tests.yml index 59a3ce3075..cbb8d2805c 100644 --- a/.github/workflows/cpu-tests.yml +++ b/.github/workflows/cpu-tests.yml @@ -39,14 +39,14 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - - name: Install uv - run: pip install uv + cache: 'pip' + cache-dependency-path: | + pyproject.toml - name: Install minimal dependencies run: | - uv pip install --system . - uv pip list + pip install . + pip list # make sure all modules are still importable with only the minimal dependencies available modules=$( find litgpt -type f -name "*.py" | \ @@ -58,8 +58,8 @@ jobs: - name: Install all dependencies run: | - uv pip install --system '.[all,test]' - uv pip list + pip install '.[all,test]' + pip list - name: Run tests run: |