Repository navigation
Test Python 3.7 on Travis - #556
Conversation
Codecov Report
@@ Coverage Diff @@
## master #556 +/- ##
=======================================
Coverage 99.28% 99.28%
=======================================
Files 89 89
Lines 10499 10499
Branches 728 728
=======================================
Hits 10424 10424
Misses 58 58
Partials 17 17Continue to review full report at Codecov.
|
IME the Travis docs for their Python versions are constantly out of date and inaccurate. But there is a secret! If you run then you can see the actual list of Python versions available: It also looks like they have Why do the 3.7 and 3.8-dev versions require sudo? I'd expect that us to need sudo if we were using some hack to install them ourselves, but it looks like we're just using the same mechanisms as the other versions... |
I'm not clear on that either. I saw it in travis-ci/travis-ci#9815 (comment). I tried it without sudo and the jobs failed when trying to download 3.7 for 14.04 rather than 16.04 (which was running). |
|
And thanks for the s3 tip 😄 |
Okay, I dug into this some more and here's what I think is going on. Let's look at this big table of their supported build environments. The first thing we notice is that 16.04 xenial isn't mentioned at all. Obviously they are working on it behind the scenes, given that they have Python builds available for it and everything, but using xenial is not actually a documented/supported option yet. We also see that they have two main platforms they run on – virtual machines on GCE, and container images on EC2. It looks like And in fact i fyou look at the log that we got, and click on the little arrow to expand "Worker information" we see that it's running on ec2, and if we click to expand "Build system information" it says "Build dist: xenial" which sounds good but then you look down a little further and find that under "Operating system description" it says we're actually running on 14.04 trusty. And 3.7, 3.8-dev aren't supported on trusty, because it uses an ancient version of openssl – this part is documented on their python page, and can also be confirmed by checking the s3 bucket directly. OKAY SO what does this mean for us. Obviously we have to use There's no point in using We want to avoid using CONCLUSION: For now I think we want to use |
I got as far as the "Build dist: xenial" part and assumed it was correct. I'll fix it. |
- Use xenial on GCE for 3.7+ - Add 3.7 and 3.8-dev
|
👍 |
I changed
pypy3.5-5.10.1topypy3.5(which happens to be 5.10.1 just now). Is there a reason it was pinned? The Travis PyPy documentation isn't clear on this.