From ae8af575ed875d8a934e78016655d0a7094283b5 Mon Sep 17 00:00:00 2001 From: avycado13 <108358183+avycado13@users.noreply.github.com> Date: Tue, 9 Jun 2026 15:52:14 -0700 Subject: [PATCH] python3Packages.sentry-sdk: fix tests on Python 3.13 darwin | refactor Extend the Darwin profiler test exclusions to also cover Python 3.13 (previously only pythonAtLeast "3.14"). The test_profile_stops_when_segment_ends and test_segment_span_has_profiler_id tests fail on Python 3.13 on Darwin because profiler_id is not populated, so they need to be disabled there as well. --- pkgs/development/python-modules/sentry-sdk/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/sentry-sdk/default.nix b/pkgs/development/python-modules/sentry-sdk/default.nix index 8316239d4492..ffd8e4689248 100644 --- a/pkgs/development/python-modules/sentry-sdk/default.nix +++ b/pkgs/development/python-modules/sentry-sdk/default.nix @@ -223,7 +223,7 @@ buildPythonPackage (finalAttrs: { "test_span_templates_ai_dicts" "test_span_templates_ai_objects" ] - ++ lib.optionals (pythonAtLeast "3.14" && stdenv.hostPlatform.isDarwin) [ + ++ lib.optionals (pythonAtLeast "3.13" && stdenv.hostPlatform.isDarwin) [ # profiler_id not populated on darwin "test_profile_stops_when_segment_ends" "test_segment_span_has_profiler_id"