7 , opentelemetry-semantic-conventions
8 , opentelemetry-test-utils
15 self = buildPythonPackage {
16 inherit (opentelemetry-api) version src;
17 pname = "opentelemetry-sdk";
18 disabled = pythonOlder "3.7";
20 sourceRoot = "${opentelemetry-api.src.name}/opentelemetry-sdk";
28 propagatedBuildInputs = [
30 opentelemetry-semantic-conventions
37 opentelemetry-test-utils
42 "tests/performance/benchmarks/"
45 pythonImportsCheck = [ "opentelemetry.sdk" ];
49 # Enable tests via passthru to avoid cyclic dependency with opentelemetry-test-utils.
50 passthru.tests.${self.pname} = self.overridePythonAttrs { doCheck = true; };
52 meta = opentelemetry-api.meta // {
53 homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-sdk";
54 description = "OpenTelemetry Python SDK";