Tox builds for Python 3.5 fail #4794

Closed
ulope opened this Issue Sep 14, 2015 · 12 comments

Projects

None yet

8 participants

@ulope
ulope commented Sep 14, 2015

Matrix builds with tox fail for the "py35" facet.

language: python
sudo: false
env:
  matrix:
    - TOXENV=py27
    - TOXENV=py32
    - TOXENV=py33
    - TOXENV=py34
    - TOXENV=py35
install:
  - pip install tox
script: tox

Output:

export TOXENV=py35

...

ERROR: InterpreterNotFound: python3.5
___________________________________ summary ____________________________________
ERROR:   py35: InterpreterNotFound: python3.5
@BanzaiMan
Member

Currently, 3.5 is available only when it is specified in python (e.g., python: '3.5').

Until the build image is updated to have 3.5 pre-installed, you will have to devise your own plan of action to create the virtualenv you need.

See https://github.com/travis-ci/travis-build/blob/c858502ddce77cc90f88c8871f1fff3982d1f8a6/lib/travis/build/script/python.rb#L88-L92 for hints.

@BanzaiMan BanzaiMan added the python label Sep 14, 2015
@ymyzk ymyzk referenced this issue in ymyzk/python-gyazo Sep 15, 2015
Merged

Python 3.5 対応 #19

@ulope
ulope commented Sep 15, 2015

Do you have an ETA when the new build image will be available?

@BanzaiMan
Member

Sorry, we do not have one at the moment.

@serebrov serebrov added a commit to serebrov/dynamo_objects that referenced this issue Sep 18, 2015
@serebrov serebrov Revert travis back to python 2.7 and for now remove py35.
Travis images don't have the python 3.5 pre-installed yet.
See: travis-ci/travis-ci#4794
1a9112f
@maiksensi

Is there any news on this? Or is it worth to integrate the workaround?

@donnemartin donnemartin referenced this issue in donnemartin/saws Sep 23, 2015
Closed

Python 3.5 Issue #26

@donnemartin donnemartin added a commit to donnemartin/saws that referenced this issue Sep 23, 2015
@donnemartin donnemartin Merge branch 'master' into develop
* master:
  Updated release checklist to do a tox clear before kicking off the full set of tests.
  Disabled prompt toolkit's new mouse support.
  Changes to be compatible with prompt-toolkit=0.52
  Added command to run SAWS in the developer installation section.
  Expanded *nix to Linux, Unix.  Fixed spelling of PyPi -> PyPI.
  Updated release checklist with scripts/release_pypi.sh.  Updated with some minor cosmetic tweaks.
  Added scripts to set the CHANGELOG as the README and back for PyPI.
  Updated .gitignore with CHANGELOG.md, in favor of the new CHANGELOG.rst.
  Fixed hyperlinks in CONTRIBUTING that should have pointed to README.
  Renamed CHANGELOG TO CHANGELOG.md, updated create_changelog.sh.
  Added GitHub repo link, issue tracker, and repo gif to CHANGELOG, which will be the new PyPI README.
  Revert Python 3.5 build and test support due to: travis-ci/travis-ci#4794.
  Added build and test support for Python 3.5.
e4874a2
@ymyzk ymyzk referenced this issue in ymyzk/django-channels Sep 25, 2015
Merged

Python 3.5 でのテストを追加 #24

@thenewguy

Is this something that is going to happen? soon-ish, eventually, never? Trying to decide if I should just wait or go ahead and manually create the environment as mentioned above. Thanks

@BanzaiMan
Member

I think this is a $PATH issue, if I understand it correctly. I'll work on a fix next week.

@BanzaiMan BanzaiMan self-assigned this Sep 26, 2015
@maiksensi

👍

@sjakobi
sjakobi commented Sep 27, 2015

Python3.5 is available from the deadsnakes repo. Add the following to your .travis.yml:

addons:
  apt:
    sources:
      - deadsnakes
    packages:
      - python3.5
@BanzaiMan BanzaiMan referenced this issue in travis-ci/travis-build Sep 28, 2015
Merged

Set up PATH for Python installed on demand #521

@BanzaiMan
Member

As mentioned in travis-ci/travis-build#521, in order to use 3.5 with tox, Python 3.5 still needs to be installed.

You can use deadsnakes as @sjakobi mentioned above, or specify

python:
  - 3.5

This, as well as using the APT addon, will install Python 3.5 in all of the jobs.

One can also use a little matrix trick:

matrix:
  include:
    - python: 3.5
      env:
      - TOXENV=py35

(Similar trick should work for the APT addon.)

@FND FND added a commit to cdent/gabbi that referenced this issue Oct 15, 2015
@FND FND Revert "Extend CI testing to Python 3.5"
Travis still has issues with the combination of tox and Python 3.5:
travis-ci/travis-ci#4794

better to wait than try to work around it

This reverts commit 4fd4d5a.
e495518
@nbargnesi nbargnesi added a commit to nbargnesi/resource-generator that referenced this issue Oct 22, 2015
@nbargnesi nbargnesi remove duplicate TOXENV=py35
Only the matrix variant is included, see:
travis-ci/travis-ci#4794
081f065
@jarekwg jarekwg added a commit to jarekwg/django-model-utils that referenced this issue Oct 28, 2015
@jarekwg jarekwg Jumped the gun with py35 tests.. dcd288c
@zamzterz zamzterz added a commit to its-dirg/verify_entcat that referenced this issue Nov 8, 2015
@zamzterz zamzterz Explicit install of Python 3.5 for Travis: travis-ci/travis-ci#4794. 325c82a
@janschulz janschulz referenced this issue in bebraw/pypandoc Nov 10, 2015
Closed

[DO NOT MERGE] Travis work #82

