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

Avoids bad protobuf version 4.24.0 #6746

Merged
merged 7 commits into from
Feb 2, 2024

Conversation

arcra
Copy link
Member

@arcra arcra commented Feb 2, 2024

I should have added this condition in #6660. At the time I thought it wouldn't matter much, as I assumed users would most likely get a newer version installed, but on second thought, it would be better to have this check, just in case.

@arcra arcra requested a review from bmd3k February 2, 2024 05:50
werkzeug >= 1.0.1
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't know what this diff on L37 is trying to tell me but perhaps you could double check that there isn't something corrupted here.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think a line break was either added or removed at the end of file. Although I tried adding it back, and it was still showing a diff, so I'm not entirely sure. But I don't think this is an issue.

@@ -24,7 +24,7 @@ numpy >= 1.12.0
# At the same time, any constraints we specify here must allow at least some
# version to be installed that is also compatible with TensorFlow's constraints:
# https://github.com/tensorflow/tensorflow/blob/9d22f4a0a9499c8e10a4312503e63e0da35ccd94/tensorflow/tools/pip_package/setup.py#L100-L107
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the comment still valid? (seems to point to an old commit. The most up-to-date constraints look different than ours).

Also, is there an easy reference/link explaining what's wrong with 4.24.0 that we can also add to this comment?

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated the reference, but I think the comment is still valid. We don't need to have the exact same restrictions, we just need to have "at least some versions that is also compatible with TensorFlow's constraints".

@arcra arcra merged commit 5ee586c into tensorflow:master Feb 2, 2024
13 checks passed
@arcra arcra deleted the avoid_proto_version branch February 2, 2024 23:49
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.

2 participants