From 566f5e9e8d9110619f5a14b8d9c47fcb4f37a069 Mon Sep 17 00:00:00 2001 From: Rodney Lorrimar Date: Tue, 12 Sep 2017 23:01:59 +0100 Subject: [PATCH] pythonPackages.ftfy: 5.1.1 -> 4.4.3 ftfy package was added for spaCy and is only used by spaCy. This change downgrades its version to meet the bounds specified by spaCy (>=4.4.2,<5.0.0). Relevant to #28643. --- pkgs/development/python-modules/ftfy/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/ftfy/default.nix b/pkgs/development/python-modules/ftfy/default.nix index f5d25626bcf1..aced6675495d 100644 --- a/pkgs/development/python-modules/ftfy/default.nix +++ b/pkgs/development/python-modules/ftfy/default.nix @@ -10,11 +10,12 @@ buildPythonPackage rec { name = "${pname}-${version}"; pname = "ftfy"; - version = "5.1.1"; + # latest is 5.1.1, buy spaCy requires 4.4.3 + version = "4.4.3"; src = fetchPypi { inherit pname version; - sha256 = "67a29a2fad5f72aec2d8a0a7084e4f499ed040455133ee96b1c458609fc29e78"; + sha256 = "152xdb56rhs1q4r0ck1n557sbphw7zq18r75a7kkd159ckdnc01w"; }; propagatedBuildInputs = [ html5lib wcwidth]; @@ -38,6 +39,6 @@ buildPythonPackage rec { description = "Given Unicode text, make its representation consistent and possibly less broken."; homepage = https://github.com/LuminosoInsight/python-ftfy/tree/master/tests; license = licenses.mit; - maintainers = with maintainers; [ sdll ]; + maintainers = with maintainers; [ sdll ]; }; }