python3Packages.spacy-transformers: ignore transformers version

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt 2021-11-02 19:46:50 +01:00 committed by Jonathan Ringer
parent b72d316eed
commit 1598fc203d

View File

@ -21,6 +21,10 @@ buildPythonPackage rec {
sha256 = "b84c195dc21a28582579dea3f76c90222e29ee0d99b6adf38ade75646ed2746e";
};
postPatch = ''
sed -i 's/transformers>=3.4.0,<4.12.0/transformers/' setup.cfg
'';
propagatedBuildInputs = [
pytorch
spacy