From 0f01493114d2ccf35c0e2a949fd2ec611f3a82fa Mon Sep 17 00:00:00 2001 From: Quigley Malcolm Date: Thu, 22 Feb 2024 10:30:01 -0800 Subject: [PATCH] Restrict protobuf to 4.* versions Protobuf v5 has breaking changes. Here we are limiting the protobuf dependency to one major version, 4, so that we don't have to patch over handling 2 different major versions of protobuf. --- .changes/unreleased/Dependencies-20240222-102947.yaml | 6 ++++++ core/setup.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changes/unreleased/Dependencies-20240222-102947.yaml diff --git a/.changes/unreleased/Dependencies-20240222-102947.yaml b/.changes/unreleased/Dependencies-20240222-102947.yaml new file mode 100644 index 00000000000..9c21d51e21e --- /dev/null +++ b/.changes/unreleased/Dependencies-20240222-102947.yaml @@ -0,0 +1,6 @@ +kind: Dependencies +body: Restrict protobuf to 4.* versions +time: 2024-02-22T10:29:47.595435-08:00 +custom: + Author: QMalcolm + PR: "9566" diff --git a/core/setup.py b/core/setup.py index 3a575747f54..1e34a6e68c7 100644 --- a/core/setup.py +++ b/core/setup.py @@ -77,7 +77,7 @@ # ---- # Expect compatibility with all new versions of these packages, so lower bounds only. "packaging>20.9", - "protobuf>=4.0.0", + "protobuf>=4.0.0,<5", "pytz>=2015.7", "pyyaml>=6.0", "daff>=1.3.46",