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

Add upper bound to protobuf in setup.py. #56199

Closed
wants to merge 2 commits into from
Closed

Add upper bound to protobuf in setup.py. #56199

wants to merge 2 commits into from

Conversation

pranve
Copy link

@pranve pranve commented May 20, 2022

See also: #53234
See also: protocolbuffers/protobuf#9954
See also: #56077

PiperOrigin-RevId: 450054200

See also: #53234
See also: protocolbuffers/protobuf#9954
See also: #56077

PiperOrigin-RevId: 450054200
@pranve pranve requested a review from mihaimaruseac May 20, 2022 23:32
Comment on lines +92 to +99
# TODO(b/182876485): Protobuf 3.20 results in linker errors on Windows
# Protobuf 4.0 is binary incompatible with what C++ TF uses.
# We need ~1 quarter to update properly.
# See also: https://github.com/tensorflow/tensorflow/issues/53234
# See also: https://github.com/protocolbuffers/protobuf/issues/9954
# See also: https://github.com/tensorflow/tensorflow/issues/56077
# This is a temporary patch for now, to patch previous TF releases.
'protobuf >= 3.9.2, < 3.20',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You only need these lines to be added

'h5py ~= 3.1.0',
'keras_preprocessing ~= 1.1.2',
'opt_einsum ~= 3.3.0',
'protobuf >= 3.9.2',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And you only need this line to be removed

@mihaimaruseac
Copy link
Collaborator

Replacing with #56200

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

2 participants