Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: move away from deprecated html5lib #729

Closed
kloczek opened this issue Mar 20, 2024 · 1 comment
Closed

RFE: move away from deprecated html5lib #729

kloczek opened this issue Mar 20, 2024 · 1 comment

Comments

@kloczek
Copy link

kloczek commented Mar 20, 2024

Is your feature request related to a problem? Please describe.
It would be nice tu cut tail of some legacy modules decencies.
One of those modules is html5lib.

Describe the solution you'd like
it wold be good to remove use od=f the html5lib deprecated html5lib like it has been done with pip ~2 years ago.
pypa/pip#11259

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
html5lib depends on six which is on list of deprecated modules even longer implanting this RFE would make easier kill two birds using one stone 😋

@willkg
Copy link
Member

willkg commented Mar 22, 2024

Bleach is deprecated and in a maintenance-only mode. See #698. Given that, I'm going to close this out.

Having said that, pip and Bleach used html5lib in radically different ways. I don't believe it's possible to switch Bleach over to use html.parser. A change like that would probably involve a fundamental rewrite of Bleach. If someone was interested in pursuing that, they should do it as a new library.

@willkg willkg closed this as not planned Won't fix, can't repro, duplicate, stale Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants