python312Packages.openai-whisper: remove unused runtime dependencies

This commit is contained in:
vytskalt 2024-04-21 21:59:01 +03:00
parent 0a9614a854
commit 75b5cf2710
No known key found for this signature in database
GPG Key ID: 3A112F524D06EF38

View File

@ -14,14 +14,13 @@
, numba , numba
, numpy , numpy
, openai-triton , openai-triton
, scipy
, tiktoken , tiktoken
, torch , torch
, tqdm , tqdm
, transformers
# tests # tests
, pytestCheckHook , pytestCheckHook
, scipy
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -45,6 +44,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
setuptools setuptools
scipy
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -52,11 +52,9 @@ buildPythonPackage rec {
numba numba
numpy numpy
openai-triton openai-triton
scipy
tiktoken tiktoken
torch torch
tqdm tqdm
transformers
]; ];
preCheck = '' preCheck = ''