[webkit-dev] Having trouble using webkitpy-based scripts?

dean_johnson at apple.com dean_johnson at apple.com
Fri Aug 17 16:00:29 PDT 2018


Hi all,

Some of the webkitpy dependencies hosted on files.pythonhosted.org <http://files.pythonhosted.org/> are taking ridiculous amounts of time to be fetched/downloaded, which is resulting in long stalls after using WebKit tools that invoke the `autoinstalled` codepath if you do not have webkitpy dependencies already downloaded/installed.

Example:
➜ time pip install -i https://pypi.python.org/simple requests
Looking in indexes: https://pypi.python.org/simple
Collecting requests
  Downloading https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl (91kB)
    100% |████████████████████████████████| 92kB 3.8MB/s
Collecting idna<2.8,>=2.5 (from requests)
  Downloading https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58kB)
    100% |████████████████████████████████| 61kB 2.7MB/s
Collecting certifi>=2017.4.17 (from requests)
  Downloading https://files.pythonhosted.org/packages/16/1f/50d729c104b21c1042aa51560da6141d1cab476ba7015d92b2111c8db841/certifi-2018.8.13-py2.py3-none-any.whl (146kB)
    100% |████████████████████████████████| 153kB 784kB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 4.1MB/s
Collecting urllib3<1.24,>=1.21.1 (from requests)
  Downloading https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 3.9MB/s
Installing collected packages: idna, certifi, chardet, urllib3, requests
Successfully installed certifi-2018.8.13 chardet-3.0.4 idna-2.7 requests-2.19.1 urllib3-1.23
sudo pip install -i https://pypi.python.org/simple requests  1.17s user 0.44s system 1% cpu 2:36.42 total

It’s my understanding that letting the script hang for multiple minutes may allow you to eventually get the content requested.

Cheers,
Dean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20180817/e6bd9a5a/attachment.html>


More information about the webkit-dev mailing list