Unverified Commit b24118c3 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.sentry-sdk: fix build on x86_64-darwin (#511529)

parents 10cae497 d78ec4a3
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonAtLeast,

  # build-system
  setuptools,
@@ -219,6 +220,12 @@ 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" ];