Commit 934f40ee authored by caverav's avatar caverav
Browse files

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.
parent f32e7031
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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
      { };