Remove the non-ARM macOS CI jobs by EliahKagan · Pull Request #1946 · gitpython-developers/GitPython
Repository navigation
Remove the non-ARM macOS CI jobs - #1946
Merged
Byron merged 2 commits into gitpython-developers:main from EliahKagan:ci-arm-instead Jul 24, 2024
Merged
Remove the non-ARM macOS CI jobs #1946 Byron merged 2 commits into gitpython-developers:main from EliahKagan:ci-arm-instead
Conversation
EliahKagan commented Jul 24, 2024 · edited Loading
Copy link Copy Markdown
Member
This keeps only the macos-14 jobs, which run on Apple Silicon M1, and removes the macos-13 jobs, which ran on x86-64. This relates to the commented discussion in #1944 . There would also be the option of keeping some of them, but removing all of them decreases the workload the most while also being the simplest.
It also uses the label macos-latest instead, which is currently equivalent to macos-14.
- Some information about the situation with
macos-latestand the benefit of using it is presented in the second commit message. - That these jobs really are running on macOS 14, and more importantly that they are really running on ARM64, can be verified by examining the output of "Set up job" step. Here's an example.
Other operating systems' jobs continue to run on x86-64 machines (and none on ARM, yet). Only macOS jobs are removed.
This change leaves Python 3.7 without any macOS test job. That is probably okay, since it has been end-of-life for some time, and it remains tested on Ubuntu and Windows.
EliahKagan added 2 commits July 24, 2024 04:34
Remove the non-ARM macOS CI jobs
c2bbaf4
This keeps only the macos-14 jobs, which run on Apple Silicon M1, and removes the macos-13 jobs, which ran on x86-64. Other operating systems jobs continue to run on x86-64 machines (and none on ARM, yet). Only the macOS jobs are removed. This change leaves Python 3.7 without any macOS test job. That is probably okay, since it has been end-of-life for some time, and it remains tested on Ubuntu and Windows.
Use the macos-latest label rather than macos-14
be6744b
Currently they are the same. The macos-latest label will move to later versions automatically in the future, like the ubuntu-latest and windows-latest labels that we are already using. In this repo, the macos-14 label had been used originally because it was added before the migration of macos-latest to be macos-14 was completed. See github/roadmap#926. It was kept for clarity of constrast with the macos-13 jobs that were also in use, some for the same Python versions. Now that the macos-13 jobs have been removed in c2bbaf4, the macos-latest label can be used here without confusion.EliahKagan marked this pull request as ready for review July 24, 2024 08:56 EliahKagan mentioned this pull request Jul 24, 2024 Enable Python 3.8 and 3.9 on M1 runners #1944 Merged Byron approved these changes Jul 24, 2024
View reviewed changes
Byron left a comment
Copy link Copy Markdown
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more .
Thanks a lot, much appreciated!
Byron merged commit855befa
into
gitpython-developers : main
Jul 24, 2024
EliahKagan
deleted the
ci-arm-instead
branch
July 24, 2024 16:31
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment