Unable to download Python 3.7 archive on Travis CI

Hello!

Downloading archive: https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/14.04/x86_64/python-3.7.tar.bz2
$ curl -sSf -o python-3.7.tar.bz2 ${archive_url}
curl: (22) The requested URL returned error: 403 Forbidden
Unable to download 3.7 archive. The archive may not exist. Please consider a different version.

~source

Any ideas?

There is no 3.7 archive for Trusty. Use Xenial instead.

dist: xenial
1 Like

It works, thanks a lot!

I’m using xenial and I’m still getting this error.

https://travis-ci.org/Almenon/AREPL-backend/jobs/488192163

You are not. Travis CI - Test and Deploy with Confidence corresponds to

which does not use Xenial.

The current configuration https://github.com/Almenon/AREPL-backend/blob/2f32a6b82f9150728b17846ed6519afa318f87c8/.travis.yml#L13-L15 properly uses 3.7. Travis CI - Test and Deploy with Confidence

1 Like

Oops, you’re right. Sorry, somehow was looking at wrong job. Thanks for help!

1 Like

@BanzaiMan
I also have this problem with xenial but python is downloaded however it seems to be connected to the boto3
would you mind looking into my builds please?
https://travis-ci.org/1oglop1/vcrpy/builds/490307330

I don’t understand what you are asking. Your build is using the preinstalled 3.7 (i.e., there is no download), and you are setting TOX_SUFFIX="boto3".

Okay but I still have some SSL related issue
As this line suggests
https://travis-ci.org/1oglop1/vcrpy/builds/490307330#L1015

I found out that the issue is unrelated to travis, but related to
https://bugs.python.org/issue34440

The root issue came from https://github.com/kevin1024/pytest-httpbin/issues/52

thanks for your help!

I’m sorry to say, but your issue appears to be out of our control.