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:
parent
f242db71c9
commit
2dba2d7c21
1 changed files with 13 additions and 5 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue