Unverified Commit 485395ea authored by Zexin Yuan's avatar Zexin Yuan
Browse files

python3Packages.plotly: unbreak on darwin

parent f0d433d9
Loading
Loading
Loading
Loading
+20 −3
Original line number Diff line number Diff line
@@ -103,11 +103,28 @@ buildPythonPackage rec {
    "test_acceptance_named"
  ];

  __darwinAllowLocalNetworking = true;

  disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
    # requires local networking
    "plotly/tests/test_io/test_renderers.py"
    # fails to launch kaleido subprocess
    "plotly/tests/test_optional/test_kaleido"
    "tests/test_optional/test_kaleido"
    # numpy2 related error, RecursionError
    # See: https://github.com/plotly/plotly.py/issues/4852
    "tests/test_plotly_utils/validators/test_angle_validator.py"
    "tests/test_plotly_utils/validators/test_any_validator.py"
    "tests/test_plotly_utils/validators/test_color_validator.py"
    "tests/test_plotly_utils/validators/test_colorlist_validator.py"
    "tests/test_plotly_utils/validators/test_colorscale_validator.py"
    "tests/test_plotly_utils/validators/test_dataarray_validator.py"
    "tests/test_plotly_utils/validators/test_enumerated_validator.py"
    "tests/test_plotly_utils/validators/test_fig_deepcopy.py"
    "tests/test_plotly_utils/validators/test_flaglist_validator.py"
    "tests/test_plotly_utils/validators/test_infoarray_validator.py"
    "tests/test_plotly_utils/validators/test_integer_validator.py"
    "tests/test_plotly_utils/validators/test_number_validator.py"
    "tests/test_plotly_utils/validators/test_pandas_series_input.py"
    "tests/test_plotly_utils/validators/test_string_validator.py"
    "tests/test_plotly_utils/validators/test_xarray_input.py"
  ];

  pythonImportsCheck = [ "plotly" ];