mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
python3Packages.transformers: re-relax tokenizer bound
This commit is contained in:
parent
861aade898
commit
7f840a1acf
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user