Skip to content

Commit

Permalink
Fix CI Python3 breakage
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ychin committed Oct 11, 2023
1 parent 5098093 commit e8e3946
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci-macvim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ jobs:
- name: Install packages
if: matrix.publish
run: |
brew install python3
# We no longer need to install/update Python 3, as it's guaranteed to
# be installed on runners. Since we use stable ABI, the exact version
# on CI does not matter.
brew install ruby
brew install lua
Expand All @@ -146,8 +149,8 @@ jobs:
#
# This will be removed in the future as Python2 has been completely
# unsupported for years.
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
sudo installer -pkg ~/Downloads/python-2.7.16-macosx10.9.pkg -target /
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
sudo installer -pkg ~/Downloads/python-2.7.18-macosx10.9.pkg -target /
# All set up steps are done. Build and test MacVim below.

Expand Down

0 comments on commit e8e3946

Please sign in to comment.