Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
4 of 13 tasks
fjwillemsen opened this issue Apr 24, 2024 · 7 comments
Closed
4 of 13 tasks

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

fjwillemsen opened this issue Apr 24, 2024 · 7 comments

Comments

@fjwillemsen
Copy link

fjwillemsen commented Apr 24, 2024

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.
@mikhailkoliada
Copy link
Contributor

Transferring to setup-python, these versions are not available in the action, hence we can not pre-install them at the moment

@mikhailkoliada mikhailkoliada transferred this issue from actions/runner-images Apr 24, 2024
fjwillemsen referenced this issue in KernelTuner/kernel_tuner Apr 24, 2024
As described in [this issue](https://github.com/actions/setup-python/issues/852), the latest macOS GitHub action runner is missing Python dependencies. This temporarily reverts to an older version until this is fixed.
sambhav referenced this issue in argoproj-labs/hera Apr 25, 2024
**Pull Request Checklist**
- [ ] Fixes #<!--issue number goes here-->
- [ ] Tests added
- [ ] Documentation/examples added
- [ ] [Good commit messages](https://cbea.ms/git-commit/) and/or PR
title

**Description of PR**
https://github.com/actions/setup-python/issues/852
With macos-latest moving from macos-12 to macos-14, there are fewer
available python versions.

This PR pins the previous macos-latest runner to macos-12 and adds
entries for python 3.11 and 3.12 available on macos-14.

Also, it looks like the required status checks need to be updated.

---------

Signed-off-by: crflynn <[email protected]>
Signed-off-by: Sambhav Kothari <[email protected]>
Co-authored-by: Sambhav Kothari <[email protected]>
@HarithaVattikuti
Copy link
Collaborator

We are supporting python 3.8, 3.9, 3.10 versions for macos arm64 now.

Transferring to runner-images as no pending action from our end.

maartenbreddels referenced this issue in maartenbreddels/nbclassic Apr 25, 2024
As of this writing, we had failure due to an osx image update:
 * https://github.com/actions/setup-python/issues/852

And in the past I have seen the same for Ubuntu images.
 * bqplot/bqplot#1588 (comment)
@matteius
Copy link

I am confused what the path forward is for projects like pipenv that test all mac os versions that are not EOL'd.

rayluo added a commit to AzureAD/microsoft-authentication-extensions-for-python that referenced this issue May 2, 2024
KatyBrown added a commit to KatyBrown/plot_phylo that referenced this issue May 3, 2024
@felixdittrich92
Copy link

@mikhailkoliada any update on this ? Looks like after the actions/setup-python fix it requires an release on your end, when could we expect this ? :)

@mikhailkoliada
Copy link
Contributor

@felixdittrich92 we plan the release by the end of the next week, but it does not require anything, setup-python just downloads an archive for you, we in turn just pre-install them to speed up the process and save customers few seconds, but we are not a blocker in the chain :) (yet, I'd not recommend calling python from hostedtoolcache directly :))

@erik-bershel
Copy link
Contributor

Hey there!
Images rollout finished. 🎉

fjwillemsen added a commit to KernelTuner/kernel_tuner that referenced this issue May 17, 2024
As described in actions/runner-images#9770, `macos-latest` was missing cached Python versions 3.9 and 3.10, forcing temporary use of `macos-13`. As the Python versions have been added, we can again use `macos-latest`.
fjwillemsen added a commit to KernelTuner/kernel_tuner that referenced this issue May 17, 2024
As described in actions/runner-images#9770, `macos-latest` was missing cached Python versions 3.9 and 3.10, forcing temporary use of `macos-13`. As the Python versions have been added, we can again use `macos-latest`.
danibene added a commit to danibene/respiring that referenced this issue May 18, 2024
danibene added a commit to arnab39/equiadapt that referenced this issue May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants