forked from home-assistant/core
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 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 |
---|---|---|
|
@@ -171,6 +171,11 @@ jobs: | |
split -l $(expr $(expr $(cat requirements_all.txt | wc -l) + 1) / 3) requirements_all.txt requirements_all.txt | ||
- name: Create requirements for cython<3 | ||
run: | | ||
cat homeassistant/package_constraints.txt | grep 'grpcio.*==' > requirements_old-cython.txt | ||
cat requirements_old-cython.txt | ||
- name: Adjust build env | ||
run: | | ||
if [ "${{ matrix.arch }}" = "i386" ]; then | ||
|
@@ -180,6 +185,22 @@ jobs: | |
# 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: | ||
abi: ${{ matrix.abi }} | ||
tag: musllinux_1_2 | ||
arch: ${{ matrix.arch }} | ||
wheels-key: ${{ secrets.WHEELS_KEY }} | ||
env-file: true | ||
apk: "bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-dev;yaml-dev;openblas-dev;fftw-dev;lapack-dev;gfortran;blas-dev;eigen-dev;freetype-dev;glew-dev;harfbuzz-dev;hdf5-dev;libdc1394-dev;libtbb-dev;mesa-dev;openexr-dev;openjpeg-dev;uchardet-dev" | ||
skip-binary: aiohttp;charset-normalizer;grpcio;SQLAlchemy;protobuf | ||
constraints: "homeassistant/package_constraints.txt" | ||
requirements-diff: "requirements_diff.txt" | ||
requirements: "requirements_old-cython.txt" | ||
pip: "cython<3" | ||
test: true | ||
|
||
- name: Build wheels (part 1) | ||
uses: home-assistant/[email protected] | ||
with: | ||
|