Loading pkgs/development/python-modules/opentelemetry-instrumentation-grpc/default.nix +11 −2 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, stdenv, buildPythonPackage, fetchpatch2, pythonOlder, hatchling, opentelemetry-api, Loading @@ -20,6 +21,16 @@ buildPythonPackage { disabled = pythonOlder "3.8"; patches = [ (fetchpatch2 { name = "grpcio-compatibility.patch"; url = "https://github.com/open-telemetry/opentelemetry-python-contrib/commit/1c8d8ef5368c15d27c0973ce80787fd94c7b3176.patch"; includes = [ "src/opentelemetry/instrumentation/grpc/grpcext/_interceptor.py" ]; stripLen = 2; hash = "sha256-FH/VubT93kwh7nWQyPfECTIayMqWIjQYSEY5TER+4vY="; }) ]; sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-grpc"; build-system = [ hatchling ]; Loading Loading @@ -53,7 +64,5 @@ buildPythonPackage { meta = opentelemetry-instrumentation.meta // { homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-grpc"; description = "OpenTelemetry Instrumentation for grpc"; # https://github.com/open-telemetry/opentelemetry-python-contrib/issues/2483 broken = lib.versionAtLeast grpcio.version "1.63"; }; } Loading
pkgs/development/python-modules/opentelemetry-instrumentation-grpc/default.nix +11 −2 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, stdenv, buildPythonPackage, fetchpatch2, pythonOlder, hatchling, opentelemetry-api, Loading @@ -20,6 +21,16 @@ buildPythonPackage { disabled = pythonOlder "3.8"; patches = [ (fetchpatch2 { name = "grpcio-compatibility.patch"; url = "https://github.com/open-telemetry/opentelemetry-python-contrib/commit/1c8d8ef5368c15d27c0973ce80787fd94c7b3176.patch"; includes = [ "src/opentelemetry/instrumentation/grpc/grpcext/_interceptor.py" ]; stripLen = 2; hash = "sha256-FH/VubT93kwh7nWQyPfECTIayMqWIjQYSEY5TER+4vY="; }) ]; sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-grpc"; build-system = [ hatchling ]; Loading Loading @@ -53,7 +64,5 @@ buildPythonPackage { meta = opentelemetry-instrumentation.meta // { homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-grpc"; description = "OpenTelemetry Instrumentation for grpc"; # https://github.com/open-telemetry/opentelemetry-python-contrib/issues/2483 broken = lib.versionAtLeast grpcio.version "1.63"; }; }