From b5e9d942c2a3b24519396abc5f5fffaf6ab229ec Mon Sep 17 00:00:00 2001 From: Stephen McGruer Date: Sat, 13 Jun 2020 03:33:30 +0000 Subject: [PATCH] Bug 1645417 [wpt PR 24131] - Pin version of html5lib used in html/tools/build.sh, a=testonly Automatic update from web-platform-tests Pin version of html5lib used in html/tools/build.sh (#24131) See https://github.com/web-platform-tests/wpt/pull/24059#pullrequestreview-427203616 -- wpt-commits: 0614cc3f735509e57e29fdc482e67565601bf12e wpt-pr: 24131 --- testing/web-platform/tests/html/tools/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/web-platform/tests/html/tools/build.sh b/testing/web-platform/tests/html/tools/build.sh index 4453604433c02..21403090b8e1d 100755 --- a/testing/web-platform/tests/html/tools/build.sh +++ b/testing/web-platform/tests/html/tools/build.sh @@ -5,6 +5,8 @@ cd "${0%/*}" virtualenv -p python .virtualenv .virtualenv/bin/pip install genshi git clone https://github.com/html5lib/html5lib-python.git .virtualenv/html5lib && cd .virtualenv/html5lib || cd .virtualenv/html5lib && git pull +# Pinned commit, to avoid html5lib from changing underneath us. +git reset --hard d49afd350c06339a8c59299664b8a73a3b2c3f64 git submodule update --init --recursive cd ../.. .virtualenv/bin/pip install -e .virtualenv/html5lib