|
14 | 14 | xarray, |
15 | 15 | pillow, |
16 | 16 | scipy, |
17 | | - psutil, |
18 | 17 | statsmodels, |
19 | 18 | ipython, |
20 | 19 | ipywidgets, |
21 | 20 | which, |
22 | | - orca, |
23 | 21 | nbformat, |
24 | 22 | scikit-image, |
25 | 23 | }: |
@@ -61,69 +59,39 @@ buildPythonPackage rec { |
61 | 59 | xarray |
62 | 60 | pillow |
63 | 61 | scipy |
64 | | - psutil |
65 | 62 | statsmodels |
66 | 63 | ipython |
67 | 64 | ipywidgets |
68 | 65 | which |
69 | | - orca |
70 | 66 | nbformat |
71 | 67 | scikit-image |
72 | 68 | ]; |
73 | 69 |
|
74 | | - # the check inputs are broken on darwin |
75 | | - doCheck = !stdenv.hostPlatform.isDarwin; |
76 | | - |
77 | 70 | disabledTests = [ |
78 | | - # FAILED plotly/matplotlylib/mplexporter/tests/test_basic.py::test_legend_dots - AssertionError: assert '3' == '2' |
| 71 | + # failed pinning test, sensitive to dep versions |
79 | 72 | "test_legend_dots" |
80 | | - # FAILED plotly/matplotlylib/mplexporter/tests/test_utils.py::test_linestyle - AssertionError: |
81 | 73 | "test_linestyle" |
82 | | - # FAILED plotly/tests/test_io/test_to_from_plotly_json.py::test_sanitize_json[auto] - KeyError: 'template' |
83 | | - # FAILED plotly/tests/test_io/test_to_from_plotly_json.py::test_sanitize_json[json] - KeyError: 'template' |
| 74 | + # test bug, i assume sensitive to dep versions |
84 | 75 | "test_sanitize_json" |
85 | | - # FAILED plotly/tests/test_orca/test_orca_server.py::test_validate_orca - ValueError: |
86 | | - "test_validate_orca" |
87 | | - # FAILED plotly/tests/test_orca/test_orca_server.py::test_orca_executable_path - ValueError: |
88 | | - "test_orca_executable_path" |
89 | | - # FAILED plotly/tests/test_orca/test_orca_server.py::test_orca_version_number - ValueError: |
90 | | - "test_orca_version_number" |
91 | | - # FAILED plotly/tests/test_orca/test_orca_server.py::test_ensure_orca_ping_and_proc - ValueError: |
92 | | - "test_ensure_orca_ping_and_proc" |
93 | | - # FAILED plotly/tests/test_orca/test_orca_server.py::test_server_timeout_shutdown - ValueError: |
94 | | - "test_server_timeout_shutdown" |
95 | | - # FAILED plotly/tests/test_orca/test_orca_server.py::test_external_server_url - ValueError: |
96 | | - "test_external_server_url" |
97 | | - # FAILED plotly/tests/test_orca/test_to_image.py::test_simple_to_image[eps] - ValueError: |
98 | | - "test_simple_to_image" |
99 | | - # FAILED plotly/tests/test_orca/test_to_image.py::test_to_image_default[eps] - ValueError: |
100 | | - "test_to_image_default" |
101 | | - # FAILED plotly/tests/test_orca/test_to_image.py::test_write_image_string[eps] - ValueError: |
102 | | - "test_write_image_string" |
103 | | - # FAILED plotly/tests/test_orca/test_to_image.py::test_write_image_writeable[eps] - ValueError: |
104 | | - "test_write_image_writeable" |
105 | | - # FAILED plotly/tests/test_orca/test_to_image.py::test_write_image_string_format_inference[eps] - ValueError: |
106 | | - "test_write_image_string_format_inference" |
107 | | - # FAILED plotly/tests/test_orca/test_to_image.py::test_write_image_string_bad_extension_failure - assert 'must be specified as one of the followi... |
108 | | - "test_write_image_string_bad_extension_failure" |
109 | | - # FAILED plotly/tests/test_orca/test_to_image.py::test_write_image_string_bad_extension_override - ValueError: |
110 | | - "test_write_image_string_bad_extension_override" |
111 | | - # FAILED plotly/tests/test_orca/test_to_image.py::test_topojson_fig_to_image[eps] - ValueError: |
112 | | - "test_topojson_fig_to_image" |
113 | | - # FAILED plotly/tests/test_orca/test_to_image.py::test_latex_fig_to_image[eps] - ValueError: |
114 | | - "test_latex_fig_to_image" |
115 | | - # FAILED plotly/tests/test_orca/test_to_image.py::test_problematic_environment_variables[eps] - ValueError: |
116 | | - "test_problematic_environment_variables" |
117 | | - # FAILED plotly/tests/test_orca/test_to_image.py::test_invalid_figure_json - assert 'Invalid' in "\nThe orca executable is required in order to e... |
118 | | - "test_invalid_figure_json" |
119 | | - # FAILED test_init/test_dependencies_not_imported.py::test_dependencies_not_imported - AssertionError: assert 'plotly' not in {'IPython': <module> |
120 | | - "test_dependencies_not_imported" |
121 | | - # FAILED test_init/test_lazy_imports.py::test_lazy_imports - AssertionError: assert 'plotly' not in {'IPython': <module 'IPython' from '... |
122 | | - "test_lazy_imports" |
123 | 76 | # requires vaex and polars, vaex is not packaged |
124 | 77 | "test_build_df_from_vaex_and_polars" |
125 | 78 | "test_build_df_with_hover_data_from_vaex_and_polars" |
| 79 | + # lazy loading error, could it be the sandbox PYTHONPATH? |
| 80 | + # AssertionError: assert "plotly" not in sys.modules |
| 81 | + "test_dependencies_not_imported" |
| 82 | + "test_lazy_imports" |
126 | 83 | ]; |
| 84 | + disabledTestPaths = |
| 85 | + [ |
| 86 | + # unable to locate orca binary, adding the package does not fix it |
| 87 | + "plotly/tests/test_orca/" |
| 88 | + ] |
| 89 | + ++ lib.optionals stdenv.hostPlatform.isDarwin [ |
| 90 | + # requires local networking |
| 91 | + "plotly/tests/test_io/test_renderers.py" |
| 92 | + # fails to launch kaleido subprocess |
| 93 | + "plotly/tests/test_optional/test_kaleido" |
| 94 | + ]; |
127 | 95 |
|
128 | 96 | pythonImportsCheck = [ "plotly" ]; |
129 | 97 |
|
|
0 commit comments