python3Packages.identify: remove editdistance-s dependency; python3Packages.editdistance-s: remove (#430024)

This commit is contained in:
Fabian Affolter
2025-08-10 21:48:53 +02:00
committed by GitHub
4 changed files with 7 additions and 43 deletions
@@ -1,35 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
cffi,
}:
buildPythonPackage rec {
pname = "editdistance-s";
version = "1.0.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "asottile";
repo = "editdistance-s";
rev = "v${version}";
sha256 = "0w2qd5b6a3c3ahd0xy9ykq4wzqk0byqwdqrr26dyn8j2425j46lg";
};
propagatedNativeBuildInputs = [ cffi ];
propagatedBuildInputs = [ cffi ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "editdistance_s" ];
meta = with lib; {
description = "Fast implementation of the edit distance (Levenshtein distance)";
homepage = "https://github.com/asottile/editdistance-s";
license = with licenses; [ mit ];
maintainers = with maintainers; [ austinbutler ];
};
}
@@ -1,10 +1,10 @@
{
lib,
buildPythonPackage,
editdistance-s,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
cffi,
setuptools,
ukkonen,
}:
@@ -26,18 +26,18 @@ buildPythonPackage rec {
build-system = [ setuptools ];
dependencies = [
editdistance-s
cffi
pytestCheckHook
ukkonen
];
pythonImportsCheck = [ "identify" ];
meta = with lib; {
meta = {
description = "File identification library for Python";
homepage = "https://github.com/chriskuehl/identify";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
homepage = "https://github.com/pre-commit/identify";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "identify-cli";
};
}
+1
View File
@@ -230,6 +230,7 @@ mapAliases ({
dogpile_cache = dogpile-cache; # added 2021-10-28
dogpile-core = throw "dogpile-core is no longer maintained, use dogpile-cache instead"; # added 2021-11-20
dugong = throw "dugong is unmaintained since 2022 and has therefore been removed"; # added 2024-12-12
editdistance-s = throw "editdistance-s has been removed since it was added solely for the identity package, which has moved on to ukkonen"; # added 2025-08-04
eebrightbox = throw "eebrightbox is unmaintained upstream and has therefore been removed"; # added 2022-02-03
EasyProcess = easyprocess; # added 2023-02-19
email_validator = email-validator; # added 2022-06-22
-2
View File
@@ -4535,8 +4535,6 @@ self: super: with self; {
editdistance = callPackage ../development/python-modules/editdistance { };
editdistance-s = callPackage ../development/python-modules/editdistance-s { };
editdistpy = callPackage ../development/python-modules/editdistpy { };
editor = callPackage ../development/python-modules/editor { };