Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force protobuf dependency < 3.20. #5726

Merged
merged 2 commits into from May 26, 2022
Merged

Conversation

bmd3k
Copy link
Contributor

@bmd3k bmd3k commented May 26, 2022

#5703

The latest protobuf release is not backwards compatible with TensorFlow's protos and our copies of those protos in tensorboard/compat/proto . We knew this change was coming so, fortunately, TF had already fixed their dependencies to force a compatible version of protobuf. However, we also have to update our own requirements.txt to force the same version of protobuf, to unbreak the build when TensorFlow is not installed.

Googlers, see: http://b/182876485.
See: protocolbuffers/protobuf#9954 (comment)
See: https://cs.opensource.google/tensorflow/tensorflow/+/master:tensorflow/tools/pip_package/setup.py?q=protobuf

@bmd3k bmd3k requested a review from yatbear May 26, 2022 14:25
@yatbear
Copy link
Member

yatbear commented May 26, 2022

Thanks!

@bmd3k bmd3k merged commit fd4f5ff into tensorflow:master May 26, 2022
@akihironitta
Copy link

Could I ask when this patch will be released?

@bmd3k
Copy link
Contributor Author

bmd3k commented Jun 6, 2022

Could I ask when this patch will be released?

Hi, thanks for inquiring and sorry for the delay. We are currently working on a patch release.

bmd3k added a commit to bmd3k/tensorboard that referenced this pull request Jun 8, 2022
The latest protobuf release is not backwards compatible with TensorFlow's protos and our copies of those protos in tensorboard/compat/proto . We knew this change was coming so, fortunately, TF had already fixed their dependencies to force a compatible version of protobuf. However, we also have to update our own requirements.txt to force the same version of protobuf, to unbreak the build when TensorFlow is not installed.

Googlers, see: http://b/182876485.
See: protocolbuffers/protobuf#9954 (comment)
See: https://cs.opensource.google/tensorflow/tensorflow/+/master:tensorflow/tools/pip_package/setup.py?q=protobuf
bmd3k added a commit that referenced this pull request Jun 8, 2022
The latest protobuf release is not backwards compatible with TensorFlow's protos and our copies of those protos in tensorboard/compat/proto . We knew this change was coming so, fortunately, TF had already fixed their dependencies to force a compatible version of protobuf. However, we also have to update our own requirements.txt to force the same version of protobuf, to unbreak the build when TensorFlow is not installed.

Googlers, see: http://b/182876485.
See: protocolbuffers/protobuf#9954 (comment)
See: https://cs.opensource.google/tensorflow/tensorflow/+/master:tensorflow/tools/pip_package/setup.py?q=protobuf
@bmd3k
Copy link
Contributor Author

bmd3k commented Jun 8, 2022

Could I ask when this patch will be released?

Hi, thanks for inquiring and sorry for the delay. We are currently working on a patch release.

Patch has been released as 2.9.1. Let us know if you experience any further troubles.

@pavelkomarov
Copy link

This is causing me all kinds of grief, because I have other libraries that depend on later versions of protobuf. Can tensorflow be updated to handle the new standard?

@yatbear
Copy link
Member

yatbear commented Oct 13, 2022

Hi @pavelkomarov,

We are currently blocked by TensorFlow side upgrade: tensorflow/tensorflow#53234, you can add a comment to the linked issue about your concern, thanks!

@pavelkomarov
Copy link

I was able to get my build to pass for now with export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python, as recommended in one of the error messages.

yatbear pushed a commit to yatbear/tensorboard that referenced this pull request Mar 27, 2023
The latest protobuf release is not backwards compatible with TensorFlow's protos and our copies of those protos in tensorboard/compat/proto . We knew this change was coming so, fortunately, TF had already fixed their dependencies to force a compatible version of protobuf. However, we also have to update our own requirements.txt to force the same version of protobuf, to unbreak the build when TensorFlow is not installed.

Googlers, see: http://b/182876485.
See: protocolbuffers/protobuf#9954 (comment)
See: https://cs.opensource.google/tensorflow/tensorflow/+/master:tensorflow/tools/pip_package/setup.py?q=protobuf
dna2github pushed a commit to dna2fork/tensorboard that referenced this pull request May 1, 2023
The latest protobuf release is not backwards compatible with TensorFlow's protos and our copies of those protos in tensorboard/compat/proto . We knew this change was coming so, fortunately, TF had already fixed their dependencies to force a compatible version of protobuf. However, we also have to update our own requirements.txt to force the same version of protobuf, to unbreak the build when TensorFlow is not installed.

Googlers, see: http://b/182876485.
See: protocolbuffers/protobuf#9954 (comment)
See: https://cs.opensource.google/tensorflow/tensorflow/+/master:tensorflow/tools/pip_package/setup.py?q=protobuf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants