diff options
author | Matt Melling <mattmelling@fastmail.com> | 2021-05-07 22:32:50 +0100 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-05-08 11:08:46 -0700 |
commit | 26325e13408ea05eba9d61619f7811c9d6586b44 (patch) | |
tree | 9f0381836e996cba9ff35f7bbceee476db9d02f5 /pkgs | |
parent | 94698a56240fa906ba3e14938df89e572f462f14 (diff) |
python3Packages.spacy: fix dependencies for 3.0.5
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/spacy/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/spacy/default.nix b/pkgs/development/python-modules/spacy/default.nix index 96f7f78f92840..672af9f0f7ea2 100644 --- a/pkgs/development/python-modules/spacy/default.nix +++ b/pkgs/development/python-modules/spacy/default.nix @@ -7,6 +7,7 @@ , blis , catalogue , cymem +, jinja2 , jsonschema , murmurhash , numpy @@ -19,6 +20,9 @@ , spacy-legacy , thinc , wasabi +, packaging +, pathy +, pydantic }: buildPythonPackage rec { @@ -34,6 +38,7 @@ buildPythonPackage rec { blis catalogue cymem + jinja2 jsonschema murmurhash numpy @@ -45,6 +50,9 @@ buildPythonPackage rec { spacy-legacy thinc wasabi + packaging + pathy + pydantic ] ++ lib.optional (pythonOlder "3.4") pathlib; checkInputs = [ @@ -62,7 +70,8 @@ buildPythonPackage rec { --replace "catalogue>=0.0.7,<1.1.0" "catalogue>=0.0.7,<3.0" \ --replace "plac>=0.9.6,<1.2.0" "plac>=0.9.6,<2.0" \ --replace "srsly>=1.0.2,<1.1.0" "srsly>=1.0.2,<3.0" \ - --replace "thinc>=7.4.1,<7.5.0" "thinc>=7.4.1,<8" + --replace "thinc>=7.4.1,<7.5.0" "thinc>=7.4.1,<8" \ + --replace "pydantic>=1.7.1,<1.8.0" "pydantic>=1.7.1,<1.8.3" ''; pythonImportsCheck = [ "spacy" ]; |