Skip to content

Missing Python versions in macOS 14 / macos-latest #9770

@fjwillemsen

Description

@fjwillemsen

Description

In the new macos-latest as of April 2024, macOS 14, there are only 2 Python versions: 3.11 and 3.12.
According to the readme, each image should have the "5 most popular major.minor versions" for Python.
The previous macos-latest, macOS 12, had this with Python versions 3.7, 3.8, 3.9, 3.10, 3.11 and 3.12.
The macOS 13 image also has this with Python versions 3.8, 3.9, 3.10, 3.11 and 3.12.
Can Python versions 3.8, 3.9 and 3.10 please be added to the macos-latest image to make sure it is consistent with the readme?

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

20240415.6, https://github.com/KernelTuner/kernel_tuner/actions/runs/8816157330/job/24199664812#step:6:49

Is it regression?

20240412.2, https://github.com/KernelTuner/kernel_tuner/actions/runs/8798111219/job/24144414393

Expected behavior

We expect to see at least Python versions 3.8, 3.9, 3.10, 3.11 and 3.12 under "Available CPython versions" under "Setup Nox", as in this run, where it lists [ '3.10.14', '3.11.9', '3.12.3', '3.7.17', '3.8.18', '3.9.19' ].

Actual behavior

What we instead see is that only Python versions 3.11 and 3.12 are available under "Available CPython versions" under "Setup Nox" as in this run, where it lists [ '3.11.9', '3.12.3' ].

Repro steps

  1. Run with macos-12 or macos-13.
  2. Switch to macos-14 or macos-latest.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions