-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Update generated tests due to upstream html5lib changes #24059
Conversation
It turns out that html/tools/build.sh clones html5lib-python directly at HEAD, and uses that to generate tests. Upstream recently updated with some new behavior, which then changes the generated tests; bring them into WPT to stop the 'update-build-scripts' check from failing on unrelated PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't looked at it, but the CI should not remain broken. Can you update html/tools/build.sh
to pin the commit until we move the source data into wpt?
FWIW, given @stephenmcgruer pinged @annevk on IRC about this:
|
I think this is a very good idea, but I want to check with @gsnedders - are you expecting to vendor html5lib soon? At which point I believe you mentioned you were going to switch html/tools/build.sh to use the vendored version. (Or maybe I have this all wrong :D) |
I'm guessing that pinning the commit should take no more than an hour; I expect the merge will take a little longer. |
How reasonable; #24131 |
No, the plan is to migrate the source files into wpt; see html5lib/html5lib-tests#127. |
…ls/build.sh, a=testonly Automatic update from web-platform-tests Pin version of html5lib used in html/tools/build.sh (#24131) See web-platform-tests/wpt#24059 (review) -- wpt-commits: 0614cc3f735509e57e29fdc482e67565601bf12e wpt-pr: 24131
…ls/build.sh, a=testonly Automatic update from web-platform-tests Pin version of html5lib used in html/tools/build.sh (#24131) See web-platform-tests/wpt#24059 (review) -- wpt-commits: 0614cc3f735509e57e29fdc482e67565601bf12e wpt-pr: 24131
It turns out that html/tools/build.sh clones html5lib-python directly at
HEAD, and uses that to generate tests. Upstream recently updated with
some new behavior, which then changes the generated tests; bring them
into WPT to stop the 'update-build-scripts' check from failing on
unrelated PRs.