Skip to content

Commit

Permalink
Github workflow: Fix python link error on macOS
Browse files Browse the repository at this point in the history
 Homebrew recently shifted to python3.12 as the default python on some
 but not all versions of macOS.  This fix resolves a package linking
 issue experienced when installing python based packages.
  • Loading branch information
jhoyt4 committed Feb 13, 2024
1 parent 62ad21b commit 7980930
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/buildmaster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,17 @@ jobs:
env:
OS_VERS: ${{ matrix.os }}
run: |
brew update
${PKGMGR_CMD} update
${PKGMGR_CMD} unlink python
${PKGMGR_CMG} brew install [email protected]
${PKGMGR_CMD} link --overwrite [email protected]
${PKGMGR_CMD} install pkg-config ccache qt5 nasm libsamplerate taglib\
lzo libcec libbluray libass libhdhomerun dav1d x264 x265 libvpx \
openssl sound-touch lame freetype libass libiconv libxml2 libzip \
XviD zlib pyenv-virtualenv python-lxml python-requests \
python-setuptools
${PKGMGR_CMD} link qt5 --force
${PKGMGR_CMD} link python --force
# macos-14 updated the linker and needs to be run in "classic" mode
case $OS_VERS in
macos-14)
Expand Down

0 comments on commit 7980930

Please sign in to comment.