-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Fri, 18 Sep 2026 16:20:08 +0100 Source: html5lib Architecture: source Version: 1.2-5 Distribution: unstable Urgency: medium Maintainer: Debian Python Team <team+python@tracker.debian.org> Changed-By: Dale Richards <dale@dalerichards.net> Closes: 1147391 Changes: html5lib (1.2-5) unstable; urgency=medium . * Team upload. * d/patches: add 0005-Replace-pkg_resources-usage.patch, adapted from the upstream pull request. setuptools 82 removed pkg_resources, so the unconditional import at the top of setup.py made the package fail to build from source at the clean step (Closes: #1147391). * d/control: build-depend on python3-packaging, which the test suite now uses in place of pkg_resources. * d/tests/control: swap python3-pkg-resources for python3-packaging. src:setuptools no longer builds the python3-pkg-resources binary, and its last version is uninstallable alongside python3-setuptools (>= 84). * d/copyright, d/upstream/metadata, d/README.source: refer to the html5lib-modern fork, which this package has tracked since 1.2. * d/control: build-depend on pybuild-plugin-pyproject so the PEP 517 backend declared in pyproject.toml is actually used, replacing the installed html5lib_modern-1.2.egg-info with a .dist-info directory. * d/control: bump debhelper-compat to 14. dh_gencontrol now applies relationship substvars itself, so drop ${misc:Depends} and ${python3:Depends}; declare dh-sequence-single-binary explicitly, as compat 14 warns about its implicit activation. * d/patches: extend 0001-devendor-webencodings.patch to exclude html5lib.contrib from the built package. Nothing has referenced it since the import was redirected to the system python3-webencodings, so the binary no longer ships 31 kB of dead vendored code. * d/patches: replace the Python 3.14 ResourceWarning suppression with upstream's fix for the leak behind it. test_python_issue_20007_b never closed the addinfourl it wrapped; the patch it replaces ignored ResourceWarning for every tokenizer test instead. Neither is needed to build against pytest 9.1 and Python 3.14 any more, verified by building with both removed, but the leak is real so keep the narrow fix. * d/patches: restore the html5lib distribution name. Since 1.2-1 the package installed html5lib_modern-1.2.egg-info, so importlib.metadata.version("html5lib") raised PackageNotFoundError where 1.1-6 answered it, and dh_python3 could not resolve a "Requires-Dist: html5lib" to python3-html5lib -- it drops such a dependency silently, with only a log.info line in the build log. * d/python3-html5lib.pydist: new. Maps the html5lib and html5lib-modern distribution names onto python3-html5lib, so packages that require the fork under its own name (gitlabracadabra) still resolve. Checksums-Sha1: 4d211c0aaddf513da06486e1351be948cf44d063 2362 html5lib_1.2-5.dsc a99d9d62f36dcb8c2920f15aef1fa7ead0382ee8 11052 html5lib_1.2-5.debian.tar.xz 112fe49b67030f590bb796db3f8b1c404eeb07cf 7142 html5lib_1.2-5_source.buildinfo Checksums-Sha256: 588c417359e82bf4bfcc928f76ad6b5b82047cf3c45277b9d3052e179f71f064 2362 html5lib_1.2-5.dsc c383eb2ab93303222c670fb472976e9618859e12e72f76bd4aa9245a5c477b9c 11052 html5lib_1.2-5.debian.tar.xz f23e167b83b2daeec5888d0af4f3b8db8c5ab6df2afa7c004822a19299d5c859 7142 html5lib_1.2-5_source.buildinfo Files: 627a001f4a151f6e1ddc94b914b0617f 2362 python optional html5lib_1.2-5.dsc e3d96f2e3fd52d7037f0cafa0e53d063 11052 python optional html5lib_1.2-5.debian.tar.xz 37adcaed7d864b7c13e944b0947948a1 7142 python optional html5lib_1.2-5_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmqtajcACgkQMfMURUSh dBpy0hAAqE9fWu3RY4fSJjq0VmbtBdYTPkMgcf+27+eOgPHzp6Rke88P8pJm4p4N osTL14ZYgD2x+qS3JcLBXiNkKOQ8m8I6QIz98GV3DSwJE4+iT0P7wA7aZFKPo6TO 4Xr68pLa9jw9mMR7rp3Stp/uCwIFPzGqgVJ8B/0Wp7Mh63xzDPfpZ3ImDgii/gd0 l8rYmzt2Qu+3gyoFFKR3UzfONNJ4OV1puFFv2TimHhKzhwHXw1KCRnfMLhqRatYF Eu92AYrUWB24WJ6amER6gCM/MyfBNKO5Y+nGf2zXV2c5VFuyvi9adstK45Zs2dgS NaU0ETkQBi7XUningUVMvFGxLCX2Kemy/NfIIle7co4vv4wTIFgYq36Ww+aRdVWO +OuXj5sVSeKtBbo34SdbIe6u+y0KNUMFr3uUunZuIoB4KhXX2uhdY7kkD1Nr6/eX Vztgd4sxFkZocJFC/4uaHtmengY+PN9JjR3on+O0SNeilc1q+jZ+LvQL1s04R1/R lBggo+wDQreUF1H4gcnN3hCJoiVjmWYm+GKbE6or+HI7jPasA3oCOPRUL24kVF3p r7nkX0AEd3TeZObrMLVVtdbYiFArE7B1XhKG7PX5BC4SXDY51uHxs2ESztLpQ0Od x1iaTdcsP064GjkuF9j/BDbwP5TcbUUXUwQ2wz8tbwj35ky89jo= =5ofs -----END PGP SIGNATURE-----