From 00a79b333ef13135cac563fac4650fe707ae8808 Mon Sep 17 00:00:00 2001 From: tf-metadata-team Date: Mon, 7 Oct 2024 08:34:27 -0700 Subject: [PATCH] Mark Tensorflow Metadata compatible with Protobuf v26+. PiperOrigin-RevId: 683195343 --- RELEASE.md | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index 3398d6e..5dd0045 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -6,6 +6,8 @@ ## Bug Fixes and Other Changes +* Relax dependency on Protobuf to include version 5.x + ## Breaking Changes ## Deprecations diff --git a/setup.py b/setup.py index abd91e9..30ac370 100644 --- a/setup.py +++ b/setup.py @@ -129,7 +129,7 @@ def run(self): 'absl-py>=0.9,<3.0.0', 'googleapis-common-protos>=1.56.4,<2;python_version>="3.11"', 'googleapis-common-protos>=1.52.0,<2;python_version>="3.11"', - 'protobuf>=4.25.2,<5;python_version>="3.11"', + 'protobuf>=4.25.2,<6.0.0dev;python_version>="3.11"', 'protobuf>=3.20.3,<4.21;python_version<"3.11"', ], python_requires='>=3.9,<4',