Note: We now have a self-hosted CI runner on a Mac...
# development
h
Note: We now have a self-hosted CI runner on a Mac M1, and as of https://github.com/pantsbuild/pants/pull/15738 it's building macOS ARM64 wheels. So no more ad-hoc manual building by Eric on an M1 laptop. Every release should now automatically include M1 support.
🍰 4
πŸš€ 4
πŸ‘– 5
πŸŽ‰ 6
Docs here on how I set up the runner machine: https://www.pantsbuild.org/v2.12/docs/ci-for-macos-on-arm64
πŸ‘ 1
There's not much documentation of this online, so maybe other projects and codebases will find this useful as well.
h
Thank you 😭 now just to wait until we're mostly done releasing for 2.11 so that I can finally upgrade to the new macOS.... (I've held off to not require our users to be using newest macOS)
b
@happy-kitchen-89482 recapping as a blog post would also be a nice service to the broader community and might bring some new readers into the blog site.
πŸ‘ 1
h
h
Yes I have already been working on that blog post. Great minds think alike.
πŸ’ƒ 2
🧠 2
w
seems to have worked…? https://pypi.org/project/pantsbuild.pants/2.13.0.dev5/#files @hundreds-father-404: are you able to check?
πŸ‘€ 1
h
It did not work for me:
macosx_12_0_arm64.whl
vs
macosx_11_0_arm64.whl
. I'm an 11.0 user, so can't consume 12.0 @happy-kitchen-89482 can we use an older macOS version? I will do a manual release now
πŸ‘ 1
h
Possibly, but it means setting up a new machine which is not trivial.
How come you haven't upgraded?
h
Okay -- then we need to decide if Pants 2.13 drops support for macos 11.0. That puts me in a pickle as a maintainer: I must stay on 11.0 to not force all our users to be using 12.0+, so I can't upgrade as long as we release M1 wheels for anything before Pants 2.13 But I also now can't consume Pants 2.13+
How come you haven't upgraded?
I've wanted to for the whole year, very badly. But I don't want to screw over our users by forcing them to upgrade to 12.0+
h
It may be OK to require that for M1s at least? Do we know of M1 users still on 11.0? Apple does aggressively push users to upgrade...
I can look into a 11.0 runner if we have to though
w
to be clear: we don’t need both 11.0 and 12.0: only 11.0, since it is forwards compatible
βž• 1
h
If we change to 12.0, then I think we need to be consistent that all new Pants releases will be 12.0+, even for past Pants versions like 2.9. Otherwise, I'm stuck in the catch 22