Skip to content

Commit

Permalink
Fix lfs in package build workflow v3
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-bushuiev committed Dec 9, 2024
1 parent 2738829 commit d8201f5
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit d8201f5

Please sign in to comment.