Update grpcio to 1.59.0 (#101287)
This commit is contained in:
parent
3478666973
commit
67dfd1a86b
3 changed files with 31 additions and 6 deletions
25
.github/workflows/wheels.yml
vendored
25
.github/workflows/wheels.yml
vendored
|
@ -170,6 +170,16 @@ jobs:
|
||||||
|
|
||||||
split -l $(expr $(expr $(cat requirements_all.txt | wc -l) + 1) / 3) requirements_all.txt requirements_all.txt
|
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: |
|
||||||
|
# Some dependencies still require 'cython<3'
|
||||||
|
# and don't yet use isolated build environments.
|
||||||
|
# Build these first.
|
||||||
|
# grpcio: https://github.com/grpc/grpc/issues/33918
|
||||||
|
|
||||||
|
touch requirements_old-cython.txt
|
||||||
|
cat homeassistant/package_constraints.txt | grep 'grpcio==' >> requirements_old-cython.txt
|
||||||
|
|
||||||
- name: Adjust build env
|
- name: Adjust build env
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ matrix.arch }}" = "i386" ]; then
|
if [ "${{ matrix.arch }}" = "i386" ]; then
|
||||||
|
@ -179,6 +189,21 @@ jobs:
|
||||||
# Do not pin numpy in wheels building
|
# Do not pin numpy in wheels building
|
||||||
sed -i "/numpy/d" homeassistant/package_constraints.txt
|
sed -i "/numpy/d" homeassistant/package_constraints.txt
|
||||||
|
|
||||||
|
- name: Build wheels (old cython)
|
||||||
|
uses: home-assistant/wheels@2023.10.1
|
||||||
|
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'"
|
||||||
|
|
||||||
- name: Build wheels (part 1)
|
- name: Build wheels (part 1)
|
||||||
uses: home-assistant/wheels@2023.10.1
|
uses: home-assistant/wheels@2023.10.1
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -70,9 +70,9 @@ httplib2>=0.19.0
|
||||||
# gRPC is an implicit dependency that we want to make explicit so we manage
|
# gRPC is an implicit dependency that we want to make explicit so we manage
|
||||||
# upgrades intentionally. It is a large package to build from source and we
|
# upgrades intentionally. It is a large package to build from source and we
|
||||||
# want to ensure we have wheels built.
|
# want to ensure we have wheels built.
|
||||||
grpcio==1.58.0
|
grpcio==1.59.0
|
||||||
grpcio-status==1.58.0
|
grpcio-status==1.59.0
|
||||||
grpcio-reflection==1.58.0
|
grpcio-reflection==1.59.0
|
||||||
|
|
||||||
# libcst >=0.4.0 requires a newer Rust than we currently have available,
|
# libcst >=0.4.0 requires a newer Rust than we currently have available,
|
||||||
# thus our wheels builds fail. This pins it to the last working version,
|
# thus our wheels builds fail. This pins it to the last working version,
|
||||||
|
|
|
@ -72,9 +72,9 @@ httplib2>=0.19.0
|
||||||
# gRPC is an implicit dependency that we want to make explicit so we manage
|
# gRPC is an implicit dependency that we want to make explicit so we manage
|
||||||
# upgrades intentionally. It is a large package to build from source and we
|
# upgrades intentionally. It is a large package to build from source and we
|
||||||
# want to ensure we have wheels built.
|
# want to ensure we have wheels built.
|
||||||
grpcio==1.58.0
|
grpcio==1.59.0
|
||||||
grpcio-status==1.58.0
|
grpcio-status==1.59.0
|
||||||
grpcio-reflection==1.58.0
|
grpcio-reflection==1.59.0
|
||||||
|
|
||||||
# libcst >=0.4.0 requires a newer Rust than we currently have available,
|
# libcst >=0.4.0 requires a newer Rust than we currently have available,
|
||||||
# thus our wheels builds fail. This pins it to the last working version,
|
# thus our wheels builds fail. This pins it to the last working version,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue