runner: windows-latest python: 2.7.18 (upstream, not me)
A python build requires some prebuilt windows dependencies that are downloaded from a URL, since a wheel for one needed dependency does not exist for 2.7.
Here’s some debugging related to the download.
Local: Windows 10
('filesize:', 117555902L) ('checksum:', True, '7212f4440fc983a3868ee3b27148681800c9c2942f6525cee34c46a178d2fdc6', '7212f4440fc983a3868ee3b27148681800c9c2942f6525cee34c46a178d2fdc6')
filesize: 82 checksum: False 372f1704a60d98b24f6fdd6b341388d1b9cd2ac9b2f2a47ebcf72a917e9c7931 7212f4440fc983a3868ee3b27148681800c9c2942f6525cee34c46a178d2fdc6
Exact same logic on both, same python version, completely different behaviors.
The download is handled by
requests_download and the file is a
tar.gz. The behavior is annoyingly consistent.
It leads me to believe that Github Hosted Runners does not allow downloads from any or certain URLs, but this makes little to no sense since many actions do the exact same thing while setting up environments. If there are “disallowed” commands/behaviors/URLs on Github Hosted Runners, it’s not documented anywhere. I cannot find any topics with the same problem.
What is going on here? I’m at my witt’s end