python3.pkgs.tokenizers: fix build
This commit is contained in:
parent
513a3ea665
commit
e049392289
1 changed files with 1 additions and 1 deletions
|
@ -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