GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||
GeezerVison is showing github.com — Travis CI: macOS does not include Python anymore by imatlopez · Pull Request #1979 · nodejs/node-gyp Conversation
Contributor
Checklist
Description of changemacOS stopped bundling python, this attempts to bring back travis tests on macOS
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
Thanks for doing this but please use pyenv install Python on Travis CI. It is way faster than brew and supports all Python versions including Python 3.8 which brew is still struggling to support. Try pyenv install --list to see all the versions available. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Travis is dropping matrix: for jobs: so let's lose the matrix around line 4...
This will ensure that all macOS jobs have access to the latest npm and pyenv. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@cclauss got it working, cleaning up. For (there is no better way to test this is there?) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@cclauss ready for review :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I've force pushed out the HEAD commit on master, c392a17, so it's in the list of commits here too to be reviewed, edited (needs |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Uses `pyenv` to manage MacOS python versions since its not included in the environment.
Isolates the `MacOS` builds to test changes faster. Reorders Travis builds by OS. Replaces `pyenv global` calls with properly set `PATH` and `PYENV_VERSION` env vars. Does not assume python modules are in the `PATH` so all python modules are prefixed with `python -m`.
Undoes the test isolation and removes `pyenv init` because it is not needed.
reworded commit names, is this what you meant? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
No, sorry, it's not your commit, we'll deal with it when merged but if you rebase onto |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Do you know why the python 3.5 test is failing? Can it be removed? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
nope, will wait for @cclauss' input on that |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this! Well done.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@cclauss got any suggestions on the 3.5 failure here? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
On the 3.5 tests, those seem to be diff tests and my sense is that I will study that output in the next few hours... Update: The diff contains: So the /J switch has been removed in both tests. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
What is that flag for? Is it related to using |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The 3.5 failure is not related to this PR, so I think this should land when ready. I saw the 3.5 failure when working on #1961, but it went away on a second run. That points to something like a difference in Travis runners or a broken cache. @targos (since I saw you enabled Travis here, but other org owners can also do this) can you clear the Travis cache? Thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@joaocgreis sure, what should I remove (I don't know anything about Travis caches): |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@targos please delete all repository caches (top right corner). Thanks! I believe nodejs/node uses the cache to actually make the build possible because of timing issues, but here it should be ok to just delete everything. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@joaocgreis it's done |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I restarted https://travis-ci.com/nodejs/node-gyp/jobs/261487549 after the cache was cleared but it still failed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Uses `pyenv` to manage MacOS python versions since its not included in the environment. rvagg: landing this from #1979 even though it wasn't from the original author. Treating approval there as approval of this commit too. PR-URL: #1979 Reviewed-By: Rod Vagg <[email protected]>
Reorder Travis builds by OS. Replace `pyenv global` calls with properly set `PATH` and `PYENV_VERSION` env vars. Does not assume python modules are in the `PATH` so all python modules are prefixed with `python -m`. PR-URL: #1979 Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
|
still dealing with linux 3.5 failures https://travis-ci.com/nodejs/node-gyp/builds/141142728, fwiw |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
See #1995 for more on Python 3.5 on Linux failures... |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Uses `pyenv` to manage MacOS python versions since its not included in the environment. rvagg: landing this from #1979 even though it wasn't from the original author. Treating approval there as approval of this commit too. PR-URL: #1979 Reviewed-By: Rod Vagg <[email protected]>
Reorder Travis builds by OS. Replace `pyenv global` calls with properly set `PATH` and `PYENV_VERSION` env vars. Does not assume python modules are in the `PATH` so all python modules are prefixed with `python -m`. PR-URL: #1979 Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.