Merge pull request #110854 from Mic92/tokenizer
python3.pkgs.tokenizers: fix build
This commit is contained in:
commit
1c7b48c1e7
|
@ -41,7 +41,7 @@ buildPythonPackage rec {
|
|||
doCheck = false;
|
||||
|
||||
postPatch = ''
|
||||
sed -ri 's/tokenizers==[0-9.]+/tokenizers/g' setup.py
|
||||
sed -ri 's/tokenizers==[^"]+/tokenizers/g' setup.py src/transformers/dependency_versions_table.py
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "transformers" ];
|
||||
|
|
Loading…
Reference in a new issue