Skip to content

Commit

Permalink
use --prefer-binary
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-sift committed Dec 10, 2024
1 parent a8db69c commit c97b46a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/python_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,11 @@ jobs:
PIP_PLATFORM: ${{ matrix.os == 'windows' && format('{0}_win32', matrix.arch) || format('{0}-{1}', matrix.os, matrix.arch) }}
run: |
mkdir -p dist/deps
# Try to download all packages, preferring wheels but allowing source if wheels aren't available
pip download -r requirements-all.txt -d dist/deps \
--platform $PIP_PLATFORM \
--python-version ${{ matrix.python-version }} \
--prefer-binary \
--no-deps
- name: Build sift-py wheel
Expand Down

0 comments on commit c97b46a

Please sign in to comment.