Skip to content

Python <3.10 not available on new macOS M1 runners #808

@agriyakhetarpal

Description

@agriyakhetarpal

Description:
Hello, we are trying to use setup-python with 3.8 and 3.9 on the new GitHub Actions macOS M1 runners (i.e., runs on: macos-14). It does not appear to have Python 3.8 and 3.9 and the oldest darwin-arm64 Python version available in the manifest is Python 3.10.11.

Justification:
Python 3.8 will not be EOLed until September/October this year, and Python 3.9 will be EOLed in 2025 therefore it should be a good idea to support these older Python versions, considering that they are supported on the darwin-x86_64 runner currently.

Are you willing to submit a PR?

I can try, thanks!


Edit, 24/04/2024: at the time of writing, macos-latest now points to M1 arm64 runners (the architecture has changed) and this is being rolled out to GitHub Actions users. macos-13 and macos-12 still use amd64 (Intel).

For those looking for a quick workaround at this time, just exclude these from your matrices:

    strategy:
      fail-fast: false
      matrix:
        python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
        runs-on: [ubuntu-latest, macos-13, macos-14, windows-latest]
        exclude:
          - python-version: "3.8"
            runs-on: macos-14
          - python-version: "3.9"
       		runs-on: macos-14

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or request to improve the current logic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy