Description:
A clear and concise description of what the bug is.
Ubuntu-latest
Run actions/setup-python@v5
with:
python-version: 3.7
check-latest: false
token: ***
update-environment: true
allow-prereleases: false
Installed versions
Version 3.7 was not found in the local cache
Error: The version '3.7' with architecture 'x64' was not found for Ubuntu [2](https://github.com/redhat-performance/benchmark-runner/actions/runs/11322675100/job/31484171496#step:3:2)4.04.
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
For more details see failed job Action version:
Specify the action version
Platform:
Ubuntu
macOS
Windows
Runner type:
Hosted
Self-hosted
Tools version:
'3.7' Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.
Expected behavior:
A description of what you expected to happen.
Actual behavior:
A description of what is actually happening.
It's very disappointing that no one from GitHub Actions support fixed this issue immediately. (cc @kajweb ,@konradpabjan )
Currently we remove Python 3.7 from our project support due to it. PR
I have just started having the same issue in my actions that are using python 3.8.12 (Version 3.8.12 was not found in the local cache) - i can see it still exists in the versions manifest, so not sure why this is erroring
i just realised my job was running on ubuntu-latest (24.04). I've fixed the Ubuntu version to 22.04 and this has resolved the issue. Looking at the versions manifest there is no version available for 24.04
Reacted by Maxime Roodnejad, Artyom Vancyan and MoodyMusicMan
Hello Everyone, The Python 3.7 version is not available for Ubuntu 24.04 x64, which is why you are encountering this problem. This version is also not available for the available packages from source in the runner tool cache because it reached its End of Life (EOL) last year. We recommend using the latest versions of Python to avoid such issues. Please find the screenshots for reference.
Please feel free to reach us if any further clarifications needed.
Unfortunately, some projects can't upgrade from 3.7. As a fix we changed from ubuntu-latest to ubuntu-22.04.
Reacted by Harmen Stoppels, Long Dich Nguyen, Jinzhe Zeng, Maciej Karaś, Misha Turnbull, studyingegret, izuna385, Radek Holý, Diego Camacho, Christopher O'Brien and 2 more
Hello @ebattat, please let us know if the information provided above resolved your issue? If you have any further concerns or questions, feel free to reach out.
Activity
tomviner commented on Oct 14, 2024
Worth noting Python 3.7 is the first Python that's attempted, and the rest are skipped when that fails. So the problem may not be 3.7 specific.
kajweb commented on Oct 14, 2024
I had the same problem in python 3.7, so I upgraded python to 3.8. It worked
ebattat commented on Oct 15, 2024
It's very disappointing that no one from GitHub Actions support fixed this issue immediately. (cc @kajweb ,@konradpabjan )
Currently we remove Python 3.7 from our project support due to it. PR
rjt-moonpay commented on Oct 15, 2024
I have just started having the same issue in my actions that are using python 3.8.12 (Version 3.8.12 was not found in the local cache) - i can see it still exists in the versions manifest, so not sure why this is erroring
rjt-moonpay commented on Oct 15, 2024
i just realised my job was running on ubuntu-latest (24.04). I've fixed the Ubuntu version to 22.04 and this has resolved the issue. Looking at the versions manifest there is no version available for 24.04
![Uploading Screenshot 2024-10-15 at 12.52.10.png…]()
v-aparnajyothi-y commented on Oct 15, 2024
Hello Everyone, The Python 3.7 version is not available for Ubuntu 24.04 x64, which is why you are encountering this problem. This version is also not available for the available packages from source in the runner tool cache because it reached its End of Life (EOL) last year. We recommend using the latest versions of Python to avoid such issues. Please find the screenshots for reference.




Please feel free to reach us if any further clarifications needed.
vtsvetkov-splunk commented on Oct 15, 2024
Unfortunately, some projects can't upgrade from 3.7. As a fix we changed from ubuntu-latest to ubuntu-22.04.
v-aparnajyothi-y commented on Oct 29, 2024
Hello @ebattat, please let us know if the information provided above resolved your issue? If you have any further concerns or questions, feel free to reach out.
ebattat commented on Oct 29, 2024
@aparnajyothi-y,
Yes, I have removed Python3.7 from my project.
v-aparnajyothi-y commented on Nov 5, 2024
Hello @ebattat, Thank you for your confirmation and we are proceeding to close this issue.
Please feel free to reach us, If you encounter any further issues or need assistance.
15 remaining items
Fix DeprecationWarning: datetime.datetime.utcfromtimestamp() is depre…
CI: also bump python version as well
github流水线报错: Version 3.7 was not found in the local cache. 参考: action…
Update Python version to 3.8 in helm-lint.yaml
Update Python version to 3.8 in helm-lint.yaml
Update Python version to 3.8 in helm-lint.yaml
Remove Python `3.7` from GitHub Actions
Remove Python `3.7` from GitHub Actions (#718)
Change CI ubuntu version
Run jobs on ubuntu-22.04, test all supported python versions
Run jobs on ubuntu-20.04, test all supported python versions
Enforce `ubuntu-22.04` in CI to support python 3.7
Update testing.yml
Update linters.yml
Run jobs on ubuntu-20.04, test all supported python versions