Merge pull request #224867 from wegank/spacy-transformers-deps
python310Packages.spacy-transformers: relax deps
This commit is contained in:
commit
cc4a9bae4f
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue