python310Packages.spacy-transformers: update postPatch
This commit is contained in:
parent
a4960686f5
commit
3ba872b85f
1 changed files with 1 additions and 1 deletions
|
@ -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().
|
||||
|
|
Loading…
Reference in a new issue