diff --git a/WORKSPACE b/WORKSPACE index c0ebc4e52..19e40d970 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -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. diff --git a/requirements.txt b/requirements.txt index c28ccabba..c1de142d2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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