Closed owenthereal closed 5 months ago
We are also encountering the issue and it's blocking us. My understanding is that github use a newer version of macos that already ship with python 3.12 and the version we try to install is clashing.
What's the best solution? Can we take the brute force way by adding a brew install docker docker-compose qemu -force
?
Or do you see a way to skip the python 3.12 installation to use the default python version?
I'm happy to make a PR but I'm not sure what's the best solution. A --force
is the easiest, and it's reasonable as long as the action is always used on a fresh macos instance. But it could lead to surprises if the users also setup python or another lib themselves before calling the setup-docker-macos-action
.
@FHachez I will take some time today to see whether other people using Homebrew are having this issue.
I personally never encountered it myself and I use macOS full time, with qemu.
This make me wonder wether it's Github that when building the Action Runner's images links the system Python into /usr/local/bin
. In this case I think it's safe to override it and we can merge your PR to see how it goes.
FYI, I encountered the same error with macos-13 too.
FYI we are trying to figure out a good way of handling this. 🚧
Meanwhile, I reported this as a bug to Github as it doesn't happen in all runner versions: https://github.com/actions/runner-images/issues/9510.
For those using this action directly from the main
branch: I just merged a PR with a fix for the Python issue. Can you please test it and let me know if it works for you too? After confirmation I'll push a new release.
Awesome, thank you, @douglascamata. It's working for us on the github actions.
It's working for me too. Thank you. @douglascamata
THis is working also with StreamFlow (see alpha-unito/streamflow#408)
I pushed a new v1-alpha.13
tag and updated the v1-alpha
tag with the fix.
I'll leave this issue open for a week in case something else comes up as a consequence of the workaround. If nothing comes up by next Monday I will close this issue.
Thx to everyone involved and have a great week!
No more issues reported, so I'm closing this. Thanks again to everyone that helped in some way. 🙇
Build link: https://github.com/pgxman/pgxman/actions/runs/8226570015/job/22524288851#step:3:269
Logs: