Skip to content

Commit

Permalink
VIO-3108 Upgrade breaking gRPC version
Browse files Browse the repository at this point in the history
  • Loading branch information
DillonEnge committed Oct 3, 2023
1 parent 9c04c13 commit 88e5649
Show file tree
Hide file tree
Showing 4 changed files with 506 additions and 2,243 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ PKG_VER := $(shell python python/setup.py --version)
python: ## Build the gRPC source for Python
@printf "Generating Python source."
@docker run \
-v `pwd`:/build \
grpc/python:1.4 \
python3 -m grpc_tools.protoc -I/build \
--python_out=/build/python/synse_grpc \
--grpc_python_out=/build/python/synse_grpc \
/build/synse.proto && \
-v `pwd`:/defs \
namely/protoc-all \
-f synse.proto \
-o python/synse_grpc/ \
-l python
rm python/__init__.py
sed -i -e 's/import synse_pb2 as synse__pb2/from . import synse_pb2 as synse__pb2/g' python/synse_grpc/synse_pb2_grpc.py && \
if [ -f "python/synse_grpc/synse_pb2_grpc.py-e" ]; then rm python/synse_grpc/synse_pb2_grpc.py-e; fi;
@printf " [done]\n"
Expand Down
14 changes: 6 additions & 8 deletions python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
#
# This file is autogenerated by pip-compile
# To update, run:
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --output-file=requirements.txt setup.py
#
grpcio==1.27.2 # via synse_grpc (setup.py)
protobuf==3.11.3 # via synse_grpc (setup.py)
six==1.14.0 # via grpcio, protobuf

# The following packages are considered to be unsafe in a requirements file:
# setuptools
grpcio==1.58.0
# via synse-grpc (setup.py)
protobuf==4.24.3
# via synse-grpc (setup.py)
Loading

0 comments on commit 88e5649

Please sign in to comment.