Skip to content

Commit e098eee

Browse files
rtg0795tensorflower-gardener
authored andcommitted
Remove pinning protobuf version since 3.20.3 is old and not supported by Tensorflow
PiperOrigin-RevId: 728286886
1 parent eaa4052 commit e098eee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

WORKSPACE

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ bind(
3131

3232
http_archive(
3333
name = "com_google_protobuf",
34-
sha256 = "f66073dee0bc159157b0bd7f502d7d1ee0bc76b3c1eac9836927511bdc4b3fc1",
35-
strip_prefix = "protobuf-3.21.9",
36-
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.21.9.zip"],
34+
sha256 = "d5558cd419c8d46bdc958064cb97f963d1ea793866414c025906ec15033512ed",
35+
strip_prefix = "protobuf-4.21.6",
36+
urls = ["https://github.com/protocolbuffers/protobuf/archive/v4.21.6.zip"],
3737
)
3838

3939
# ZLIB. Need by com_google_protobuf.

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ scipy
88
# with both new and old protobuf stubs. This is needed to resolve
99
# Keras-TensorFlow circular dependency issue, when one of them gets a dependency
1010
# incompatible with another one (protobuf in this specific case).
11-
protobuf==3.20.3
11+
protobuf==4.21.6
1212
tf-nightly
1313
portpicker
1414
pyyaml

0 commit comments

Comments
 (0)