Having trouble using webkitpy-based scripts?
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/7e02164a2a3db50ed6d8a6ab1d6d60... (91kB) 100% |████████████████████████████████| 92kB 3.8MB/s Collecting idna<2.8,>=2.5 (from requests) Downloading https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355... (58kB) 100% |████████████████████████████████| 61kB 2.7MB/s Collecting certifi>=2017.4.17 (from requests) Downloading https://files.pythonhosted.org/packages/16/1f/50d729c104b21c1042aa51560da614... (146kB) 100% |████████████████████████████████| 153kB 784kB/s Collecting chardet<3.1.0,>=3.0.2 (from requests) Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec... (133kB) 100% |████████████████████████████████| 143kB 4.1MB/s Collecting urllib3<1.24,>=1.21.1 (from requests) Downloading https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d9... (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
participants (1)
-
dean_johnson@apple.com