From 1eee35dffbaf5952e4a24da750c008092dfc8ba3 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 21 Jun 2022 21:39:00 +0200 Subject: [PATCH] Disable opentelemetry installation for unit tests. (#4871) --- tests/unit/requirements.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/unit/requirements.txt b/tests/unit/requirements.txt index 59ea49ed90..932aa1d4fd 100644 --- a/tests/unit/requirements.txt +++ b/tests/unit/requirements.txt @@ -29,10 +29,11 @@ dnsimple >= 2 ; python_version >= '3.6' dataclasses ; python_version == '3.6' # requirement for the opentelemetry callback plugin -# WARNING: these libraries depend on grpcio, which takes 7 minutes (!) to build in CI on Python 3.10 -opentelemetry-api ; python_version >= '3.6' and python_version < '3.10' -opentelemetry-exporter-otlp ; python_version >= '3.6' and python_version < '3.10' -opentelemetry-sdk ; python_version >= '3.6' and python_version < '3.10' +# WARNING: these libraries rely on Protobuf for Python, which regularly stops installing. +# That's why they are disabled for now. +# opentelemetry-api ; python_version >= '3.6' and python_version < '3.10' +# opentelemetry-exporter-otlp ; python_version >= '3.6' and python_version < '3.10' +# opentelemetry-sdk ; python_version >= '3.6' and python_version < '3.10' # requirement for the elastic callback plugin elastic-apm ; python_version >= '3.6'