From 6064eb844e8b79afd3b7f387525455f1868b0527 Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Mon, 9 Dec 2024 04:30:38 -0800 Subject: [PATCH] python test: use scipy as tensorflow broken on macOS --- tests/app/Spec/Tests/Python.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/app/Spec/Tests/Python.hs b/tests/app/Spec/Tests/Python.hs index 4914410..c4e7d76 100644 --- a/tests/app/Spec/Tests/Python.hs +++ b/tests/app/Spec/Tests/Python.hs @@ -31,7 +31,7 @@ tests' kernelName = describe [i|Python (#{kernelName})|] $ introduceNixEnvironme testKernelStdout kernelName [i|print("hi")|] "hi\n" testKernelStdout kernelName [i|print(42)|] "42\n" - testKernelStdout' kernelName [i|import tensorflow|] Nothing + testKernelStdout' kernelName [i|import scipy|] Nothing testDiagnostics "python-lsp-server" "test.py" Nothing [i|\n\n\nfoo = 42|] $ \diagnostics -> do assertDiagnosticRanges diagnostics [] @@ -71,7 +71,7 @@ kernelSpec kernelName = NixKernelSpec { nixKernelName = kernelName , nixKernelChannel = "codedown" , nixKernelDisplayName = Just "Python" - , nixKernelPackages = [nameOnly "tensorflow"] + , nixKernelPackages = [nameOnly "scipy"] , nixKernelMeta = Nothing , nixKernelIcon = Nothing , nixKernelExtraConfig = Just [