lephare-photoz / lephare

LePHARE is a code for calculating photometric redshifts.
MIT License
5 stars 1 forks source link

Remove soon to be defunct macos-12 builds #222

Open raphaelshirley opened 5 days ago

raphaelshirley commented 5 days ago

Apparently the macos-12 runner will be removed

https://github.com/s3fs-fuse/s3fs-fuse/issues/2552

I can see macos-12 in

https://github.com/lephare-photoz/lephare/blob/main/.github/workflows/publish-to-pypi.yml https://github.com/lephare-photoz/lephare/blob/main/.github/workflows/testing-mac-only.yml https://github.com/lephare-photoz/lephare/blob/main/.github/workflows/compile-cpp.yml

Shall we delete?, replace with macos-13 or macos-latest?

I think we may have prevously had issues with latest.

johannct commented 5 days ago

Go for macos-13 then. ubuntu on the other hand could be latest everywhere, I believe, but let's leave that aside for now

raphaelshirley commented 5 days ago

I seem to remember a discussion with @drewoldag about not using 'latest' on perhaps ubuntu or mac but I can't remember why we rejected it. I think it kept introducing breaking changes?

drewoldag commented 5 days ago

My memory is that using latest will just mean that things might change without you being aware of it. So under the hood latest may change (e.g. from 13 to 14) and break. If that happens and it breaks something it is very challenging to determine why. From your perspective nothing changed, and github isn't great about advertising those kinds of changes.

So macos-13 should be fine.

Here's the current list of hosted runners available: https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

johannct commented 5 days ago

yes agreed.