-
-
Notifications
You must be signed in to change notification settings - Fork 30.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude uv from wheels building (#126035)
- Loading branch information
Showing
1 changed file
with
18 additions
and
9 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 |
---|---|---|
|
@@ -131,6 +131,12 @@ jobs: | |
with: | ||
name: requirements_diff | ||
|
||
- name: Adjust build env | ||
run: | | ||
# Don't build wheels for uv as uv requires a greater version of rust as currently available on alpine | ||
sed -i "/uv/d" requirements.txt | ||
sed -i "/uv/d" requirements_diff.txt | ||
- name: Build wheels | ||
uses: home-assistant/[email protected] | ||
with: | ||
|
@@ -174,6 +180,18 @@ jobs: | |
with: | ||
name: requirements_all_wheels | ||
|
||
- name: Adjust build env | ||
run: | | ||
if [ "${{ matrix.arch }}" = "i386" ]; then | ||
echo "NPY_DISABLE_SVML=1" >> .env_file | ||
fi | ||
# Do not pin numpy in wheels building | ||
sed -i "/numpy/d" homeassistant/package_constraints.txt | ||
# Don't build wheels for uv as uv requires a greater version of rust as currently available on alpine | ||
sed -i "/uv/d" requirements.txt | ||
sed -i "/uv/d" requirements_diff.txt | ||
- name: Split requirements all | ||
run: | | ||
# We split requirements all into multiple files. | ||
|
@@ -194,15 +212,6 @@ jobs: | |
cat homeassistant/package_constraints.txt | grep 'grpcio==' >> requirements_old-cython.txt | ||
cat homeassistant/package_constraints.txt | grep 'pydantic==' >> requirements_old-cython.txt | ||
- name: Adjust build env | ||
run: | | ||
if [ "${{ matrix.arch }}" = "i386" ]; then | ||
echo "NPY_DISABLE_SVML=1" >> .env_file | ||
fi | ||
# Do not pin numpy in wheels building | ||
sed -i "/numpy/d" homeassistant/package_constraints.txt | ||
- name: Build wheels (old cython) | ||
uses: home-assistant/[email protected] | ||
with: | ||
|