From f2c7a3f6a6cb9c4e9ddb4c852816ea8f790d056a Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Thu, 5 Jan 2023 16:06:59 -0800 Subject: [PATCH 1/2] Pin protobuf to <= 3.20 Fixes https://github.com/census-instrumentation/opencensus-python/issues/1171. --- contrib/opencensus-ext-azure/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/opencensus-ext-azure/setup.py b/contrib/opencensus-ext-azure/setup.py index 28d8c450a..54a1c3fea 100644 --- a/contrib/opencensus-ext-azure/setup.py +++ b/contrib/opencensus-ext-azure/setup.py @@ -46,6 +46,7 @@ 'opencensus >= 0.12.dev0, < 1.0.0', 'psutil >= 5.6.3', 'requests >= 2.19.0', + 'protobuf <= 3.20.*' ], extras_require={}, license='Apache-2.0', From e3c25cd8f1f1394fae492c4a9f95a9db317b8d84 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Thu, 5 Jan 2023 16:07:19 -0800 Subject: [PATCH 2/2] add trailing comma --- contrib/opencensus-ext-azure/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/opencensus-ext-azure/setup.py b/contrib/opencensus-ext-azure/setup.py index 54a1c3fea..78d444b69 100644 --- a/contrib/opencensus-ext-azure/setup.py +++ b/contrib/opencensus-ext-azure/setup.py @@ -46,7 +46,7 @@ 'opencensus >= 0.12.dev0, < 1.0.0', 'psutil >= 5.6.3', 'requests >= 2.19.0', - 'protobuf <= 3.20.*' + 'protobuf <= 3.20.*', ], extras_require={}, license='Apache-2.0',