Skip to content

Version 3.7 was not found in the local cache #962

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 of 5 tasks
ebattat opened this issue Oct 14, 2024 · 11 comments
Closed
2 of 5 tasks

Version 3.7 was not found in the local cache #962

ebattat opened this issue Oct 14, 2024 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@ebattat
Copy link

ebattat commented Oct 14, 2024

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.

@tomviner
Copy link

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
Copy link

kajweb commented Oct 14, 2024

I had the same problem in python 3.7, so I upgraded python to 3.8. It worked

@ebattat
Copy link
Author

ebattat commented 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
Copy link

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
Copy link

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…

@aparnajyothi-y
Copy link
Contributor

aparnajyothi-y commented 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.
Screenshot 2024-10-15 at 6 14 14 PM
Screenshot 2024-10-15 at 6 19 24 PM
Screenshot 2024-10-15 at 6 19 41 PM
Screenshot 2024-10-15 at 6 20 54 PM

@vtsvetkov-splunk
Copy link

Unfortunately, some projects can't upgrade from 3.7. As a fix we changed from ubuntu-latest to ubuntu-22.04.

@aparnajyothi-y
Copy link
Contributor

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
Copy link
Author

ebattat commented Oct 29, 2024

@aparnajyothi-y,

Yes, I have removed Python3.7 from my project.

@aparnajyothi-y
Copy link
Contributor

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.

@LatentDream
Copy link

Oups, didn't mean to tag the link from a commit message

fgwt202412 added a commit to foxglove/foxglove-sdk that referenced this issue Dec 16, 2024
### Changelog
<!-- Write a one-sentence summary of the user-impacting change (API,
UI/UX, performance, etc) that could appear in a changelog. Write "None"
if there is no user-facing change -->

None

### Docs

<!-- Link to a Docs PR, tracking ticket in Linear, OR write "None" if no
documentation changes are needed. -->

None

### Description

<!-- Describe the problem, what has changed, and motivation behind those
changes. Pretend you are advocating for this change and the reader is
skeptical. -->

CI [broke
recently](https://github.com/foxglove/schemas/actions/runs/12341162294/job/34439471378?pr=159)
because Python 3.7 is not supported for Ubuntu 24.04 x64. See
actions/setup-python#962. This fixes the
`python` job to use Ubuntu 22.04.
samanhappy added a commit to samanhappy/easeprobe that referenced this issue Feb 3, 2025
Python 3.7 is not supported on GitHub Actions ubuntu-latest runner: actions/setup-python#962

Python 3.7 has reached EOL more than 1 year ago anyway, so not worth the effort supporting it.
samanhappy added a commit to samanhappy/easeprobe that referenced this issue Feb 3, 2025
Python 3.7 is not supported on GitHub Actions ubuntu-latest runner: actions/setup-python#962

Python 3.7 has reached EOL more than 1 year ago anyway, so not worth the effort supporting it.
JackPGreen added a commit to JackPGreen/hazelcast-python-client that referenced this issue Feb 11, 2025
In hazelcast#717 the runner images were upgraded from Ubuntu `20` to Ubuntu `24` (implicit).

[Ubuntu `24` does not have an available Python `3.7` installation](actions/setup-python#962), so the [actions fail](https://github.com/hazelcast/hazelcast-python-client/actions/runs/13270208556).

Changes:
- removed Python `3.7` from GitHub Actions
- upgraded `setup-python` action to latest (while investigating)
JackPGreen added a commit to hazelcast/hazelcast-python-client that referenced this issue Feb 12, 2025
In #717 the
runner images were upgraded from Ubuntu `20` to Ubuntu `24` (implicit).

[Ubuntu `24` does not have an available Python `3.7`
installation](actions/setup-python#962), so
the [actions
fail](https://github.com/hazelcast/hazelcast-python-client/actions/runs/13270208556).

Changes:
- removed Python `3.7` from GitHub Actions
- upgraded `setup-python` action to latest (while investigating)
lajus pushed a commit to mhcomm/django-pwdtk that referenced this issue Mar 21, 2025
bencap added a commit to VariantEffect/mavehgvs that referenced this issue Apr 3, 2025
bencap added a commit to VariantEffect/mavehgvs that referenced this issue Apr 3, 2025
VeskeR added a commit to ably/ably-python that referenced this issue Apr 9, 2025
python 3.7 has reached its end of life [1] and is no longer available
for the current latest ubuntu version 24.04 [2], hence the "Version 3.7
was not found in the local cache" error in CI.

Enforce ubuntu-22.04 instead of ubuntu-latest so we can test against
python 3.7 until we drop support for it in the library.

Resolves #585

[1] https://docs.python.org/3.7/whatsnew/3.7.0.html#summary
[2] actions/setup-python#962 (comment)
lemmatum added a commit to lanl/fiducia that referenced this issue Apr 21, 2025
Python versions 3.7 and 3.8 are EOL on Ubuntu container. See [here](actions/setup-python#962)
lemmatum added a commit to lanl/fiducia that referenced this issue Apr 21, 2025
Python 3.7 and 3.8 are EOL on Ubuntu container. See [here](actions/setup-python#962)
afrubin pushed a commit to VariantEffect/mavehgvs that referenced this issue May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants