New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.7 option #9815

Closed
Harmon758 opened this Issue Jun 28, 2018 · 74 comments

Comments

Projects
None yet
@Harmon758

Harmon758 commented Jun 28, 2018

Now that Python 3.7.0 has been released.

The current workaround seems to be adding it to the build matrix.include configuration using xenial in .travis.yml:

# Existing Python versions
python:
  - 2.7
  - 3.4
  - 3.5
  - 3.6
# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs
matrix:
  include:
    - python: 3.7
      dist: xenial
      sudo: true

or alternatively:

matrix:
  include:
    - python: 2.7
    - python: 3.4
    - python: 3.5
    - python: 3.6
    - python: 3.7
      dist: xenial
      sudo: true
@webknjaz

This comment has been minimized.

webknjaz commented Jun 28, 2018

FWIW pyenv already updated it

@hugovk

This comment has been minimized.

hugovk commented Jun 28, 2018

See also #9069.

@tomato42

This comment has been minimized.

tomato42 commented Jun 28, 2018

Note: There is a 3.7-dev version of python that can be used to run code in Python 3.7-like environment

@mbeacom

This comment has been minimized.

mbeacom commented Jun 28, 2018

@tomato42 Sadly, the 3.7-dev is using a fairly dated beta release that doesn't reflect the RC/stable 3.7.

NyanKiyoshi added a commit to NyanKiyoshi/saleor that referenced this issue Jun 29, 2018

Added Python37 support and CI
Updated dependencies:
  - kombu to 4.2.1;
  - celery to 4.2.0;
  - freezegun to 0.3.10.

We still need to wait for travis-ci to add the latest release of
Python37 (see travis-ci/travis-ci#9815).
@ssbarnea

This comment has been minimized.

ssbarnea commented Jul 1, 2018

Apparently this is what happens when you try to install python 3.7:

3.7 is not installed; attempting download
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.

@acroz acroz referenced this issue Jul 1, 2018

Closed

Test Python 3.7 #11

@jopohl jopohl referenced this issue Jul 1, 2018

Merged

add python37 to ci #485

2 of 2 tasks complete

bauerj added a commit to spesmilo/electrum that referenced this issue Jul 1, 2018

Revert "Test with Python 3.7"
This reverts commit 2ace144.

Travis does not have it yet: travis-ci/travis-ci#9815

@schettino72 schettino72 referenced this issue Jul 1, 2018

Open

python 3.7 CI #262

1 of 2 tasks complete
@webknjaz

This comment has been minimized.

webknjaz commented Jul 1, 2018

@BanzaiMan hi, could you please shed some light on whether to expect Python 3.7.0 stable in Travis CI anytime soon? A lot of people really depend on it (https://twitter.com/pfreixes/status/1012654620634767365, HypothesisWorks/hypothesis#1148 (comment))

belugame added a commit to James1345/django-rest-knox that referenced this issue Sep 27, 2018

boompig added a commit to boompig/passzero that referenced this issue Sep 27, 2018

mgerst added a commit to mgerst/flag-slurper that referenced this issue Sep 28, 2018

daboross added a commit to daboross/Transcrypt that referenced this issue Sep 28, 2018

TheSriram added a commit to TheSriram/aws-sam-cli that referenced this issue Sep 28, 2018

feat: travis CI support for Python 3.7
* Referencing travis-ci/travis-ci#9815
* listed as a current workaround until travis CI comes up with official support for 3.7

phith0n added a commit to phith0n/pyduktape2 that referenced this issue Sep 30, 2018

s3rvac added a commit to s3rvac/weechat-notify-send that referenced this issue Sep 30, 2018

s3rvac added a commit to s3rvac/weechat-notify-send that referenced this issue Sep 30, 2018

moltob added a commit to moltob/pybizwiz that referenced this issue Sep 30, 2018

reverted 3.7 production environment
Travis does not yet support 3.7, see
travis-ci/travis-ci#9815

@hugovk hugovk referenced this issue Oct 1, 2018

Closed

master: Add support for Python 3.7 #615

6 of 6 tasks complete

stephenfin added a commit to getpatchwork/git-pw that referenced this issue Oct 1, 2018

Revert "travis: Start testing Python 3.7, PyPy"
This reverts commit e9ed56c. Python 3.7
is still unsupported by Travis [1].

Conflicts
	.travis.yml

NOTE(stephenfin): Only the Python 3.7 testing is dropped. PyPy testing
is retained.

[1] travis-ci/travis-ci#9815

Signed-off-by: Stephen Finucane <stephen@that.guru>

stephenfin added a commit to click-contrib/sphinx-click that referenced this issue Oct 1, 2018

Revert "tox: Start testing Python 3.7"
This reverts commit 58ae072. Python 3.7
is still unsupported by Travis [1].

[1] travis-ci/travis-ci#9815

Signed-off-by: Stephen Finucane <stephen@that.guru>
@j3mdamas

This comment has been minimized.

j3mdamas commented Oct 1, 2018

Hi,

What's the status of Python3.7 on Travis?

I've just tried to add it to our matrix and Travis gives me (https://travis-ci.org/Acellera/htmd/jobs/435526767):

3.7 is not installed; attempting download
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 archi
@mgedmin

This comment has been minimized.

mgedmin commented Oct 1, 2018

@j3mdamas: it works if you add dist: xenial and sudo: yes to the Python 3.7 job, like you see in the examples at the top of this page.

@j3mdamas

This comment has been minimized.

j3mdamas commented Oct 1, 2018

Oh, OK, thanks @mgedmin. We are using precise. I'll try xenial.

Eldinnie added a commit to python-telegram-bot/python-telegram-bot that referenced this issue Oct 1, 2018

Add 3.7 to travis and make pypy allowed_failures (#1215)
* Add 3.7 to travis build matrix using workaround

See travis-ci/travis-ci#9815 for workaround discussion

* Add 3.7 to pypi classifiers

* Format build matrix differently

* Try adding pypy6.0.0 to travis build matrix

* Add py3.7 to appveyor

* Try pypy 5.10.1 instead

6.0.0 isn't on travis yet: travis-ci/travis-ci#9542

* pypy2-5.10.0 isn't on travis yet either...

* allow failures on travis pypy

@hugovk hugovk referenced this issue Oct 2, 2018

Merged

Add support for Python 3.7 #91

6 of 6 tasks complete
@duboviy

This comment has been minimized.

duboviy commented Oct 2, 2018

Hello,

What's the status of fixing Python3.7 on Travis?
We'd like to use it without dist: xenial and sudo: yes workaround.

@michael-k

This comment has been minimized.

michael-k commented Oct 2, 2018

@duboviy They announced that this is the “official” workaround two days ago: #9069 (comment)
This reduces the chances of getting rid of sudo: yes/required soon. Since Python 3.7 requires OpenSSL 1.0.2+, we can only get rid of dist: xenial when xenial (or later) became the default.

@duboviy

This comment has been minimized.

duboviy commented Oct 2, 2018

@michael-k Thanks a lot for the update

@travis-ci travis-ci locked and limited conversation to collaborators Oct 2, 2018

@BanzaiMan

This comment has been minimized.

Member

BanzaiMan commented Nov 14, 2018

We've announced Xenial availability.

@BanzaiMan BanzaiMan closed this Nov 14, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.