python3Packages.opentelemetry-instrumentation-threading: init at 0.55b0

Package opentelemetry-instrumentation-threading from the opentelemetry-python-contrib source tree.

Required by semgrep 1.152.0 runtime dependencies.
This commit is contained in:
caverav
2026-02-28 12:49:46 -03:00
parent f32e703105
commit 934f40ee87
2 changed files with 41 additions and 0 deletions
@@ -0,0 +1,37 @@
{
buildPythonPackage,
hatchling,
opentelemetry-api,
opentelemetry-instrumentation,
opentelemetry-test-utils,
pytestCheckHook,
wrapt,
}:
buildPythonPackage {
inherit (opentelemetry-instrumentation) version src;
pname = "opentelemetry-instrumentation-threading";
pyproject = true;
sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-threading";
build-system = [ hatchling ];
dependencies = [
opentelemetry-api
opentelemetry-instrumentation
wrapt
];
nativeCheckInputs = [
opentelemetry-test-utils
pytestCheckHook
];
pythonImportsCheck = [ "opentelemetry.instrumentation.threading" ];
meta = opentelemetry-instrumentation.meta // {
description = "Thread context propagation support for OpenTelemetry";
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-threading";
};
}
+4
View File
@@ -11630,6 +11630,10 @@ self: super: with self; {
callPackage ../development/python-modules/opentelemetry-instrumentation-sqlalchemy
{ };
opentelemetry-instrumentation-threading =
callPackage ../development/python-modules/opentelemetry-instrumentation-threading
{ };
opentelemetry-instrumentation-urllib3 =
callPackage ../development/python-modules/opentelemetry-instrumentation-urllib3
{ };