classification
Title: macOS job broken on Travis CI
Type: compile error Stage: patch review
Components: Build Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: brett.cannon, ned.deily, pitrou, willingc, zach.ware
Priority: normal Keywords: patch

Created on 2018-03-11 18:12 by pitrou, last changed 2018-03-12 18:56 by ned.deily.

Pull Requests
URL Status Linked Edit
PR 6086 open willingc, 2018-03-12 17:41
Messages (5)
msg313605 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2018-03-11 18:12
Well, it didn't take long. The macOS job broke on Travis CI. Apparently "brew" thinks Python 2 and Python 3 are the same thing, so "brew install python3" now fails with an error message telling to use "brew upgrade" instead.  But it did work before...
https://travis-ci.org/python/cpython/jobs/352036713

This should be simple to fix, though I wonder whether this could be taken over by our macOS maintainers? :-)
msg313614 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2018-03-11 19:04
> This should be simple to fix, though I wonder whether this could be taken over by our macOS maintainers? :-)

I'm not sure what you mean by *this*.  If it's the Travis configuration, I don't use Homebrew myself and I have little experience with Travis or with our current configuration.  I have seen that the Homebrew project recently changed their defaults so that "python" pointed to "python3" and, because of pushback, have changed some things (see https://docs.brew.sh/Homebrew-and-Python.html).  I also see the pre-revert of our .travis.yaml did not try to install the brew python3 (https://github.com/python/cpython/pull/3367/files).  Perhaps someone more familiar with both can take a quick look.  I'm really busy with other things right now.
msg313615 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2018-03-11 19:08
I meant that the Travis macOS configuration could indeed be maintained by macOS experts, indeed.

The alternative, IMHO, would be to declare that bugs in macOS can appear without the offending PR being reverted if it was submitted by a non-macOS developer.
msg313672 - (view) Author: Carol Willing (willingc) * (Python committer) Date: 2018-03-12 17:48
I've opened a WIP PR to fix the Travis test config on macOS. Antoine is correct that the recent brew changes related to Python caused the test failure.

I will try to get working on Python3 first and then Python2.
msg313678 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2018-03-12 18:56
Thanks, Carol!
History
Date User Action Args
2018-03-12 18:56:06ned.deilysetmessages: + msg313678
2018-03-12 17:48:49willingcsetnosy: + willingc
messages: + msg313672
2018-03-12 17:41:08willingcsetkeywords: + patch
stage: patch review
pull_requests: + pull_request5847
2018-03-11 19:08:00pitrousetmessages: + msg313615
2018-03-11 19:04:13ned.deilysetnosy: + brett.cannon, zach.ware, - ronaldoussoren
messages: + msg313614
2018-03-11 18:12:42pitroucreate