From a1b4445b0142fbb9c04650a7f1452c6bf5e686ea Mon Sep 17 00:00:00 2001 From: Nitesh Yadav Date: Wed, 27 Mar 2024 16:54:25 -0700 Subject: [PATCH 1/2] [Backport 1.5.latest] Restrict to protobuf 4.x for adapters Fixing #9676, as it is missed to restrict to protobuf dependencies in adapters --- core/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/setup.py b/core/setup.py index aedf739bfff..2302927032a 100644 --- a/core/setup.py +++ b/core/setup.py @@ -64,7 +64,7 @@ "typing-extensions>=3.7.4", "werkzeug>=1,<3", "pathspec>=0.9,<0.12", - "protobuf>=4.0.0", + "protobuf>=4.0.0,<5", "pytz>=2015.7", # the following are all to match snowflake-connector-python "requests<3.0.0", From 7468a5836a4a45ea8be931d652054474a97d79ec Mon Sep 17 00:00:00 2001 From: Nitesh Yadav Date: Wed, 27 Mar 2024 17:32:07 -0700 Subject: [PATCH 2/2] adding changelog --- .changes/unreleased/Fixes-20240327-173015.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changes/unreleased/Fixes-20240327-173015.yaml diff --git a/.changes/unreleased/Fixes-20240327-173015.yaml b/.changes/unreleased/Fixes-20240327-173015.yaml new file mode 100644 index 00000000000..21d8aa7bf50 --- /dev/null +++ b/.changes/unreleased/Fixes-20240327-173015.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: confirm +time: 2024-03-27T17:30:15.047705-07:00 +custom: + Author: niteshy + Issue: "9830"