Help with Travis-CI and python 3.7, 3.8

I hope this is the correct place to post this question. I recently became maintainer of matplotlib/mpl-finance. I have limited experience with CI tools (only familiar with Jenkins, and then only somewhat) and could use some help/advice with Travis. The first thing I noticed about the travis-ci builds for matplotlib/mpl-finance is that they were all consistently failing on python 3.4 (the last line in the log was typically installdeps, then silence until timeout). Rather than try to fix it, I noticed that matplotlib/matplotlib ci build was using only python 3.6, 3.7, 3.8, so this morning I changed the mpl-finance/.travis.yml file to reference 3.6, 3.7 and 3.8 (it hadn’t been touched in a while as was still reference 2.7 through 3.6). The problem now is that 3.7 and 3.8 fail. The new failure is the same for both versions: It is unable to download the requested version of python (url … 404 Not Found). (Example here: https://travis-ci.org/matplotlib/mpl-finance/jobs/617789767 )

I have no idea what to do next; not sure where it gets the url in the first place and/or whether I have to modify some docker configuration or something. Can someone help me? I can be available for a phone call if that will make it easier. Thanks in advance. --Daniel

Thanks to @jenshnielsen who pointed out that I need to upgrade my linux dist in .travis.yml in my pull request https://github.com/matplotlib/mpl-finance/pull/25 That fixed the problem!

1 Like