Skip to content
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

Error: Version 3.9.11 with arch x64 not found #541

Closed
1 of 5 tasks
atayardimci opened this issue Nov 14, 2022 · 7 comments
Closed
1 of 5 tasks

Error: Version 3.9.11 with arch x64 not found #541

atayardimci opened this issue Nov 14, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@atayardimci
Copy link

Description:
I've been using this action without an issue until a few days ago. Currently having this error while trying to setup Python 3.9.11. I have the same error with other Python versions.

Error: Version 3.9.11 with arch x64 not found
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

Saw this comment under another issue and it seems related #162 (comment)

Action version:
actions/setup-python@v4

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

3.9.11
3.9.7

Repro steps:
A job that runs-on: ubuntu-latest. Using the action in a step as this

- name: Setup Python 
   id: setup-python
   uses: actions/setup-python@v4
   with:
     python-version: 3.9.11

Expected behavior:
Sets up Python without an issue

Actual behavior:
Receiving this error

Error: Version 3.9.11 with arch x64 not found
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
@atayardimci atayardimci added bug Something isn't working needs triage labels Nov 14, 2022
@atayardimci
Copy link
Author

Pinning the runner image version to ubuntu-20.04 resolved the issue

indiVar0508 referenced this issue in corridor/sqlalchemy-history Nov 18, 2022
original yaml file was not installing specified version in action
matrix.
added action to install specified version for python.

bumping python 3.6.2 to 3.6.7 as following are the versions valid for
the new action used.
https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

Use ubuntu-20.04 to install python 3.10 refer to issue
`https://github.com/actions/setup-python/issues/541`
indiVar0508 referenced this issue in corridor/sqlalchemy-history Nov 18, 2022
original yaml file was not installing specified version in action
matrix.
added action to install specified version for python.

bumping python 3.6.2 to 3.6.7 as following are the versions valid for
the new action used.
https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

Use ubuntu-20.04 to install python 3.10 refer to issue
`https://github.com/actions/setup-python/issues/541`
indiVar0508 referenced this issue in corridor/sqlalchemy-history Nov 19, 2022
original yaml file was not installing specified version in action
matrix.
add action to install specified version for python.

Use ubuntu-20.04 to install python 3.10 refer to issue
`https://github.com/actions/setup-python/issues/541`
AbdealiLoKo referenced this issue in corridor/sqlalchemy-history Nov 24, 2022
original yaml file was not installing specified version in action
matrix.
add action to install specified version for python.

Use ubuntu-20.04 to install python 3.10 refer to issue
`https://github.com/actions/setup-python/issues/541`
@bweisberger
Copy link

Can we re-open this issue? It seems like it's still a bug if we now need to track ubuntu versions rather than referencing ubuntu-latest

@MaksimZhukov
Copy link
Contributor

Hello @bweisberger !
The ubuntu-latest tag is being migrated to Ubuntu 22.04 (see details in the related announcement). We have not built Python 3.9.11 for Ubuntu 22.04. Python 3.9 is available for installation on Ubuntu 22.04 starting with Python 3.9.12. Could you please switch to the Python 3.9.12 (or higher) or specify Python version as 3.9 to install the latest available patch version?

    - name: Set up Python
      uses: actions/setup-python@v4
      with:
        python-version: '3.9'

@bweisberger
Copy link

bweisberger commented Dec 5, 2022

@MaksimZhukov Thanks for the guidance, I went ahead and truncated our python-version from 3.9.11 to 3.9, and I'm now pointed at ubuntu-20.04 instead of ubuntu-latest. I appreciate the link to the announcement, I had missed that.

@bweisberger
Copy link

@atayardimci I'm fine closing this issue again, with @MaksimZhukov's guidance that we can continue using ubuntu-latest with this action and point at python-version: 3.9 instead of 3.9.11. I'll leave it to you, thank you for re-opening.

@iamamanbhardwaj
Copy link

act -P ubuntu-20.04=catthehacker/ubuntu:act-22.04
run this. it worked for me
i was running on micro tier image aka node:12.6-buster-slim image

@ravensorb
Copy link

act -P ubuntu-20.04=catthehacker/ubuntu:act-22.04

This one worked for me. Could not get the standard image to work with any of the workarounds.

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

5 participants