File tree Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ jobs:
124124 cibw_archs : " aarch64"
125125 - os : windows-latest
126126 cibw_archs : " auto64"
127- - os : macos-12
127+ - os : macos-13
128128 cibw_archs : " x86_64"
129129 - os : macos-14
130130 cibw_archs : " arm64"
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101101 pyqt6-ver : ' !=6.6.0'
102102 # https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
103103 pyside6-ver : ' !=6.5.1'
104- - os : macos-12 # This runner is on Intel chips.
104+ - os : macos-13 # This runner is on Intel chips.
105105 python-version : ' 3.9'
106106 # https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
107107 pyside6-ver : ' !=6.5.1'
@@ -192,6 +192,17 @@ jobs:
192192 ;;
193193 macOS)
194194 brew update
195+ # Periodically, Homebrew updates Python and fails to overwrite the
196+ # existing not-managed-by-Homebrew copy without explicitly being told
197+ # to do so. GitHub/Azure continues to avoid fixing their runner images:
198+ # https://github.com/actions/runner-images/issues/9966
199+ # so force an overwrite even if there are no Python updates.
200+ # We don't even care about Homebrew's Python because we use the one
201+ # from actions/setup-python.
202+ for python_package in $(brew list | grep python@); do
203+ brew unlink ${python_package}
204+ brew link --overwrite ${python_package}
205+ done
195206 brew install ccache ghostscript gobject-introspection gtk4 ninja
196207 brew install --cask font-noto-sans-cjk inkscape
197208 ;;
Original file line number Diff line number Diff line change @@ -120,6 +120,17 @@ stages:
120120 ;;
121121 Darwin)
122122 brew update
123+ # Periodically, Homebrew updates Python and fails to overwrite the
124+ # existing not-managed-by-Homebrew copy without explicitly being told
125+ # to do so. GitHub/Azure continues to avoid fixing their runner images:
126+ # https://github.com/actions/runner-images/issues/9966
127+ # so force an overwrite even if there are no Python updates.
128+ # We don't even care about Homebrew's Python because we use the one
129+ # from UsePythonVersion.
130+ for python_package in $(brew list | grep python@); do
131+ brew unlink ${python_package}
132+ brew link --overwrite ${python_package}
133+ done
123134 brew install --cask xquartz
124135 brew install ccache ffmpeg imagemagick mplayer ninja pkg-config
125136 brew install --cask font-noto-sans-cjk-sc
You can’t perform that action at this time.
0 commit comments