From 4d6cb1e9948af3cd25ca05aeabce23cd841b4ce7 Mon Sep 17 00:00:00 2001 From: Jendrik Seipp Date: Wed, 13 Mar 2024 10:18:36 +0100 Subject: [PATCH] Force package installation. --- .github/workflows/macos.yml | 2 +- .github/workflows/run-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index e65948e2..bf286867 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -22,7 +22,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Python - uses: actions/setup-python@v4.4.0 + uses: actions/setup-python@v5 with: python-version: ${{ env.python_version }} - name: Install macOS Dependencies diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ca400679..5c85a246 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -43,7 +43,7 @@ jobs: # Homebrew complains about files that are overwritten and recommends to delete them. sudo rm /usr/local/bin/2to3 /usr/local/bin/2to3-3.12 # We need pygobject from PyPI. Using only pygobject3 from homebrew leads to "gi module not found". - brew install gettext gtk+3 gobject-introspection glib libffi cairo gtksourceview3 atk librsvg gsettings-desktop-schemas adwaita-icon-theme enchant + brew install --force gettext gtk+3 gobject-introspection glib libffi cairo gtksourceview3 atk librsvg gsettings-desktop-schemas adwaita-icon-theme enchant python3 -m pip install pyenchant pygobject pyyaml env: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: on