-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pip wheel build constraints to fix numpy builds (#133962)
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,8 +76,20 @@ 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 | ||
# this caused the numpy builds to fail | ||
# 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: | ||
|
@@ -86,6 +98,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: | ||
|
@@ -123,6 +142,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: | ||
|
@@ -167,6 +191,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: | ||
|