cytomining / CytoTable

Transform CellProfiler and DeepProfiler data for processing image-based profiling readouts with Pycytominer and other Cytomining tools.
https://cytomining.github.io/CytoTable/
BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

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

Closed d33bs closed 2 months ago

d33bs commented 2 months ago

GitHub is making updates to their macos-latest tag usage 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 (from this job https://github.com/cytomining/CytoTable/actions/runs/8806641565/job/24171907333?pr=194):

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

See GH Actions run before this point (reference image Runner Image): https://github.com/cytomining/CytoTable/actions/runs/8744393369/job/23997143590

First experienced in #194 .