Closed mbway closed 6 months ago
Hello @mbway Thank you for creating this issue. We will investigate it and get back to you as soon as we have some feedback.
macos-14 is an arm64 runner and you're explicitly requesting an "x64" architecture
Good point. I can't remember if it also fails without that. Either way the error message isn't very informative
Hello @mbway, Thank you once again for creating this issue. We have reproduced the error in our local and found that the error is due to python <3.10 versions are not added to macos-14 runner image. Please find the screenshot for reference.
Please let us know in case of any further clarifications.
ok that makes sense. So I suppose my suggestion would be that the error message for a requested version being missing should be clearer
Hello @mbway, Thank you for the suggestion and we will look into it in future. For now we are closing this issue as setup-python is working as implemented.
Hi. @aparnajyothi-y reported at https://github.com/actions/setup-python/issues/825#issuecomment-2012392172 (thanks!):
We have reproduced the error in our local and found that the error is due to
python<3.10
versions are not added tomacos-14
runner image.
macos-14
aka. macos-latest
has switched to being an ARM runner, only supporting newer versions of Python. If you need to support older versions, you may want to switch to macos-13
.
Description:
When I run this pipeline:
It fails with:
The pipeline succeeds for macos-13 or python > 3.9
Action version: v5
Platform:
Runner type:
Tools version: python 3.8, 3.9
Repro steps:
explained above
Expected behavior: the pipeline to succeed
Actual behavior: the pipeline fails