python311Packages.opentelemetry-instrumentation-grpc: 0.43b0 -> 0.44b0

Diff: open-telemetry/opentelemetry-python-contrib@refs/tags/v0.43b0...v0.44b0

Changelog: https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/refs/tags/v0.44b0
This commit is contained in:
natsukium 2024-03-09 09:38:07 +09:00
parent f242db71c9
commit 2dba2d7c21
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53

View file

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, pythonOlder
, hatchling
@ -15,17 +16,17 @@
buildPythonPackage {
inherit (opentelemetry-instrumentation) version src;
pname = "opentelemetry-instrumentation-grpc";
disabled = pythonOlder "3.7";
pyproject = true;
disabled = pythonOlder "3.8";
sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-grpc";
format = "pyproject";
nativeBuildInputs = [
build-system = [
hatchling
];
propagatedBuildInputs = [
dependencies = [
opentelemetry-api
opentelemetry-instrumentation
opentelemetry-sdk
@ -43,8 +44,15 @@ buildPythonPackage {
pytestCheckHook
];
disabledTests = lib.optionals stdenv.isDarwin [
# RuntimeError: Failed to bind to address
"TestOpenTelemetryServerInterceptorUnix"
];
pythonImportsCheck = [ "opentelemetry.instrumentation.grpc" ];
__darwinAllowLocalNetworking = true;
meta = opentelemetry-instrumentation.meta // {
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-grpc";
description = "OpenTelemetry Instrumentation for grpc";