From d8201f5d7471a48a8f6943a15bacbbc72302c642 Mon Sep 17 00:00:00 2001 From: Anton Bushuiev Date: Sun, 8 Dec 2024 20:10:24 -0800 Subject: [PATCH] Fix lfs in package build workflow v3 --- .github/workflows/python-package.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index a69788b..021a670 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -33,15 +33,10 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Install dependencies with fallback for LFS issues + - name: Install dependencies run: | python -m pip install --upgrade pip - # Attempt to install dependencies - pip install . || echo "Failed to install dependencies. Retrying without LFS-dependent packages." - - # If the above fails, install specific packages without LFS files - python -m pip install git+https://github.com/anton-bushuiev/mutils.git@main --no-deps --exclude="datasets/*" || echo "mutils install skipped due to LFS issues." - pip install . + GIT_LFS_SKIP_SMUDGE=1 pip install . - name: Install additional dependencies run: |