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.
This commit is contained in:
parent
1b1fc65505
commit
566f5e9e8d
@ -10,11 +10,12 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "ftfy";
|
pname = "ftfy";
|
||||||
version = "5.1.1";
|
# latest is 5.1.1, buy spaCy requires 4.4.3
|
||||||
|
version = "4.4.3";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "67a29a2fad5f72aec2d8a0a7084e4f499ed040455133ee96b1c458609fc29e78";
|
sha256 = "152xdb56rhs1q4r0ck1n557sbphw7zq18r75a7kkd159ckdnc01w";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ html5lib wcwidth];
|
propagatedBuildInputs = [ html5lib wcwidth];
|
||||||
@ -38,6 +39,6 @@ buildPythonPackage rec {
|
|||||||
description = "Given Unicode text, make its representation consistent and possibly less broken.";
|
description = "Given Unicode text, make its representation consistent and possibly less broken.";
|
||||||
homepage = https://github.com/LuminosoInsight/python-ftfy/tree/master/tests;
|
homepage = https://github.com/LuminosoInsight/python-ftfy/tree/master/tests;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ sdll ];
|
maintainers = with maintainers; [ sdll ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user