Skip to content

Commit fc85ae2

Browse files
committed
Remove python before brew install
Workaround for github/brew problem. Python is already install on the Github action runner and then homebrew comes along... See also: Homebrew/homebrew-core#173191
1 parent 864a31a commit fc85ae2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ jobs:
2121

2222
- name: Install prerequisites
2323
run: |
24-
brew install boost lua nlohmann-json opencv pandoc postgis potrace
24+
# Workaround for github/brew problem. Python is already install
25+
# on the Github action runner and then homebrew comes along...
26+
# See also: https://github.com/Homebrew/homebrew-core/issues/173191
27+
rm -f /usr/local/bin/2to3* /usr/local/bin/idle3* /usr/local/bin/pydoc3* /usr/local/bin/python3*
28+
brew install boost lua nlohmann-json opencv pandoc postgis potrace python3
2529
# --break-system-packages is needed on macOS 14
2630
pip3 install --break-system-packages psycopg2 behave osmium
2731
mkdir ~/postgres

0 commit comments

Comments
 (0)