Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use html.clean from external project and provide "html_clean" extra d…
…ependency (GH-406) Following the discussion in https://bugs.launchpad.net/lxml/+bug/1958539, "lxml.html.clean" is now extracted into a separate project "lxml_html_clean": * Github: https://github.com/fedora-python/lxml_html_clean * PyPI: https://pypi.org/project/lxml-html-clean/ * Documentation: https://lxml-html-clean.readthedocs.io/en/latest/ The module is available as an "extra" setuptools dependency "lxml[html_clean]", so that: * Projects that use lxml without lxml.html.clean will continue to use it without any difference. Except they won't have potentially vulnerable code installed. * Projects that need lxml.html.clean will need to switch their requirements from lxml to lxml[html_clean]. The new package is added as a test dependency to continue to test the compatibility between the two projects. Closes https://bugs.launchpad.net/lxml/+bug/1958539
- Loading branch information