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
|
, callPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, pythonRelaxDepsHook
|
||||||
, torch
|
, torch
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, spacy
|
, spacy
|
||||||
|
@ -22,6 +23,10 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-Up9ZlLlAM0CDXEYDI95KsLzA0TBz/uZFqEgZLmNIABA=";
|
hash = "sha256-Up9ZlLlAM0CDXEYDI95KsLzA0TBz/uZFqEgZLmNIABA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pythonRelaxDepsHook
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
torch
|
torch
|
||||||
spacy
|
spacy
|
||||||
|
@ -30,6 +35,10 @@ buildPythonPackage rec {
|
||||||
transformers
|
transformers
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"transformers"
|
||||||
|
];
|
||||||
|
|
||||||
# Test fails due to missing arguments for trfs2arrays().
|
# Test fails due to missing arguments for trfs2arrays().
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue