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

Tox builds for Python 3.5 fail #4794

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

Comments

Projects
None yet
9 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

This comment has been minimized.

Show comment
Hide comment
@BanzaiMan

BanzaiMan Sep 14, 2015

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.

Member

BanzaiMan commented Sep 14, 2015

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 Sep 15, 2015

Merged

Python 3.5 対応 #19

@ulope

This comment has been minimized.

Show comment
Hide comment
@ulope

ulope Sep 15, 2015

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

ulope commented Sep 15, 2015

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

@BanzaiMan

This comment has been minimized.

Show comment
Hide comment
@BanzaiMan

BanzaiMan Sep 15, 2015

Member

Sorry, we do not have one at the moment.

Member

BanzaiMan commented Sep 15, 2015

Sorry, we do not have one at the moment.

serebrov added a commit to serebrov/dynamo_objects that referenced this issue Sep 18, 2015

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
@maiksensi

This comment has been minimized.

Show comment
Hide comment
@maiksensi

maiksensi Sep 21, 2015

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

maiksensi commented Sep 21, 2015

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

@carltongibson carltongibson referenced this issue Sep 21, 2015

Merged

Adjust Supported Python/Django Versions #3421

5 of 5 tasks complete

@aericson aericson referenced this issue Sep 23, 2015

Merged

Fix travis #37

donnemartin added a commit to donnemartin/saws that referenced this issue Sep 23, 2015

donnemartin added a commit to donnemartin/saws that referenced this issue Sep 23, 2015

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.
@thenewguy

This comment has been minimized.

Show comment
Hide comment
@thenewguy

thenewguy Sep 26, 2015

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

thenewguy commented Sep 26, 2015

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

This comment has been minimized.

Show comment
Hide comment
@BanzaiMan

BanzaiMan Sep 26, 2015

Member

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

Member

BanzaiMan commented Sep 26, 2015

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

This comment has been minimized.

Show comment
Hide comment
@maiksensi

maiksensi commented Sep 26, 2015

👍

@sjakobi

This comment has been minimized.

Show comment
Hide comment
@sjakobi

sjakobi 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

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

This comment has been minimized.

Show comment
Hide comment
@BanzaiMan

BanzaiMan Sep 28, 2015

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.)

Member

BanzaiMan commented Sep 28, 2015

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.)

@2m 2m referenced this issue Oct 14, 2015

Closed

Test on Python 3.5 #67

FND added a commit to cdent/gabbi that referenced this issue Oct 15, 2015

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.

nbargnesi added a commit to nbargnesi/resource-generator that referenced this issue Oct 22, 2015

remove duplicate TOXENV=py35
Only the matrix variant is included, see:
travis-ci/travis-ci#4794

jarekwg added a commit to jarekwg/django-model-utils that referenced this issue Oct 28, 2015

simevo pushed a commit to simevo/jsonschema that referenced this issue Oct 7, 2016

tarekziade added a commit to mozilla/servicebook that referenced this issue Dec 23, 2016

musically-ut added a commit to musically-ut/decorated_options that referenced this issue Jan 26, 2017

elyezer added a commit to elyezer/robottelo that referenced this issue Feb 9, 2017

abalakh added a commit to SatelliteQE/robottelo that referenced this issue Feb 9, 2017

Pin testimony version (#4319)
* Add py35 and py36 to tox environment list

Use tox-travis to workaround
travis-ci/travis-ci#4794.

* Pin testimony version

A new version which drops support to `token-prefix` option is about to
be released let's make sure Robottelo won't break when it is released.

@carltongibson carltongibson referenced this issue Feb 10, 2017

Merged

[WIP] Final Django 1.11 compat #624

3 of 5 tasks complete

jezcope added a commit to jezcope/pyrefine that referenced this issue Feb 25, 2017

Remove Python 3.6 from tox.ini for now
Travis CI doesn't currently seem to like 3.6. See
travis-ci/travis-ci#4794

s16h added a commit to s16h/icon-set-python that referenced this issue Mar 1, 2017

bergantine added a commit to bergantine/sampen that referenced this issue Mar 20, 2017

@lwm

This comment has been minimized.

Show comment
Hide comment
@lwm

lwm Mar 27, 2017

COMMITS!

lwm commented Mar 27, 2017

COMMITS!

brutasse added a commit to brutasse/django-ratelimit-backend that referenced this issue Mar 30, 2017

cuongnv23 added a commit to cuongnv23/curl2share that referenced this issue Apr 10, 2017

cclauss added a commit to cclauss/apitools that referenced this issue Apr 12, 2017

Add Python 3.6 to .travis.yml
Note: travis-ci/travis-ci#4794 is now closed.  Should the "tweak" at the bottom be removed?

@medecau medecau referenced this issue Apr 14, 2017

Closed

Update tests #146

medecau added a commit to medecau/fn.py that referenced this issue Apr 16, 2017

Move python 3.6 and pypy3 environments to their own travis image.
Python 3.6 failed silently: https://travis-ci.org/medecau/fn.py/jobs/222589293#L150
Python 3.6 is not available in python 3.5 base image and 3.5 is not available in the 3.6 image.

Pypy3 failed catastrophically
The version of pypy3 currently provided by travis is old and is no longer supported by the most recent version of pip.
The solution, for now, is to use the pypy3 image.

Related issues:
travis-ci/travis-ci#4794
travis-ci/travis-ci#4990
travis-ci/travis-ci#7146

andrewgodwin added a commit to andrewgodwin/urlman that referenced this issue Apr 20, 2017

JulienPalard added a commit to JulienPalard/textunwrap that referenced this issue Apr 24, 2017

john-kurkowski added a commit to john-kurkowski/tldextract that referenced this issue Apr 29, 2017

john-kurkowski added a commit to john-kurkowski/tldextract that referenced this issue Apr 29, 2017

Keep Python 3.5 available on Travis, even when on 3.6
Fixes `InterpreterNotFound: python3.5` per [this comment](travis-ci/travis-ci#4794 (comment)).

wo0dyn added a commit to peopledoc/django-pimpmytheme that referenced this issue Sep 15, 2017

Upgrade Travis configuration
We now use tox-travis[1] to launch the tox matrice against several
versions of Python.

Thanks to this thread[2].

References:
[1] https://pypi.python.org/pypi/tox-travis
[2] travis-ci/travis-ci#4794 (comment)

wo0dyn added a commit to peopledoc/django-pimpmytheme that referenced this issue Sep 15, 2017

Upgrade Travis configuration
We now use tox-travis[1] to launch the tox matrice against several
versions of Python.

Thanks to this thread[2].

References:
[1] https://pypi.python.org/pypi/tox-travis
[2] travis-ci/travis-ci#4794 (comment)

jedie added a commit to wearehoods/django-ya-model-publisher that referenced this issue Dec 19, 2017

jedie added a commit to jedie/django-tools that referenced this issue Dec 19, 2017

jedie added a commit to jedie/django-cms-tools that referenced this issue Dec 19, 2017

danielquinn added a commit to RIPE-NCC/ripe.atlas.sagan that referenced this issue Jan 8, 2018

Drop Python 3.4 & add 3.6
Were it up to me, I'd drop 2.7 as well, but I figure that's a hard-sell
at this point ;-)

Apparently, there's some [known
issues](travis-ci/travis-ci#4794) with how
Travis handles multiple Python environments.  So after some poking I
realised that the testing strategy we were using was redundant anyway:
We were using tox to build python environments in each Travis container
-- containers that were already being spun up for specific Python
versions.

This commit drops the use of tox in Travis (though it keeps the
`tox.ini` file for local development & testing) and instead instructs
Travis to run the tests natively after installing Sagan in the
container.

danielquinn added a commit to RIPE-NCC/ripe.atlas.sagan that referenced this issue Jan 8, 2018

Drop Python 3.4 & add 3.6
Were it up to me, I'd drop 2.7 as well, but I figure that's a hard-sell
at this point ;-)

Apparently, there's some [known
issues](travis-ci/travis-ci#4794) with how
Travis handles multiple Python environments.  So after some poking I
realised that the testing strategy we were using was redundant anyway:
We were using tox to build python environments in each Travis container
-- containers that were already being spun up for specific Python
versions.

This commit drops the use of tox in Travis (though it keeps the
`tox.ini` file for local development & testing) and instead instructs
Travis to run the tests natively after installing Sagan in the
container.

danielquinn added a commit to RIPE-NCC/ripe.atlas.sagan that referenced this issue Jan 9, 2018

Drop Python 3.4 & add 3.6
Were it up to me, I'd drop 2.7 as well, but I figure that's a hard-sell
at this point ;-)

Apparently, there's some [known
issues](travis-ci/travis-ci#4794) with how
Travis handles multiple Python environments.  So after some poking I
realised that the testing strategy we were using was redundant anyway:
We were using tox to build python environments in each Travis container
-- containers that were already being spun up for specific Python
versions.

This commit drops the use of tox in Travis (though it keeps the
`tox.ini` file for local development & testing) and instead instructs
Travis to run the tests natively after installing Sagan in the
container.

danielquinn added a commit to RIPE-NCC/ripe.atlas.sagan that referenced this issue Jan 9, 2018

Drop Python 3.4 & add 3.6
Were it up to me, I'd drop 2.7 as well, but I figure that's a hard-sell
at this point ;-)

Apparently, there's some [known
issues](travis-ci/travis-ci#4794) with how
Travis handles multiple Python environments.  So after some poking I
realised that the testing strategy we were using was redundant anyway:
We were using tox to build python environments in each Travis container
-- containers that were already being spun up for specific Python
versions.

This commit drops the use of tox in Travis (though it keeps the
`tox.ini` file for local development & testing) and instead instructs
Travis to run the tests natively after installing Sagan in the
container.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment