-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
build: pin Python version in Travis #27166
Conversation
This comment has been minimized.
This comment has been minimized.
125b805
to
a2cc894
Compare
Some notes: language: python
python: '2.7' doesn't work for non-Python projects such as ours. The Xenial images on Travis have Python 2.7.15, 3.6.7, and 3.7.1: https://docs.travis-ci.com/user/reference/xenial/#python-support So we do need to pin to 2.7.15 in the short term. Updating this PR... |
a2cc894
to
7da1e40
Compare
According to https://changelog.travis-ci.com/upcoming-python-default-version-update-96873
This PR pins the Travis builds to Python 2.7 as we're not at Python 3 compatibility yet. If we can get there before April 16th we can drop this PR, otherwise it will be necessary for our Travis builds to continue to function. cc FYI @nodejs/python @cclauss |
Relates to travis-ci/travis-build#1678 |
We have a list of things to get done... #25789. What percentage of build machine have Python 3 loaded? |
Travis will be switching the default version of Python from 2.7 to 3.6. Our configuration and build scripts are not quite ready for Python 3 yet, so pin the version of Python to 2.7.
7da1e40
to
1fbe324
Compare
Fixed merge conflicts. Lite-CI: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/3239/ |
Travis will be switching the default version of Python from 2.7 to 3.6. Our configuration and build scripts are not quite ready for Python 3 yet, so pin the version of Python to 2.7. PR-URL: nodejs#27166 Refs: https://changelog.travis-ci.com/upcoming-python-default-version-update-96873 Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
Landed in b468a1d 🎉 |
Travis will be switching the default version of Python from 2.7 to 3.6 on April 16th 2019.
This PR pins the Travis builds to Python 2.7 as we're not at Python 3 compatibility yet. If we can get there before April 16th we can drop this PR, otherwise it will be necessary for our Travis builds to continue to function.
Refs: https://changelog.travis-ci.com/upcoming-python-default-version-update-96873
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes