mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
python310Packages.spacy-transformers: relax deps
This commit is contained in:
parent
a2bd679bd7
commit
88ea1acabe
@ -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 New Issue
Block a user