Skip to content

Commit

Permalink
Downgrade vendored html5lib to 1.1
Browse files Browse the repository at this point in the history
Per e08f471 it appears it was intended to vendor html5lib==1.1, but
instead the commit after 1.1 seems to have been vendored.

Rather than vendoring a random revision from git, downgrade to the
actual release, which is merely changes the version number.

The removal of html5lib/LICENSE.md here is purely because vendoring is
now looking purely at the wheel for the license, rather than the
entire repository, thus it no longer picks up the license in
benchmarks/data/wpt/LICENSE.md, as no part of that directory is in the
distribution package.
  • Loading branch information
gsnedders committed Dec 18, 2024
1 parent 91ee259 commit 0be76cd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
5 changes: 1 addition & 4 deletions tools/requirements_vendor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ certifi==2018.4.16
exceptiongroup==1.2.1
h2==4.1.0
hpack==4.0.0

# This is commit _after_ the 1.1 release, probably due to a mistake during vendoring html5lib previously.
html5lib @ git+https://github.com/html5lib/html5lib-python.git@f4646e6ed4eeb9780f67d2083d0c09c8fffbec53

html5lib==1.1
hyperframe==6.0.1
importlib-metadata==2.1.0
iniconfig==1.1.1
Expand Down
11 changes: 0 additions & 11 deletions tools/third_party/html5lib/LICENSE.md

This file was deleted.

2 changes: 1 addition & 1 deletion tools/third_party/html5lib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@

# this has to be at the top level, see how setup.py parses this
#: Distribution version number.
__version__ = "1.2-dev"
__version__ = "1.1"

0 comments on commit 0be76cd

Please sign in to comment.