Repository navigation
Failing on ubuntu 22.04 #391
Description
Activity
Hello @fennerm,
Can you please confirm both 22.04 and 20.04 builds have environment variable AGENT_TOOLSDIRECTORY set according to https://github.com/actions/setup-python/blob/main/README.md#linux ?Anyway @dsame should take a look to
tc.find(find specific version in tool cach) called from src//find-python.ts:41 and double check it has the same behavior with 22.04 and 20.04@fennerm Can you please provide the exact pipeline steps, i see some discrepancy in the descrpiption: you've marked self-hosted runner but mentioned
ubuntu-latestin next lines and finally ended up with docker cli.Nevertheless i made an attempt to make a repro according to the description and it works with no problem.
I faced same issue while using
ubuntu:latestcontainer forsetup-pythonaction. Usingubuntu:20.04has solved the issue.If you refer version-manifest.json file, you will see there is no matching platform version for
ubuntu:22.04and that's why we see error:Error: Version 3.7 with arch x64 not found@dsame Your repro attempt worked because you used Github action's runner
ubuntu-latestwhich is still Ubuntu 20.04 (https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources)I am having the same issue on a Docker Github Actions runner
Python 3.7 -> 3.10 are now available for ubuntu 22.04: actions/python-versions#161
@fennerm much thanks to @vivekjainx86 i understood the issue and it seems to be resolved with actions/python-versions#161 but i still have a concern about "self-hosted" and "docker" cli you've mentioned in the description.
Please let us know do you still have an issue with the build or, it can be closed as resolved?
@dsame I don't see any problem with my build now, the issue can be closed as resolved.
Hello guys,
If this is the case I will close this issue. You feel free to leave a comment here or to create a new issue if any new issues occur :)
Description:
Our github actions started failing at the setup-python step this morning with message:
Error: Version 3.7 with arch x64 not found. I believe the issue is related to the ubuntu 22.04 release yesterday. Downgrading our ubuntu version to 20.04 resolved.Action version:
v3
Platform:
Runner type:
Tools version:
'3.7' (also tested with '3.7.12')
Repro steps:
Run setup-python in a github action with
runs-on: ubuntu-latestExpected behavior:
Python 3.7.12 is installed.
Actual behavior:
Error: