Merge pull request #207642 from r-ryantm/auto-update/python310Packages.spacy-transformers
python310Packages.spacy-transformers: 1.1.8 -> 1.1.9
This commit is contained in:
commit
a170934118
1 changed files with 3 additions and 7 deletions
|
@ -12,14 +12,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "spacy-transformers";
|
pname = "spacy-transformers";
|
||||||
version = "1.1.8";
|
version = "1.1.9";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-e7YuBEq2yggW5G2pJ0Rjw9z3c1jqgRKCifYSfnzblVs=";
|
hash = "sha256-2uU6y/rsvNSLpeXL6O9IOQ0RMN0AEMH+/IKH6uufusU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -30,11 +30,6 @@ buildPythonPackage rec {
|
||||||
transformers
|
transformers
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.cfg \
|
|
||||||
--replace "transformers>=3.4.0,<4.22.0" "transformers>=3.4.0 # ,<4.22.0"
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Test fails due to missing arguments for trfs2arrays().
|
# Test fails due to missing arguments for trfs2arrays().
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -47,6 +42,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "spaCy pipelines for pretrained BERT, XLNet and GPT-2";
|
description = "spaCy pipelines for pretrained BERT, XLNet and GPT-2";
|
||||||
homepage = "https://github.com/explosion/spacy-transformers";
|
homepage = "https://github.com/explosion/spacy-transformers";
|
||||||
|
changelog = "https://github.com/explosion/spacy-transformers/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue