Perfect your code
With built-in code review tools, GitHub makes it easy to raise the quality bar before you ship. Join the 36 million developers who've merged over 200 million pull requests.
Sign up for free See pricing for teams and enterprisesbuild: pin Python version in Travis #27166
Conversation
richardlau
added
the
work in progress (WIP)
label
Apr 10, 2019
This comment was marked as outdated.
This comment was marked as outdated.
nodejs-github-bot
added
the
build
label
Apr 10, 2019
richardlau
force-pushed the
richardlau:travispython3
branch
3 times, most recently
from
125b805
to
a2cc894
Apr 10, 2019
This comment has been minimized.
This comment has been minimized.
|
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... |
richardlau
force-pushed the
richardlau:travispython3
branch
from
a2cc894
to
7da1e40
Apr 10, 2019
richardlau
changed the title
WIP build: pin Python version in Travis
build: pin Python version in Travis
Apr 10, 2019
richardlau
added
python
and removed
work in progress (WIP)
labels
Apr 10, 2019
This comment has been minimized.
This comment has been minimized.
|
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 |
This was referenced Apr 10, 2019
thefourtheye
approved these changes
Apr 10, 2019
This comment has been minimized.
This comment has been minimized.
|
Relates to travis-ci/travis-build#1678 |
This comment has been minimized.
This comment has been minimized.
|
We have a list of things to get done... #25789. What percentage of build machine have Python 3 loaded? |
This comment has been minimized.
This comment has been minimized.
richardlau
added
the
author ready
label
Apr 10, 2019
richardlau
force-pushed the
richardlau:travispython3
branch
from
7da1e40
to
1fbe324
Apr 12, 2019
This comment has been minimized.
This comment has been minimized.
|
Fixed merge conflicts. Lite-CI: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/3239/ |
BridgeAR
approved these changes
Apr 15, 2019
BridgeAR
added a commit
to BridgeAR/node
that referenced
this pull request
Apr 15, 2019
This comment has been minimized.
This comment has been minimized.
|
Landed in b468a1d |
richardlau commentedApr 10, 2019
•
edited
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