From c914aeab30d272340f71be4d61f57905348a9483 Mon Sep 17 00:00:00 2001 From: Ashley James Date: Mon, 11 Dec 2023 12:34:43 +0530 Subject: [PATCH] Freeze protobuf requirement macaroonbakery has a broken protobuf dependency. Pin the dependency until the fix is present on https://github.com/go-macaroon-bakery/py-macaroon-bakery/issues/94 Similar to https://github.com/canonical/charmed-openstack-upgrader/pull/192 --- requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/requirements.txt b/requirements.txt index ade9a108..5f651098 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,3 +4,6 @@ ops >= 2.2.0 jinja2 redfish git+https://github.com/canonical/prometheus-hardware-exporter.git +# Keep protobuf < 4.0 until macaroonbakery solves its incompatibility +# https://github.com/go-macaroon-bakery/py-macaroon-bakery/issues/94 +protobuf<4.0