You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by jr...@apache.org on 2024/10/09 15:38:16 UTC
(beam) 01/01: Pin protobuf version for TF dependency tests
This is an automated email from the ASF dual-hosted git repository.
jrmccluskey pushed a commit to branch tfVersionPin
in repository https://gitbox.apache.org/repos/asf/beam.git
commit 5d24020377601cc2eb36581cead74e8306ceaebd
Author: Jack McCluskey <th...@gmail.com>
AuthorDate: Wed Oct 9 11:38:00 2024 -0400
Pin protobuf version for TF dependency tests
---
sdks/python/tox.ini | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sdks/python/tox.ini b/sdks/python/tox.ini
index 2dfe0670ed0..776adcc8911 100644
--- a/sdks/python/tox.ini
+++ b/sdks/python/tox.ini
@@ -393,6 +393,7 @@ deps =
212: tensorflow>=2.12rc1,<2.13
# Help pip resolve conflict with typing-extensions for old version of TF https://github.com/apache/beam/issues/30852
212: pydantic<2.7
+ 212: protobuf>=4.0.0,<5.0.0.dev0
extras = test,gcp
commands =
# Log tensorflow version for debugging
@@ -424,6 +425,7 @@ deps =
430: transformers>=4.30.0,<4.31.0
torch>=1.9.0,<1.14.0
tensorflow==2.12.0
+ protobuf>=4.0.0,<5.0.0.dev0
extras = test,gcp
commands =
# Log transformers and its dependencies version for debugging