From f6c09427a7906364ead74b35d0514cd79705b4fe Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Sun, 17 May 2026 13:22:34 +0400 Subject: [PATCH] python3Packages.mapclassify: fix darwin build --- .../python-modules/mapclassify/default.nix | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/pkgs/development/python-modules/mapclassify/default.nix b/pkgs/development/python-modules/mapclassify/default.nix index b5c1fabea97a..3700e9a85473 100644 --- a/pkgs/development/python-modules/mapclassify/default.nix +++ b/pkgs/development/python-modules/mapclassify/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, pytestCheckHook, @@ -56,6 +57,33 @@ buildPythonPackage rec { # depends on remote datasets "test_legendgram_map" "test_legendgram_most_recent_cmap" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + # RuntimeError: *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1] + "test_legendgram_returns_axis" + "test_legendgram_standalone" + "test_legendgram_inset_false" + "test_legendgram_clip" + "test_legendgram_tick_params" + "test_legendgram_frameon" + "test_legendgram_default" + "test_legendgram_vlines" + "test_legendgram_cmap" + "test_legendgram_cmap_class" + "test_legendgram_position" + "test_legendgram_kwargs" + "test_histogram_plot" + "test_histogram_plot_despine" + "test_histogram_plot_linewidth" + "test_no_classify_default" + "test_pass_in_ax" + "test_classify_xy_redblue" + "test_divergent_revert_alpha_min_alpha" + "test_userdefined_colors" + "test_shifted_colormap" + "test_truncated_colormap" + "test_legend" + "test_legend_kwargs" ]; pythonImportsCheck = [ "mapclassify" ];