python3Packages.mapclassify: fix darwin build

This commit is contained in:
Nikolay Korotkiy
2026-05-17 13:22:34 +04:00
parent de80858ddf
commit f6c09427a7
@@ -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" ];