doctor: disable python symlink message#10184
doctor: disable python symlink message#10184Rylan12 merged 1 commit intoHomebrew:masterfrom Rylan12:disable-python-doctor-message
Conversation
|
Review period will end on 2020-12-31 at 16:28:40 UTC. |
1 similar comment
|
Review period will end on 2020-12-31 at 16:28:40 UTC. |
|
I think this needs to be implemented in extend/os/linux/diagnostic.rb instead. We separated the linux from the Mac implementation with 2 different files. |
|
Makes sense. I'll just move the check to Before I do, though, I'm going to change the ubuntu runner to |
|
CI (on According to https://www.shellcheck.net/wiki/SC2230, this is opt-in only and I don't believe we've opted in... Odd that this is only the case on Ubuntu 20.04. |
|
Thinking out loud here, is this the right solution? Since the brew docker container uses 20.04 and doesn't include a Interestingly, I'm not a Linux guy and I've almost never used docker so I'm a tad out of my comfort zone here. Let me know if I'm misunderstanding the situation. |
|
Okay, this PR now removed the check altogether. In the future, we'll likely have to deal with the |
That'd be great, thanks ❤️. Happy to help if you get blocked. |
|
Review period ended. |
brew stylewith your changes locally?brew typecheckwith your changes locally?brew testswith your changes locally?brew manlocally and committed any changes?brew doctorwill soon start to fail onubuntu-latestactions runs once they migrate to Ubuntu 20.04. This has already happened to me in personal taps.The issue is that Ubuntu 20.04 no longer comes with Python 2. Instead, the
pythonexecutable points to Python 3.8.5.I think there are three options:
ubuntu-18.04instead ofubuntu-lateston all our runners. This isn't a good long-term solutionI don't know much about Homebrew on Linux, but I think that option 3 is the best option (mainly because @sjackman suggested it 😄). Ideally, now that Python 2 is no longer supported, we should expect to not deal with it in the future. Unfortunately, I'm not sure that's feasible on macOS (especially not yet).