From 88e570b5ded3496689da2bf228462434171b52b0 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 10 Jun 2025 14:21:51 +0200 Subject: [PATCH] fix(deps): pin grpcio (#5621) Signed-off-by: Ettore Di Giacinto --- .github/workflows/test.yml | 4 ++-- Dockerfile | 2 +- backend/python/bark/requirements.txt | 2 +- backend/python/chatterbox/requirements.txt | 2 +- backend/python/common/template/requirements.txt | 2 +- backend/python/coqui/requirements.txt | 2 +- backend/python/diffusers/requirements.txt | 2 +- backend/python/exllama2/requirements.txt | 2 +- backend/python/faster-whisper/requirements.txt | 2 +- backend/python/kokoro/requirements.txt | 2 +- backend/python/rerankers/requirements.txt | 2 +- backend/python/transformers/requirements.txt | 2 +- backend/python/vllm/requirements.txt | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d6b02938..52c3f798 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -99,7 +99,7 @@ jobs: go install github.com/GeertJohan/go.rice/rice@latest # The python3-grpc-tools package in 22.04 is too old - pip install --user grpcio-tools + pip install --user grpcio-tools==1.71.0 grpcio==1.71.0 make -C backend/python/transformers @@ -223,7 +223,7 @@ jobs: - name: Dependencies run: | brew install protobuf grpc make protoc-gen-go protoc-gen-go-grpc libomp llvm - pip install --user --no-cache-dir grpcio-tools + pip install --user --no-cache-dir grpcio-tools==1.71.0 grpcio==1.71.0 go install github.com/GeertJohan/go.rice/rice@latest - name: Test run: | diff --git a/Dockerfile b/Dockerfile index 31509f98..4aa0e4fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -100,7 +100,7 @@ RUN apt-get update && \ pip install --upgrade pip # Install grpcio-tools (the version in 22.04 is too old) -RUN pip install --user grpcio-tools +RUN pip install --user grpcio-tools==1.71.0 grpcio==1.71.0 ################################### ################################### diff --git a/backend/python/bark/requirements.txt b/backend/python/bark/requirements.txt index 05ca0420..2f40b320 100644 --- a/backend/python/bark/requirements.txt +++ b/backend/python/bark/requirements.txt @@ -1,4 +1,4 @@ bark==0.1.5 -grpcio==1.72.1 +grpcio==1.71.0 protobuf certifi \ No newline at end of file diff --git a/backend/python/chatterbox/requirements.txt b/backend/python/chatterbox/requirements.txt index e625817d..a365b4a1 100644 --- a/backend/python/chatterbox/requirements.txt +++ b/backend/python/chatterbox/requirements.txt @@ -1,4 +1,4 @@ -grpcio==1.72.1 +grpcio==1.71.0 protobuf certifi packaging diff --git a/backend/python/common/template/requirements.txt b/backend/python/common/template/requirements.txt index bba6ad3d..e4d843df 100644 --- a/backend/python/common/template/requirements.txt +++ b/backend/python/common/template/requirements.txt @@ -1,3 +1,3 @@ -grpcio==1.72.1 +grpcio==1.71.0 protobuf grpcio-tools \ No newline at end of file diff --git a/backend/python/coqui/requirements.txt b/backend/python/coqui/requirements.txt index c7dde18e..108d30ba 100644 --- a/backend/python/coqui/requirements.txt +++ b/backend/python/coqui/requirements.txt @@ -1,4 +1,4 @@ -grpcio==1.72.1 +grpcio==1.71.0 protobuf certifi packaging==24.1 \ No newline at end of file diff --git a/backend/python/diffusers/requirements.txt b/backend/python/diffusers/requirements.txt index 6ee7fc78..8cfe88a7 100644 --- a/backend/python/diffusers/requirements.txt +++ b/backend/python/diffusers/requirements.txt @@ -1,5 +1,5 @@ setuptools -grpcio==1.72.1 +grpcio==1.71.0 pillow protobuf certifi diff --git a/backend/python/exllama2/requirements.txt b/backend/python/exllama2/requirements.txt index 760bfd0f..ed8ffec4 100644 --- a/backend/python/exllama2/requirements.txt +++ b/backend/python/exllama2/requirements.txt @@ -1,4 +1,4 @@ -grpcio==1.72.1 +grpcio==1.71.0 protobuf certifi wheel diff --git a/backend/python/faster-whisper/requirements.txt b/backend/python/faster-whisper/requirements.txt index bba6ad3d..e4d843df 100644 --- a/backend/python/faster-whisper/requirements.txt +++ b/backend/python/faster-whisper/requirements.txt @@ -1,3 +1,3 @@ -grpcio==1.72.1 +grpcio==1.71.0 protobuf grpcio-tools \ No newline at end of file diff --git a/backend/python/kokoro/requirements.txt b/backend/python/kokoro/requirements.txt index 9456cb39..cf0f0143 100644 --- a/backend/python/kokoro/requirements.txt +++ b/backend/python/kokoro/requirements.txt @@ -1,4 +1,4 @@ -grpcio==1.72.1 +grpcio==1.71.0 protobuf phonemizer scipy diff --git a/backend/python/rerankers/requirements.txt b/backend/python/rerankers/requirements.txt index 4b2608d9..931cb146 100644 --- a/backend/python/rerankers/requirements.txt +++ b/backend/python/rerankers/requirements.txt @@ -1,3 +1,3 @@ -grpcio==1.72.1 +grpcio==1.71.0 protobuf certifi \ No newline at end of file diff --git a/backend/python/transformers/requirements.txt b/backend/python/transformers/requirements.txt index f6abf94c..e5d513e1 100644 --- a/backend/python/transformers/requirements.txt +++ b/backend/python/transformers/requirements.txt @@ -1,4 +1,4 @@ -grpcio==1.72.1 +grpcio==1.71.0 protobuf==6.31.0 certifi setuptools diff --git a/backend/python/vllm/requirements.txt b/backend/python/vllm/requirements.txt index 529ffde6..f1771cc4 100644 --- a/backend/python/vllm/requirements.txt +++ b/backend/python/vllm/requirements.txt @@ -1,4 +1,4 @@ -grpcio==1.72.1 +grpcio==1.71.0 protobuf certifi setuptools \ No newline at end of file