From 97a2ec13acdc13cad1bd20168c9e0d33390b4388 Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Thu, 5 Sep 2024 17:25:55 +0200 Subject: [PATCH] Ping protobuf to <5.28 to fix Google Vertex Components serialization --- integrations/google_vertex/pyproject.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/integrations/google_vertex/pyproject.toml b/integrations/google_vertex/pyproject.toml index 747bbecbf..71158f712 100644 --- a/integrations/google_vertex/pyproject.toml +++ b/integrations/google_vertex/pyproject.toml @@ -22,7 +22,12 @@ classifiers = [ "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] -dependencies = ["haystack-ai", "google-cloud-aiplatform>=1.38", "pyarrow>3"] +dependencies = [ + "haystack-ai", + "google-cloud-aiplatform>=1.38", + "pyarrow>3", + "protobuf<5.28", +] [project.urls] Documentation = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/google_vertex#readme"