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

Replace vendored html5lib with stdlib #10291

Merged
merged 2 commits into from
Jan 28, 2022
Merged

Replace vendored html5lib with stdlib #10291

merged 2 commits into from
Jan 28, 2022

Commits on Jan 28, 2022

  1. Replace vendored html5lib with stdlib

    The html5lib library isn't strictly required as the same functionality
    can be achieved through the stdlib html.parser module.
    
    The html5lib is one of the largest uses of the six library. By dropping
    this unnecessary dependency, the pip project is closer to dropping the
    six library.
    
    Additionally, html5lib maintenance has slowed down and the project has
    rejected pull requests to drop Python 2 support.
    
    For now, the html5lib code remains, but is gated behind a command
    line option: `--use-deprecated=html5lib`. After a sufficient amount of
    time has passed without any reported bugs, the vendored library and this
    flag can be removed completely.
    jdufresne authored and pradyunsg committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    bf5f400 View commit details
    Browse the repository at this point in the history
  2. Point users to #10825

    jdufresne authored and pradyunsg committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    20fe83f View commit details
    Browse the repository at this point in the history