diff --git a/pkgs/development/python-modules/spacy/default.nix b/pkgs/development/python-modules/spacy/default.nix index dc0509e226c..0667565c0de 100644 --- a/pkgs/development/python-modules/spacy/default.nix +++ b/pkgs/development/python-modules/spacy/default.nix @@ -37,7 +37,8 @@ buildPythonPackage rec { --replace "ftfy==" "ftfy>=" \ --replace "msgpack-python==" "msgpack-python>=" \ --replace "msgpack-numpy==" "msgpack-numpy>=" \ - --replace "pathlib" "pathlib; python_version<\"3.4\"" + --replace "thinc>=6.10.3,<6.11.0" "thinc>=6.10.3" \ + --replace "plac<1.0.0,>=0.9.6" "plac>=0.9.6" ''; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/thinc/default.nix b/pkgs/development/python-modules/thinc/default.nix index 88e6c8d1674..321b1fb1181 100644 --- a/pkgs/development/python-modules/thinc/default.nix +++ b/pkgs/development/python-modules/thinc/default.nix @@ -35,7 +35,9 @@ buildPythonPackage rec { postPatch = '' substituteInPlace setup.py \ --replace "msgpack-python==" "msgpack-python>=" \ - --replace "msgpack-numpy==" "msgpack-numpy>=" + --replace "msgpack-numpy==" "msgpack-numpy>=" \ + --replace "plac>=0.9,<1.0" "plac>=0.9" \ + --replace "hypothesis>=2,<3" "hypothesis>=2" ''; propagatedBuildInputs = [