Merge pull request #224867 from wegank/spacy-transformers-deps

python310Packages.spacy-transformers: relax deps
This commit is contained in:
Weijia Wang 2023-04-06 00:20:46 +03:00 committed by GitHub
commit cc4a9bae4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;