python310Packages.spacy-transformers: relax deps

This commit is contained in:
Weijia Wang 2023-04-05 23:07:08 +03:00
parent a2bd679bd7
commit 88ea1acabe

View File

@ -2,6 +2,7 @@
, callPackage
, fetchPypi
, buildPythonPackage
, pythonRelaxDepsHook
, torch
, pythonOlder
, spacy
@ -22,6 +23,10 @@ buildPythonPackage rec {
hash = "sha256-Up9ZlLlAM0CDXEYDI95KsLzA0TBz/uZFqEgZLmNIABA=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
];
propagatedBuildInputs = [
torch
spacy
@ -30,6 +35,10 @@ buildPythonPackage rec {
transformers
];
pythonRelaxDeps = [
"transformers"
];
# Test fails due to missing arguments for trfs2arrays().
doCheck = false;