about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2024-04-23 10:27:01 +0200
committerGitHub <noreply@github.com>2024-04-23 10:27:01 +0200
commit4e3c38538845c1f83c146465570f89eeb6131c6c (patch)
treee66fb325a5064e9cbf303d3410a3b05d075fde30
parent8420bae6105680deae07dc4bb634b77df011b864 (diff)
parent75b5cf271082d6ebbc29f5026aa90548ebd9b1d0 (diff)
Merge pull request #305813 from vytskalt/whisper-deps
python312Packages.openai-whisper: remove unused runtime dependencies
-rw-r--r--pkgs/development/python-modules/openai-whisper/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/openai-whisper/default.nix b/pkgs/development/python-modules/openai-whisper/default.nix
index 26c2bbb0a3127..0038098e586ab 100644
--- a/pkgs/development/python-modules/openai-whisper/default.nix
+++ b/pkgs/development/python-modules/openai-whisper/default.nix
@@ -14,14 +14,13 @@
 , numba
 , numpy
 , openai-triton
-, scipy
 , tiktoken
 , torch
 , tqdm
-, transformers
 
 # tests
 , pytestCheckHook
+, scipy
 }:
 
 buildPythonPackage rec {
@@ -45,6 +44,7 @@ buildPythonPackage rec {
 
   nativeBuildInputs = [
     setuptools
+    scipy
   ];
 
   propagatedBuildInputs = [
@@ -52,11 +52,9 @@ buildPythonPackage rec {
     numba
     numpy
     openai-triton
-    scipy
     tiktoken
     torch
     tqdm
-    transformers
   ];
 
   preCheck = ''