Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Apply timeouts to pex resolves #7659
Either pypi or travis are currently intensely flaky with regard to the opening of https connections to pypi, with the result that the wheel-builder shards in master have a near-zero success rate due to the number of resolves they attempt during wheel testing.
This flakiness is significantly exacerbated by the fact that, when used with
Connections will time out and retry:
I'll look into upstreaming this as a fix for http://github.com/pantsbuild/pex/issues/26 tomorrow, but assuming it goes green, it would be good to land it temporarily to fix the breakage in master.
Due to all the subprocessing of pex that we do (which will not be affected by the monkey-patching), this is not a complete fix. But because I have a clean CI run for it while master continues to flake, I'm going to add a TODO here and land it to improve the situation until pantsbuild/pex#26 can be addressed.