mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
python3Packages.spacy-transformers: ignore transformers version
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
parent
b72d316eed
commit
1598fc203d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user