python3Packages.sentry-sdk: fix build on x86_64-darwin

This commit is contained in:
Ben Siraphob
2026-04-19 22:01:34 -07:00
parent 4ed2dff2b5
commit d78ec4a36b
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
# build-system
setuptools,
@@ -215,7 +216,13 @@ buildPythonPackage (finalAttrs: {
# KeyError: 'sentry.release'
"test_logs_attributes"
"test_logger_with_all_attributes"
];
]
++
lib.optionals (pythonAtLeast "3.14" && stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin)
[
# profiler_id not populated on darwin
"test_segment_span_has_profiler_id"
];
pythonImportsCheck = [ "sentry_sdk" ];