Skip to content

Commit 82dc922

Browse files
kenrussellwebkit-commit-queue
authored andcommitted
New html5lib requires newer version of six.py than that shipped in macOS 10.14.6
https://bugs.webkit.org/show_bug.cgi?id=202830 Autoinstall six along with html5lib. Patch by Kenneth Russell <kbr@chromium.org> on 2019-10-10 Reviewed by Jonathan Bedard. * Scripts/webkitpy/thirdparty/__init__.py: (AutoinstallImportHook._install_mechanize): (AutoinstallImportHook._install_pytest): Canonical link: https://commits.webkit.org/216288@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 157d4c7 commit 82dc922

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

Tools/ChangeLog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
2019-10-10 Kenneth Russell <kbr@chromium.org>
2+
3+
New html5lib requires newer version of six.py than that shipped in macOS 10.14.6
4+
https://bugs.webkit.org/show_bug.cgi?id=202830
5+
6+
Autoinstall six along with html5lib.
7+
8+
Reviewed by Jonathan Bedard.
9+
10+
* Scripts/webkitpy/thirdparty/__init__.py:
11+
(AutoinstallImportHook._install_mechanize):
12+
(AutoinstallImportHook._install_pytest):
13+
114
2019-10-10 Jonathan Bedard <jbedard@apple.com>
215

316
results.webkit.org: Sort out certificates on Catalina

Tools/Scripts/webkitpy/thirdparty/__init__.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ def find_module(self, fullname, path=None):
125125
elif '.requests' in fullname:
126126
self._install_requests()
127127

128+
def _install_six(self):
129+
self._install("https://files.pythonhosted.org/packages/16/d8/bc6316cf98419719bd59c91742194c111b6f2e85abac88e496adefaf7afe/six-1.11.0.tar.gz",
130+
"six-1.11.0/six.py")
131+
128132
def _install_mechanize(self):
129133
self._ensure_autoinstalled_dir_is_in_sys_path()
130134
self._install("https://files.pythonhosted.org/packages/0b/02/ae6ceac1baeda530866a85075641cec12989bd8d31af6d5ab4a3e8c92f47/webencodings-0.5.1.tar.gz",
@@ -133,6 +137,7 @@ def _install_mechanize(self):
133137
"html5lib-1.0.1/html5lib")
134138
self._install("https://files.pythonhosted.org/packages/64/f1/1aa4c96dea14e17a955019b0fc4ac1b8dfbc50e3c90970c1fb8882e74a7b/mechanize-0.4.3.tar.gz",
135139
"mechanize-0.4.3/mechanize")
140+
self._install_six()
136141

137142
def _install_keyring(self):
138143
self._install("https://files.pythonhosted.org/packages/7d/a9/8c6bf60710781ce13a9987c0debda8adab35eb79c6b5525f7fe5240b7a8a/keyring-7.3.1.tar.gz",
@@ -166,8 +171,7 @@ def _install_pytest(self):
166171
"pluggy-0.6.0/pluggy")
167172
self._install("https://files.pythonhosted.org/packages/c0/2f/6773347277d76c5ade4414a6c3f785ef27e7f5c4b0870ec7e888e66a8d83/more-itertools-4.2.0.tar.gz",
168173
"more-itertools-4.2.0/more_itertools")
169-
self._install("https://files.pythonhosted.org/packages/16/d8/bc6316cf98419719bd59c91742194c111b6f2e85abac88e496adefaf7afe/six-1.11.0.tar.gz",
170-
"six-1.11.0/six.py")
174+
self._install_six()
171175
self._install("https://files.pythonhosted.org/packages/a1/e1/2d9bc76838e6e6667fde5814aa25d7feb93d6fa471bf6816daac2596e8b2/atomicwrites-1.1.5.tar.gz",
172176
"atomicwrites-1.1.5/atomicwrites")
173177
self._install("https://files.pythonhosted.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz",

0 commit comments

Comments
 (0)