fonttools / fontbakery

🧁 A font quality assurance tool for everyone
https://fontbakery.readthedocs.io
Apache License 2.0
534 stars 99 forks source link

Resolve MacOS Python setup issues within GitHub Actions after recent GitHub Update #4673

Closed felipesanches closed 2 months ago

felipesanches commented 2 months ago

GitHub is making updates to their macos-latest tag for GitHub Actions usage (link). This results in being unable to install Python 3.8 and 3.9 through means which worked until very recently.

Reference: https://github.com/actions/setup-python/issues/850

The suggested workaround is to use macos-12 or macos-13 or to use specific versions of Python with specific platforms.

Example of how the error manifests:

Run actions/setup-python@v4 Installed versions Version 3.8 was not found in the local cache Error: The version '3.8' with architecture 'arm64' was not found for macOS 14.4.1. The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

First experienced in https://github.com/fonttools/fontbakery/pull/4668