Issue #5189
closed2-master Travis builds failing, need to pin distro in .travis.yml
Description
Travis build failing with
2.6 is not installed; attempting download
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/python/binaries/ubuntu/16.04/x86_64/python-2.6.tar.bz2
0.12s$ curl -sSf -o python-2.6.tar.bz2 ${archive_url}
curl: (22) The requested URL returned error: 404 Not Found
Unable to download 2.6 archive. The archive may not exist. Please consider a different version.
Cause is https://travis-ci.community/t/issue-with-python-2-6-on-linux/3861
We need to pin the distro to trusty if we want to continue building for py2.6
Updated by ggainey over 3 years ago
Some discussion about why builds aren't failing every time currently:
<ggainey> daviddavis: ok, I am now very confuse - why did https://github.com/pulp/pulp_rpm/pull/1412 NOT fail?
<ggainey> I swear I'm using the same .travis.yml in my fork, but clearly something is different
<daviddavis> ggainey: it's running on trusty https://travis-ci.org/pulp/pulp_rpm/jobs/564038284#L9
<daviddavis> the default just changed to xenial
<daviddavis> weird that it switched like 9 min ago. maybe some travis servers are still using trusty or something?
<daviddavis> ah yea, if you don't specify dist, you could be routed to either xenial or trusty it looks like
<ggainey> ah kk - so it may continue to work, but 'soon', it will start to fail
Updated by ggainey over 3 years ago
- Triaged changed from No to Yes
flake8 is version-specific, and we want to continue to support py2.6 installs. This suggests that pinning to trusty is the way to go.
NOTE: make other pulp/* projects' 2-master branches consistent as part of addressing this issue
Added by dalley over 3 years ago
Updated by dalley over 3 years ago
- Status changed from NEW to MODIFIED
- Assignee set to dalley
Updated by dalley over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Fix travis distro to "trusty"
Travis recently changed their default from Trusty to Xenial, which no longer supports Python 2.6.
[noissue]