Skip to content

Commit

Permalink
Install protobuf first
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Oct 3, 2024
1 parent 90dca74 commit 87a9c0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker_script
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ echo "--- ---";
# time pip install --extra-index-url https://wheels.home-assistant.io/musllinux-index/ -v grpcio==1.62.3
# pip uninstall -y cython
# pip install --extra-index-url https://wheels.home-assistant.io/musllinux-index/ -v "cython<3"
pip install --extra-index-url https://wheels.home-assistant.io/musllinux-index/ -v "protobuf==5.28.2"
time pip install -v --no-binary grpcio grpcio==1.66.2
echo "--- ---";
python -c "import grpc"
Expand Down
2 changes: 1 addition & 1 deletion env_file
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ GRPC_BUILD_WITH_BORING_SSL_ASM=false
GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=true
GRPC_PYTHON_BUILD_WITH_CYTHON=true
GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=true
GRPC_PYTHON_LDFLAGS=-lpthread -Wl,-wrap
GRPC_PYTHON_LDFLAGS=-lpthread -Wl,-wrap,memcpy -static-libgcc

0 comments on commit 87a9c0f

Please sign in to comment.