Skip to content

Commit

Permalink
Add pip wheel build constraints to fix numpy builds
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Dec 24, 2024
1 parent 97d8d16 commit 577fe9f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,19 @@ jobs:
# Use C-Extension for SQLAlchemy
echo "REQUIRE_SQLALCHEMY_CEXT=1"
# Add additional pip wheel build constraints
echo "PIP_CONSTRAINT=build_constraints.txt"
) > .env_file
- name: Write pip wheel build constraints
run: |
(
# ninja 1.11.1.2 + 1.11.1.3 seem to be broken on at least armhf
# https://github.com/scikit-build/ninja-python-distributions/issues/274
echo "ninja==1.11.1.1"
) > build_constraints.txt
- name: Upload env_file
uses: actions/[email protected]
with:
Expand All @@ -86,6 +97,13 @@ jobs:
include-hidden-files: true
overwrite: true

- name: Upload build_constraints
uses: actions/[email protected]
with:
name: build_constraints
path: ./build_constraints.txt
overwrite: true

- name: Upload requirements_diff
uses: actions/[email protected]
with:
Expand Down Expand Up @@ -123,6 +141,11 @@ jobs:
with:
name: env_file

- name: Download build_constraints
uses: actions/[email protected]
with:
name: build_constraints

- name: Download requirements_diff
uses: actions/[email protected]
with:
Expand Down Expand Up @@ -167,6 +190,11 @@ jobs:
with:
name: env_file

- name: Download build_constraints
uses: actions/[email protected]
with:
name: build_constraints

- name: Download requirements_diff
uses: actions/[email protected]
with:
Expand Down

0 comments on commit 577fe9f

Please sign in to comment.