From 0c18f6b0c3d3ea200cce0ed13879843841f8508f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 14 Sep 2025 21:07:31 -0700 Subject: [PATCH] python3Packages.spyder-kernels: run tests --- .../python-modules/spyder-kernels/default.nix | 48 ++++++++++++++++++- 1 file changed, 46 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/spyder-kernels/default.nix b/pkgs/development/python-modules/spyder-kernels/default.nix index 993a6ce62554..c51129b7b0a9 100644 --- a/pkgs/development/python-modules/spyder-kernels/default.nix +++ b/pkgs/development/python-modules/spyder-kernels/default.nix @@ -14,6 +14,22 @@ pyxdg, pyzmq, wurlitzer, + + # tests + anyio, + django, + flaky, + h5py, + numpy, + pandas, + pillow, + polars, + pyarrow, + pydicom, + pytestCheckHook, + scipy, + writableTmpDirAsHomeHook, + xarray, }: buildPythonPackage rec { @@ -44,8 +60,36 @@ buildPythonPackage rec { wurlitzer ]; - # No tests - doCheck = false; + nativeCheckInputs = [ + anyio + django + flaky + h5py + numpy + pandas + pillow + polars + pyarrow + pydicom + pytestCheckHook + scipy + writableTmpDirAsHomeHook + xarray + ]; + + disabledTests = [ + "test_umr_reload_modules" + # OSError: Kernel failed to start + "test_debug_namespace" + "test_enter_debug_after_interruption" + "test_global_message" + "test_interrupt_long_sleep" + "test_interrupt_short_loop" + "test_matplotlib_inline" + "test_multiprocessing" + "test_np_threshold" + "test_runfile" + ]; pythonImportsCheck = [ "spyder_kernels" ];