Skip to content

Commit

Permalink
Make typedunits depend on protobuf instead of grpcio-tools
Browse files Browse the repository at this point in the history
- require protobuf-4 for typedunits runtime to keep compatibility with
  internal code

- install grpcio-tools only in development environment for compiling protos

- bump grpcio-tools to version 1.62.3 which is the most recent version
  compatible with protobuf-4

Fixes quantumlib/Cirq#6995
  • Loading branch information
pavoljuhas committed Jan 29, 2025
1 parent e0c47cf commit 6f7af7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dev_tools/protos.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
grpcio-tools~=1.59.0
mypy-protobuf==3.4
grpcio-tools~=1.62.3
mypy-protobuf~=3.6
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
attrs
cython>=3.0.0
numpy>=1.23.0
protobuf~=4.25
pyparsing
grpcio-tools>=1.59.0

0 comments on commit 6f7af7d

Please sign in to comment.