From 33cede146af002dfc5d0e00a3ab17d009ab9e770 Mon Sep 17 00:00:00 2001 From: Ziv Yaniv Date: Fri, 2 Oct 2026 12:50:18 -0400 Subject: [PATCH] Add svn installation to the macos flow. The enchant library requires netpbm which is distributed via svn. It looks like previoous version of the macos-15-intel had svn available and it isn't anymore, so installing it explicitly. --- .github/workflows/main.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a20d8f3..3b9790e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -68,8 +68,16 @@ jobs: sudo apt-get update sudo apt-get install enchant-2 elif [ "$RUNNER_OS" == "macOS" ]; then - brew update - brew install enchant + # GitHub macOS runners sometimes have a conflicting preinstalled OpenSSL + # symlink in /usr/local/bin. Avoid failing the workflow on Homebrew link + # conflicts; install the dependency needed for libenchant and continue. + brew update || true + brew install svn + brew install openssl@3 || true + brew install enchant || { + brew link --overwrite --force openssl@3 || true + brew install enchant + } fi # on windows, the pyenchant package includes enchant - name: Install dependencies