python313Packages.lxml-stubs: drop (#459444)

This commit is contained in:
Sandro
2025-11-07 18:08:27 +00:00
committed by GitHub
4 changed files with 2 additions and 47 deletions
+1 -2
View File
@@ -16,9 +16,8 @@
};
extraPythonPackages = p: [
p.lxml
p.lxml-stubs
p.types-lxml
];
skipTypeCheck = true;
testScript = ''
machine.wait_for_unit("multi-user.target")
@@ -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
@@ -8969,8 +8969,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 { };