Title: macOS job broken on Travis CI
Type: compile error Stage: resolved
Components: Build Versions: Python 3.8
Status: closed Resolution: fixed
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 2019-06-06 20:35 by willingc. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 6086 closed willingc, 2018-03-12 17:41
Messages (6)
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...

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  I also see the pre-revert of our .travis.yaml did not try to install the brew python3 (  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!
msg344873 - (view) Author: Carol Willing (willingc) * (Python committer) Date: 2019-06-06 20:35
Folks, I'm going to close this as resolved since we are now using Azure Pipelines for MacOS as well. Brew has also since come up with a naming policy for 2 or 3 so hopefully (?) there will be no further renaming.
Date User Action Args
2019-06-06 20:35:32willingcsetstatus: open -> closed
resolution: fixed
messages: + msg344873

stage: patch review -> resolved
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