Skip to content

Commit 6c21cff

Browse files
authored
python312Packages.plotly: disable checks on darwin, unbreak (#347567)
2 parents 0cdc526 + 31a40d3 commit 6c21cff

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkgs/development/python-modules/plotly/default.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
lib,
3+
stdenv,
34
buildPythonPackage,
45
fetchFromGitHub,
56
setuptools,
@@ -70,6 +71,9 @@ buildPythonPackage rec {
7071
scikit-image
7172
];
7273

74+
# the check inputs are broken on darwin
75+
doCheck = !stdenv.hostPlatform.isDarwin;
76+
7377
disabledTests = [
7478
# FAILED plotly/matplotlylib/mplexporter/tests/test_basic.py::test_legend_dots - AssertionError: assert '3' == '2'
7579
"test_legend_dots"
@@ -116,6 +120,9 @@ buildPythonPackage rec {
116120
"test_dependencies_not_imported"
117121
# FAILED test_init/test_lazy_imports.py::test_lazy_imports - AssertionError: assert 'plotly' not in {'IPython': <module 'IPython' from '...
118122
"test_lazy_imports"
123+
# requires vaex and polars, vaex is not packaged
124+
"test_build_df_from_vaex_and_polars"
125+
"test_build_df_with_hover_data_from_vaex_and_polars"
119126
];
120127

121128
pythonImportsCheck = [ "plotly" ];

0 commit comments

Comments
 (0)