python310Packages.spacy-transformers: update postPatch

This commit is contained in:
Fabian Affolter 2022-11-01 00:49:17 +01:00
parent a4960686f5
commit 3ba872b85f

View file

@ -35,7 +35,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.cfg \
--replace "transformers>=3.4.0,<4.18.0" "transformers>=3.4.0 # ,<4.18.0"
--replace "transformers>=3.4.0,<4.22.0" "transformers>=3.4.0 # ,<4.22.0"
'';
# Test fails due to missing arguments for trfs2arrays().