Skip to content

Commit

Permalink
Remove pinning protobuf version since 3.20.3 is old and not supported…
Browse files Browse the repository at this point in the history
… by Tensorflow

PiperOrigin-RevId: 728286886
  • Loading branch information
rtg0795 authored and tensorflower-gardener committed Feb 18, 2025
1 parent eaa4052 commit e098eee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ bind(

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

# ZLIB. Need by com_google_protobuf.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ scipy
# with both new and old protobuf stubs. This is needed to resolve
# Keras-TensorFlow circular dependency issue, when one of them gets a dependency
# incompatible with another one (protobuf in this specific case).
protobuf==3.20.3
protobuf==4.21.6
tf-nightly
portpicker
pyyaml
Expand Down

0 comments on commit e098eee

Please sign in to comment.