From 06725fcf7fb216ad0cffb2cb568f8da38243c32e Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 7 Oct 2022 16:54:36 -0400 Subject: [PATCH] fix(deps): allow protobuf 3.19.5 (#839) * fix(deps): allow protobuf 3.19.5 * explicitly exclude protobuf 4.21.0 --- setup.py | 2 +- testing/constraints-3.7.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b14776ee2d..a29a3e44a4 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ "proto-plus >= 1.22.0, <2.0.0dev", "sqlparse >= 0.3.0", "packaging >= 14.3", - "protobuf >= 3.20.2, <5.0.0dev", + "protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", ] extras = { "tracing": [ diff --git a/testing/constraints-3.7.txt b/testing/constraints-3.7.txt index 7391e756d0..5a63b04a4d 100644 --- a/testing/constraints-3.7.txt +++ b/testing/constraints-3.7.txt @@ -15,4 +15,4 @@ opentelemetry-api==1.1.0 opentelemetry-sdk==1.1.0 opentelemetry-instrumentation==0.20b0 packaging==14.3 -protobuf==3.20.2 +protobuf==3.19.5