-
Notifications
You must be signed in to change notification settings - Fork 6
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
Correct Python version is not correctly chosen #91
Comments
When did it worked ? When dit it stopped ? |
Hi Pierre, nice to read you. Do you think is usefull that we upgrade the travis-ci version? What are the changelogs? |
In conda documentation with Travis, they promote the use of $TRAVIS_PYTHON_VERSION to create new conda environment. Do you manage explicitly the Python version? |
I don't understand what you mean with |
To clarify: You may have both Python 2 or Python 3 version with conda 2 and conda 3. The logic I would like is:
|
Well... This feature is old but I do not recommend it on Travis nor Appveyor since I encountered serious issues (wrong version of Python used in the build or as a dependency). Moreover, on CI there is no problem to install different versions of Conda. I think this is a more robust solution. |
But still, it could be possible to control the Conda version using PYTHON_VERSION if defined. But do we want something like |
I think we can just add the PYTHON_VERSION explicitly. Otherelse, we can set PYTHON_VERSION to 2.7, 3.5, 3.6, 3.7 like done in travis. PYTHON_VERSION=$TRAVIS_PYTHON_VERSION |
The Python version was chosen using CONDA_VERSION.
When CONDA_VERSION was 2, Python 2 was selected.
Otherelse, Python 3 was chosen.
However, this is not longer true. We have to specify explictly both CONDA_VERSION and PYTHON_VERSION in travis and appveyor
The text was updated successfully, but these errors were encountered: