Closed masatake closed 3 months ago
You do not need to set that, that already has been done for you. https://github.com/actions/runner-images/issues/2466
@leleliu008 Thank you. How can we avoid the failure on "run units target on macOS / testing (macos-13) (pull_request)" ?
brew install --overwrite python@3.12
However, I found the following comment that you wrote in testing-mac.yml:
# NOTE: DO NOT try to install python3 package via brew, it has already been included in macos-xx runner images
Should I delete the comment and add brew install --overwrite python@3.12
instead?
There are many python packages like python@3.10 python@3.11 python@3.12 in brew, they always conflict with each other.
??? So what should we do? Should we specify the version of Python explicitly, though a version of Python has already been included in macos-xx runner images?
However, I found the following comment that you wrote in testing-mac.yml:
# NOTE: DO NOT try to install python3 package via brew, it has already been included in macos-xx runner images
Should I delete the comment and add
brew install --overwrite python@3.12
instead?
we do not install a python package though, but many packages may depend on different version of python packages. HomeBrew Team update their package formula frequently, it's very unstable, but it usually canbe fix via brew install --overwrite python@x.y
??? So what should we do? Should we specify the version of Python explicitly, though a version of Python has already been included in macos-xx runner images?
Yes, no good solution. It is not a stable package manager after all.
let me fix it. I will file a new PR to fix it.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Additional details and impacted files
```diff @@ Coverage Diff @@ ## master #3954 +/- ## ======================================= Coverage 85.37% 85.37% ======================================= Files 235 235 Lines 56458 56458 ======================================= Hits 48200 48200 Misses 8258 8258 ```:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.