Skip to content

Commit

Permalink
pythonPackages.ftfy: 5.1.1 -> 4.4.3
Browse files Browse the repository at this point in the history
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.

(cherry picked from commit 566f5e9)
  • Loading branch information
rvl authored and FRidh committed Sep 13, 2017
1 parent f8cb04b commit 5ea5dbc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkgs/development/python-modules/ftfy/default.nix
Expand Up @@ -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];
Expand All @@ -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 ];
};
}

0 comments on commit 5ea5dbc

Please sign in to comment.