python3Packages.transformers: re-relax tokenizer bound

This commit is contained in:
Daniël de Kok 2021-01-23 16:22:56 +01:00
parent 861aade898
commit 7f840a1acf

View File

@ -41,8 +41,7 @@ buildPythonPackage rec {
doCheck = false;
postPatch = ''
substituteInPlace setup.py \
--replace "tokenizers == 0.9.4" "tokenizers"
sed -ri 's/tokenizers==[0-9.]+/tokenizers/g' setup.py
'';
pythonImportsCheck = [ "transformers" ];