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

authored by

Fabian Affolter and committed by
GitHub
044007bb 2872da67

+7 -43
-35
pkgs/development/python-modules/editdistance-s/default.nix
··· 1 - { 2 - lib, 3 - buildPythonPackage, 4 - fetchFromGitHub, 5 - pytestCheckHook, 6 - cffi, 7 - }: 8 - 9 - buildPythonPackage rec { 10 - pname = "editdistance-s"; 11 - version = "1.0.0"; 12 - format = "setuptools"; 13 - 14 - src = fetchFromGitHub { 15 - owner = "asottile"; 16 - repo = "editdistance-s"; 17 - rev = "v${version}"; 18 - sha256 = "0w2qd5b6a3c3ahd0xy9ykq4wzqk0byqwdqrr26dyn8j2425j46lg"; 19 - }; 20 - 21 - propagatedNativeBuildInputs = [ cffi ]; 22 - 23 - propagatedBuildInputs = [ cffi ]; 24 - 25 - nativeCheckInputs = [ pytestCheckHook ]; 26 - 27 - pythonImportsCheck = [ "editdistance_s" ]; 28 - 29 - meta = with lib; { 30 - description = "Fast implementation of the edit distance (Levenshtein distance)"; 31 - homepage = "https://github.com/asottile/editdistance-s"; 32 - license = with licenses; [ mit ]; 33 - maintainers = with maintainers; [ austinbutler ]; 34 - }; 35 - }
+6 -6
pkgs/development/python-modules/identify/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - editdistance-s, 5 4 fetchFromGitHub, 6 5 pytestCheckHook, 7 6 pythonOlder, 7 + cffi, 8 8 setuptools, 9 9 ukkonen, 10 10 }: ··· 26 26 build-system = [ setuptools ]; 27 27 28 28 dependencies = [ 29 - editdistance-s 29 + cffi 30 30 pytestCheckHook 31 31 ukkonen 32 32 ]; 33 33 34 34 pythonImportsCheck = [ "identify" ]; 35 35 36 - meta = with lib; { 36 + meta = { 37 37 description = "File identification library for Python"; 38 - homepage = "https://github.com/chriskuehl/identify"; 39 - license = licenses.mit; 40 - maintainers = with maintainers; [ fab ]; 38 + homepage = "https://github.com/pre-commit/identify"; 39 + license = lib.licenses.mit; 40 + maintainers = with lib.maintainers; [ fab ]; 41 41 mainProgram = "identify-cli"; 42 42 }; 43 43 }
+1
pkgs/top-level/python-aliases.nix
··· 230 230 dogpile_cache = dogpile-cache; # added 2021-10-28 231 231 dogpile-core = throw "dogpile-core is no longer maintained, use dogpile-cache instead"; # added 2021-11-20 232 232 dugong = throw "dugong is unmaintained since 2022 and has therefore been removed"; # added 2024-12-12 233 + 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 233 234 eebrightbox = throw "eebrightbox is unmaintained upstream and has therefore been removed"; # added 2022-02-03 234 235 EasyProcess = easyprocess; # added 2023-02-19 235 236 email_validator = email-validator; # added 2022-06-22
-2
pkgs/top-level/python-packages.nix
··· 4535 4535 4536 4536 editdistance = callPackage ../development/python-modules/editdistance { }; 4537 4537 4538 - editdistance-s = callPackage ../development/python-modules/editdistance-s { }; 4539 - 4540 4538 editdistpy = callPackage ../development/python-modules/editdistpy { }; 4541 4539 4542 4540 editor = callPackage ../development/python-modules/editor { };