Skip to content

Commit

Permalink
python312Packages.plotly: disable checks on darwin, unbreak (#347567)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbsds authored Oct 10, 2024
2 parents 0cdc526 + 31a40d3 commit 6c21cff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/python-modules/plotly/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
setuptools,
Expand Down Expand Up @@ -70,6 +71,9 @@ buildPythonPackage rec {
scikit-image
];

# the check inputs are broken on darwin
doCheck = !stdenv.hostPlatform.isDarwin;

disabledTests = [
# FAILED plotly/matplotlylib/mplexporter/tests/test_basic.py::test_legend_dots - AssertionError: assert '3' == '2'
"test_legend_dots"
Expand Down Expand Up @@ -116,6 +120,9 @@ buildPythonPackage rec {
"test_dependencies_not_imported"
# FAILED test_init/test_lazy_imports.py::test_lazy_imports - AssertionError: assert 'plotly' not in {'IPython': <module 'IPython' from '...
"test_lazy_imports"
# requires vaex and polars, vaex is not packaged
"test_build_df_from_vaex_and_polars"
"test_build_df_with_hover_data_from_vaex_and_polars"
];

pythonImportsCheck = [ "plotly" ];
Expand Down

0 comments on commit 6c21cff

Please sign in to comment.