@HenrikOssipoff HenrikOssipoff added a commit to HenrikOssipoff/AltaPay that referenced this issue Nov 10, 2015
@HenrikOssipoff HenrikOssipoff Add Python 3.5 support
Magic as specified in travis-ci/travis-ci#4794.
b32444f
@SpotlightKid SpotlightKid added a commit to SpotlightKid/Watson that referenced this issue Nov 14, 2015
@SpotlightKid SpotlightKid Add trick for travis Python 3.5 support according to travis-ci/travis…
…-ci#4794#issuecomment-143758799
77d5fa6
@vitorbaptista vitorbaptista added a commit to frictionlessdata/datapackage-py that referenced this issue Nov 20, 2015
@vitorbaptista vitorbaptista [#2] Oops! Travis should work now with Python3.5
This issue is explained in travis-ci/travis-ci#4794
f1101de
@mixxorz mixxorz referenced this issue in mixxorz/behave-django Nov 23, 2015
Closed

Add python 3.5 test target with Django 1.8 #51

@Suor
Suor commented Dec 1, 2015

Any progress on this?

@matthewmcnew matthewmcnew added a commit to matthewmcnew/splenda that referenced this issue Dec 5, 2015
@matthewmcnew matthewmcnew Add support for python3.5 on travis. 0335b61
@tbug tbug added a commit to tbug/aiochannel that referenced this issue Dec 15, 2015
@tbug tbug Found a trick in travis-ci/travis-ci#4794 0d6e149
@freyes freyes added a commit to juju-blender/roadrunner that referenced this issue Dec 18, 2015
@freyes freyes Ask travis to install python3.5 from deadsnakes 544628c
@freyes freyes added a commit to juju-blender/roadrunner that referenced this issue Dec 18, 2015
@freyes freyes Ask travis to install python3.5 from deadsnakes 65aa505
@freyes freyes added a commit to freyes/testament that referenced this issue Dec 18, 2015
@freyes freyes Ask travis to install python3.5 from deadsnakes 9617c92
@freyes freyes referenced this issue in juju-blender/testament Dec 18, 2015
Merged

Ask travis to install python3.5 from deadsnakes #2

@pjdelport pjdelport referenced this issue in eventlet/eventlet Jan 6, 2016
Closed

Add Python 3.5 to the Tox and Travis test envs #279

@pjdelport pjdelport added a commit to pjdelport/eventlet that referenced this issue Jan 6, 2016
@pjdelport pjdelport Travis config: Depend on Python 3.5 464cfe2
@camilonova camilonova added a commit to jazzband/django-constance that referenced this issue Jan 8, 2016
@camilonova camilonova Enable python 3.5 on travis-ci 8d0b5f9
@erikbern erikbern referenced this issue in spotify/luigi Jan 8, 2016
Merged

Support Python 3.5 #1494

@nicolaiarocci nicolaiarocci added a commit to nicolaiarocci/cerberus that referenced this issue Jan 10, 2016
@nicolaiarocci nicolaiarocci Ask travis to install Python 3.5 from deadsnakes. 4550adb
@yprez yprez referenced this issue in ydaniv/django-rest-assured Jan 18, 2016
@yprez yprez Try to fix Python 3.5 build on travis 455c702
@pzrq pzrq added a commit to mathspace/premailer that referenced this issue Jan 19, 2016
@pzrq pzrq Try simplest Python 3.5 workaround for Travis first 0b0f22c
@kalefranz

+1

@mar10 mar10 added a commit to mar10/pyftpsync that referenced this issue Jan 22, 2016
@mar10 mar10 Still too early for Py35 on travis+tox fb2d67b
@dhermes dhermes added a commit to dhermes/google-cloud-python that referenced this issue Jan 22, 2016
@dhermes dhermes Dropping Py33 support, adding Py35.
Fixes #1410.

NOTE: We never ran `tox -e py33` in Travis and this does
      not add `tox -e py35` (for now). It seems it'd be
      best to wait until travis-ci/travis-ci#4794
      is resolved before adding it.
f0e40a1
@leighmck leighmck added a commit to leighmck/statechart that referenced this issue Jan 26, 2016
@leighmck leighmck Workaround for Python 3.5 Tox builds
travis-ci/travis-ci#4794

The build image doesn't have Python 3.5 pre-installed yet.
Therefore, in order to use 3.5 with Tox, Python 3.5 needs to be
installed in the virtualenv.
1a06809
@cbjadwani cbjadwani referenced this issue in Kinto/kinto Feb 1, 2016
Merged

Fix Travis CI build for Python 3.5 #414

@georgewhewell georgewhewell added a commit to georgewhewell/django-sheets that referenced this issue Feb 1, 2016
@georgewhewell georgewhewell workaround for travis-ci/travis-ci#4794 75f398e
@fnielsen fnielsen added a commit to fnielsen/everything that referenced this issue Feb 2, 2016
@fnielsen fnielsen Disable python3.5 testing c8056d8
@fnielsen fnielsen added a commit to fnielsen/afinn that referenced this issue Feb 2, 2016
@fnielsen fnielsen Remove python3.5 testing
Travis does not yet support python3.5 out of the box.
See: travis-ci/travis-ci#4794
4eaac1b
@trygveaa trygveaa added a commit to trygveaa/python-tunigo that referenced this issue Feb 7, 2016
@trygveaa trygveaa Specify python 3.5 for py35 env on Travis
This is a workaround for
travis-ci/travis-ci#4794.
97fd54b
@ercolanelli-leo ercolanelli-leo added a commit to algolia/algoliasearch-client-python that referenced this issue Feb 11, 2016
@ercolanelli-leo ercolanelli-leo tox: add python 3.5 to travis configuration
This change is made according to this issue:
travis-ci/travis-ci#4794
dbfd165
@ercolanelli-leo ercolanelli-leo added a commit to algolia/algoliasearch-client-python that referenced this issue Feb 11, 2016
@ercolanelli-leo ercolanelli-leo tox: add python 3.5 to travis configuration
This change is made according to this issue:
travis-ci/travis-ci#4794
8f91da9
@ercolanelli-leo ercolanelli-leo added a commit to algolia/algoliasearch-client-python that referenced this issue Feb 11, 2016
@ercolanelli-leo ercolanelli-leo tox: add python 3.5 to travis configuration
This change is made according to this issue:
travis-ci/travis-ci#4794
cb23cb6
@ercolanelli-leo ercolanelli-leo added a commit to algolia/algoliasearch-client-python that referenced this issue Feb 11, 2016
@ercolanelli-leo ercolanelli-leo tox: add python 3.5 to travis configuration
This change is made according to this issue:
travis-ci/travis-ci#4794
93a8bce
@ercolanelli-leo ercolanelli-leo added a commit to algolia/algoliasearch-client-python that referenced this issue Feb 11, 2016
@ercolanelli-leo ercolanelli-leo tox: add python 3.5 to travis configuration
This change is made according to this issue:
travis-ci/travis-ci#4794
f249ac8
@ercolanelli-leo ercolanelli-leo added a commit to algolia/algoliasearch-client-python that referenced this issue Feb 11, 2016
@ercolanelli-leo ercolanelli-leo tox: add python 3.5 to travis configuration
This change is made according to this issue:
travis-ci/travis-ci#4794
d18dd44
@ercolanelli-leo ercolanelli-leo added a commit to algolia/algoliasearch-client-python that referenced this issue Feb 11, 2016
@ercolanelli-leo ercolanelli-leo tox: add python 3.5 to travis configuration
This change is made according to this issue:
travis-ci/travis-ci#4794
e09d221
@ercolanelli-leo ercolanelli-leo referenced this issue in algolia/algoliasearch-client-python Feb 11, 2016
Merged

Allow tox to run the py35 profile #39

@pjdelport pjdelport added a commit to pjdelport/eventlet that referenced this issue Feb 17, 2016
@pjdelport pjdelport Travis: Specify the build matrix more explicitly
This should solve the Travis Python 3.5 issue:

travis-ci/travis-ci#4794

It should also result in nicer Travis build reports, with Travis Python
versions matching the Tox environment ones.
1d29f9f
@n8henrie n8henrie added a commit to n8henrie/eyeflask that referenced this issue Feb 27, 2016
@n8henrie n8henrie Fix travis config for python3.5
Apparently python 3.5 only works if it's specified as the default python
travis-ci/travis-ci#4794
40e1f64
@sephii sephii added a commit to sephii/taxi that referenced this issue Mar 2, 2016
@sephii sephii Fix Travis config for Python 3.5 a6d28d3
@duggan duggan added a commit to duggan/pontoon that referenced this issue Mar 4, 2016
@duggan duggan Matrix hackery travis-ci/travis-ci#4794 cea99f1
@gcushen gcushen added a commit to gcushen/mezzanine-api that referenced this issue Mar 7, 2016
@gcushen gcushen Travis workaround for Py 3.5 f7d681b
@gcushen gcushen added a commit to gcushen/mezzanine-api that referenced this issue Mar 7, 2016
@gcushen gcushen Travis workaround for Py 3.5 (fix typo) 4bb61a6
@titusz titusz added a commit to titusz/onixcheck that referenced this issue Mar 27, 2016
@titusz titusz fix travis issue. 212a497
@manosim manosim added a commit to manosim/pypiup that referenced this issue Apr 1, 2016
@manosim manosim Use nose, remove python 3.5 from tox
See travis-ci/travis-ci#4794 for more info
7c0e1d9
@manosim manosim added a commit to manosim/coreapidocs that referenced this issue Apr 7, 2016
@manosim manosim Travis-Tox no support for Python 3.5 yet 3ea1372
@mgoffin mgoffin referenced this issue in facebook/ThreatExchange Apr 18, 2016
Merged

Making pytx work with python >= 2.7. #131

@lod lod added a commit to lod/repoze.who that referenced this issue Apr 19, 2016
@lod lod Make python 3.5 the default, so it is present
Work around for travis-ci/travis-ci#4794
3d1d3d8
@doismellburning doismellburning referenced this issue in doismellburning/django12factor Apr 20, 2016
Open

Added Python 3.5 to tests #50

@lod lod added a commit to lod/repoze.who that referenced this issue Apr 26, 2016
@lod lod Fix travis test execution
Virtualenv 14.0.0 no longer supports Python 3.2
Work around this by pegging the virtualenv version

Added Python 3.5 (current stable) to the testing matrix
This has issues with calling tox from travis travis-ci/travis-ci#4794
Work around this by making the travis environment use python 3.5 so it
is present when tox is invoked.
50ffdb4
@iwaseyusuke iwaseyusuke referenced this issue in osrg/ryu May 9, 2016
@iwaseyusuke iwaseyusuke tox: Add Python 3.5
In Ubuntu 16.04 LTS, the default version of Python 3 has been
upgraded to 3.5.1.
e.g.)
  $ python3 --version
  Python 3.5.1+

This patch enables to run unit tests on Python 3.5 environment.

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
a82f58a
@lepistone lepistone added a commit to camptocamp/AIS.py that referenced this issue May 9, 2016
@lepistone lepistone enable python 3.5 on travis e4e5ffd
@MarkusH MarkusH added a commit to laterpay/laterpay-client-python that referenced this issue May 16, 2016
@MarkusH MarkusH Added Python 3.5 to tests
Ad some point Travis is probably going to support Python 3.5: travis-ci/travis-ci#4794
e9f7ce8
@MarkusH MarkusH added a commit to laterpay/laterpay-client-python that referenced this issue Jun 8, 2016
@MarkusH MarkusH Added Python 3.5 to tests
Ad some point Travis is probably going to support Python 3.5: travis-ci/travis-ci#4794
047911e
@kezabelle kezabelle added a commit to kezabelle/django-haystackbrowser that referenced this issue Jun 24, 2016
@kezabelle kezabelle lets try changing the travis python, as that seems to maybe be necess…
…ary (see travis-ci/travis-ci#4794 for details)
cf02e83
@indera indera added a commit to indera/olass-client that referenced this issue Aug 2, 2016
@indera indera Fix `travis ERROR: InterpreterNotFound: python3.5` dda7096
@lmctv lmctv added a commit to lmctv/pynacl that referenced this issue Aug 16, 2016
@lmctv lmctv Set default python interpreter version to 3.5
This avoid tox errors on TOXENV=py35 builds

See: travis-ci/travis-ci#4794
ccf7eb2
@lmctv lmctv added a commit to lmctv/pynacl that referenced this issue Aug 16, 2016
@lmctv lmctv Set default python interpreter version to 3.5
This avoid tox errors on TOXENV=py35 builds

See: travis-ci/travis-ci#4794
04f6220
@lmctv lmctv added a commit to lmctv/pynacl that referenced this issue Aug 16, 2016
@lmctv lmctv Set default python interpreter version to 3.5
This avoid tox errors on TOXENV=py35 builds

See: travis-ci/travis-ci#4794
0165f6c
@sileht sileht added a commit to sileht/cotyledon that referenced this issue Sep 27, 2016
@sileht sileht Set default python interpreter version to 3.5
This avoid tox errors on TOXENV=py35 builds

See: travis-ci/travis-ci#4794
75bdd9e
@roramirez roramirez added a commit to roramirez/qpanel that referenced this issue Sep 30, 2016
@roramirez roramirez Fix fail travis test into Python 3.5 c052fbc
@felixxm felixxm referenced this issue in jazzband/django-constance Oct 5, 2016
Merged

Fixed #162. Made travis configuration more readable. #168

@simevo simevo pushed a commit to simevo/jsonschema that referenced this issue Oct 7, 2016
Paolo Greppi fix travis build failing as per travis-ci/travis-ci#4794 8752f6d
@tarekziade tarekziade added a commit to mozilla/servicebook that referenced this issue Dec 23, 2016
@tarekziade tarekziade use py3.5 in travis - see travis-ci/travis-ci#4794 (comment) c85dac8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment