Skip to content

Commit e8e3946

Browse files
committed
Fix CI Python3 breakage
For some reason `brew install python3` is failing in GitHub Action's macos-13 image due to stale 2to3/etc links. Simply remove the install step. We no longer need it as we have stable ABI now and we don't need latest version. Also, fix Python 2's installation link using an outdated version for some reason.
1 parent 5098093 commit e8e3946

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci-macvim.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@ jobs:
126126
- name: Install packages
127127
if: matrix.publish
128128
run: |
129-
brew install python3
129+
# We no longer need to install/update Python 3, as it's guaranteed to
130+
# be installed on runners. Since we use stable ABI, the exact version
131+
# on CI does not matter.
132+
130133
brew install ruby
131134
brew install lua
132135
@@ -146,8 +149,8 @@ jobs:
146149
#
147150
# This will be removed in the future as Python2 has been completely
148151
# unsupported for years.
149-
curl https://www.python.org/ftp/python/2.7.16/python-2.7.16-macosx10.9.pkg -o ~/Downloads/python-2.7.16-macosx10.9.pkg
150-
sudo installer -pkg ~/Downloads/python-2.7.16-macosx10.9.pkg -target /
152+
curl https://www.python.org/ftp/python/2.7.18/python-2.7.18-macosx10.9.pkg -o ~/Downloads/python-2.7.18-macosx10.9.pkg
153+
sudo installer -pkg ~/Downloads/python-2.7.18-macosx10.9.pkg -target /
151154
152155
# All set up steps are done. Build and test MacVim below.
153156

0 commit comments

Comments
 (0)