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

Mac builds with Python 3.6 are failing in Github Actions #235

Merged
merged 2 commits into from
May 29, 2024

Conversation

league
Copy link
Collaborator

@league league commented May 19, 2024

The transcript says:

  Version 3.6 was not found in the local cache
  Error: The version '3.6' 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

That list does contain some 3.6.x, but then I noticed the part about "architecture arm64"… so this comment seems to be relevant:

For me this looks like it's probably that the macos-latest Github action runner appears to have switched to an M1 ARM mac, where at least last week macos-latest was an x86 mac.

So I see a couple of options:

  • Pin macos-latest to an earlier revision so we're still ensuring x86, or
  • Drop 3.6 from CI for mac. It's already excluded for self-hosted, but we're still using it on Ubuntu.

Probably makes no difference on Python 3.6 failing on MacOS.
(Most likely the fix is just to drop 3.6.)
@league league marked this pull request as draft May 19, 2024 13:10
Python 3.6 is no longer supported on macos-latest build image, and 3.6
is EOL anyway. (So prefer to ditch 3.6 rather than pin macos to an
earlier image.)
@league league marked this pull request as ready for review May 29, 2024 18:10
@league
Copy link
Collaborator Author

league commented May 29, 2024

This should be ready, and can prevent other branches from failing on macos/py36 if merged or cherry-picked there.

@league league requested a review from jaycedowell May 29, 2024 20:05
@jaycedowell jaycedowell merged commit 8d87f9b into master May 29, 2024
10 checks passed
@jaycedowell jaycedowell deleted the mac-py36 branch May 29, 2024 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants