Giter Site home page Giter Site logo

Comments (5)

bittner avatar bittner commented on August 26, 2024

Do you have an error message we can look at?

The issue you're mentioning does not affect Python 3.5 for our test runs. It may well be that simply specifying 3.6 in tox.ini and the Travis configuration makes it all work. As per travis-ci/docs-travis-ci-com#903 Python 3.6 is supported.

Let me note again that I would prefer to remove the explicit mentioning of basepython, which is implicitly supported by tox. Would be one thing less we need to update in the tox configuration.

from behave-django.

bittner avatar bittner commented on August 26, 2024

Django 1.11 will be the first release supporting Python 3.6. So, we still have time to address the issue.

from behave-django.

mixxorz avatar mixxorz commented on August 26, 2024

Turns out, our tests were only working because:

  • We set python: 3.5 which means travis will explicitly install Python 3.5 on the test vm
  • The base image Travis uses includes Python 2.7, 3.3, and 3.4

So when I set python to 3.6, tests running on 3.5 broke because it couldn't find that instance. The only way we can get the python versions we want is to specify multiple versions in .travis.yml, but it isn't that straightforward because we're using tox and... it was 11pm and I wanted to sleep so I gave up. 😆

I'll push up a new branch and you can take a look at what I did.

from behave-django.

bittner avatar bittner commented on August 26, 2024

Testing against Python 3.5 and 3.6 on the same build image is now possible. Do you want to give that a shot again, @mixxorz?

from behave-django.

bittner avatar bittner commented on August 26, 2024

Any plans to give it a shot again, @mixxorz?

from behave-django.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.