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:
Fabian Affolter 2022-12-27 18:48:49 +01:00 committed by GitHub
commit a170934118
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "spacy-transformers";
version = "1.1.8";
version = "1.1.9";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-e7YuBEq2yggW5G2pJ0Rjw9z3c1jqgRKCifYSfnzblVs=";
hash = "sha256-2uU6y/rsvNSLpeXL6O9IOQ0RMN0AEMH+/IKH6uufusU=";
};
propagatedBuildInputs = [
@ -30,11 +30,6 @@ buildPythonPackage rec {
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().
doCheck = false;
@ -47,6 +42,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "spaCy pipelines for pretrained BERT, XLNet and GPT-2";
homepage = "https://github.com/explosion/spacy-transformers";
changelog = "https://github.com/explosion/spacy-transformers/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
};