python313Packages.lxml-stubs: drop

lxml-stubs is broken, unmaintained upstream, and advertises types-lxml
as its successor [1].

[1] https://github.com/lxml/lxml-stubs
This commit is contained in:
Tom Hunze
2025-11-07 13:26:59 +01:00
parent e44ebca043
commit 4431e49106
3 changed files with 1 additions and 45 deletions
@@ -1,43 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
lxml,
pytest-mypy-plugins,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "lxml-stubs";
version = "0.5.1";
pyproject = true;
src = fetchFromGitHub {
owner = "lxml";
repo = "lxml-stubs";
tag = version;
hash = "sha256-OwaPnCr0vylhdAvMMUfGV6DjZEh7Q71pgMOt66urg5I=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ lxml ];
nativeCheckInputs = [
pytestCheckHook
pytest-mypy-plugins
];
disabledTests = [
# Output difference, https://github.com/lxml/lxml-stubs/issues/101
"etree_element_iterchildren"
];
meta = with lib; {
description = "Type stubs for the lxml package";
homepage = "https://github.com/lxml/lxml-stubs";
license = licenses.asl20;
maintainers = with maintainers; [ doronbehar ];
};
}
+1
View File
@@ -242,6 +242,7 @@ mapAliases {
lmcloud = throw "'lmcloud' has been renamed to/replaced by 'pylamarzocco'"; # Converted to throw 2025-10-29
logilab_common = throw "'logilab_common' has been renamed to/replaced by 'logilab-common'"; # Converted to throw 2025-10-29
loo-py = throw "'loo-py' has been renamed to/replaced by 'loopy'"; # Converted to throw 2025-10-29
lxml-stubs = throw "'lxml-stubs' has been removed as it was broken and unmaintained upstream. Consider using 'types-lxml' instead."; # Converted to throw 2025-11-07
mac_alias = throw "'mac_alias' has been renamed to/replaced by 'mac-alias'"; # Converted to throw 2025-10-29
macropy = throw "macropy has been removed as it was broken since 2020"; # added 2025-10-04
Mako = throw "'Mako' has been renamed to/replaced by 'mako'"; # Converted to throw 2025-10-29
-2
View File
@@ -8967,8 +8967,6 @@ self: super: with self; {
lxml-html-clean = callPackage ../development/python-modules/lxml-html-clean { };
lxml-stubs = callPackage ../development/python-modules/lxml-stubs { };
lyricwikia = callPackage ../development/python-modules/lyricwikia { };
lz4 = callPackage ../development/python-modules/lz4 { };