Skip to content

Commit

Permalink
lock versions of grpc
Browse files Browse the repository at this point in the history
  • Loading branch information
mrproliu committed Sep 1, 2024
1 parent 9daff10 commit 3903f83
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ WORKDIR /app
COPY . /app

# Build the project with make
RUN python3 -m pip install grpcio-tools packaging \
RUN python3 -m pip install grpcio-tools==1.66.0 packaging \
&& python3 -m tools.grpc_gen \
&& python3 -m pip install .[all]

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ endif

.PHONY: gen-basic
gen-basic:
python3 -m pip install grpcio-tools packaging
python3 -m pip install grpcio-tools==1.66.0 packaging
python3 -m tools.grpc_gen

.PHONY: install
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ generate-setup-file = true

[tool.poetry.dependencies]
python = ">=3.8,<3.12" # Gradio needs 3.8+
grpcio = "*"
grpcio-tools = "*"
grpcio = "<=1.66.0"
grpcio-tools = "<=1.66.0"
jsonpickle = "^3.0.1"
cachetools = "^5.3.1"
nltk = "^3.8.1"
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ fonttools==4.44.0
fsspec==2023.10.0
gradio==3.50.2
gradio_client==0.6.1
grpcio==1.65.4
grpcio-tools==1.59.2
grpcio==1.66.0
grpcio-tools==1.66.0
h11==0.14.0
httpcore==1.0.1
httpx==0.25.1
Expand Down Expand Up @@ -63,7 +63,7 @@ pep8-naming==0.13.3
Pillow==10.1.0
platformdirs==3.11.0
pluggy==1.3.0
protobuf==4.25.0
protobuf==5.28.0
psutil==5.9.6
pycodestyle==2.9.1
pydantic==2.4.2
Expand Down

0 comments on commit 3903f83

Please sign in to comment.