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

The version '3.11.6' with architecture 'x64' was not found for this operating system #913

Closed
1 task
ddomnicraj opened this issue Jul 20, 2024 · 6 comments
Closed
1 task
Assignees
Labels
bug Something isn't working

Comments

@ddomnicraj
Copy link

Description:
The version '3.11.6' with architecture 'x64' was not found for this operating system.
Operating System - RHEL9.
NAME="Red Hat Enterprise Linux"
VERSION="9.4 (Plow)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="9.4"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Red Hat Enterprise Linux 9.4 (Plow)"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos"

Action version:
Run actions/setup-python@v5
with:
python-version: 3.11.6

Platform:

  • [*] RHEL

Runner type:

  • Self-hosted

Tools version:

3.11.6

Actual behavior:
Installed versions
Version 3.11.6 was not found in the local cache
Error: The version '3.11.6' with architecture 'x64' was not found for this operating system.
The list of all available versions can be found here: https://github.com/raw/actions/python-versions/main/versions-manifest.json

@ddomnicraj ddomnicraj added bug Something isn't working needs triage labels Jul 20, 2024
@mahabaleshwars
Copy link

Hello @ddomnicraj,

Thank you for creating this issue. We will investigate it and provide feedback as soon as we have some updates.

@priya-kinthali
Copy link
Contributor

Hello @ddomnicraj 👋,
Thank you for bringing this issue to our attention.
The manifest lists Python 3.11.6 for Ubuntu 20.04 and 22.04, but not explicitly for RHEL9. A potential workaround to resolve this issue is to add the following step in your workflow:

- name: Create /etc/lsb-release
  run: |
    echo "DISTRIB_RELEASE=22.04" | sudo tee -a /etc/lsb-release

This workaround helps with the identification process, aligning it with an Ubuntu release that has the desired Python version available.
Please let us know if this resolves the issue. If you have any further questions or need additional assistance, feel free to reach out.

@jsim-rode
Copy link

I have the same issue. I have found other similar past issues such as #544 - the issue here appeared to be using ubuntu-latest instead of a fixed version. However, fixing Ubuntu to version 22.04 or 20.04 did not work for me.

@jsim-rode
Copy link

Hello @ddomnicraj 👋, Thank you for bringing this issue to our attention. The manifest lists Python 3.11.6 for Ubuntu 20.04 and 22.04, but not explicitly for RHEL9. A potential workaround to resolve this issue is to add the following step in your workflow:

- name: Create /etc/lsb-release
  run: |
    echo "DISTRIB_RELEASE=22.04" | sudo tee -a /etc/lsb-release

This workaround helps with the identification process, aligning it with an Ubuntu release that has the desired Python version available. Please let us know if this resolves the issue. If you have any further questions or need additional assistance, feel free to reach out.

This got me a little bit further, but I got the following error message:

[Test Python/test]   ❗  ::error::./python: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./python)%0A./python: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/092b8afe-ebbd-47d0-b27a-ddec8da45c33/lib/libpython3.10.so.1.0)%0A./python: /lib/x866
_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/092b8afe-ebbd-47d0-b27a-ddec8da45c33/lib/libpython3.10.so.1.0)%0A./python: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/092b8afe-ebbd-47d0-b27a-ddec8da45c33/lib/libpython3.10.so.1.0)%0A./python: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/092b8afe-ebbd-47d0-b27a-ddec8da45c33/lib/libpython3.10.so.1.0)

This is on a self hosted runner using Act using ubuntu-22.04 for Python version 3.10, but it has not worked for versions 3.11, 3.12.

It looks like the image is missing some dependencies for Python?

@jsim-rode
Copy link

Popping in again to say that my tests are working on the Github hosted runners. I've been using Act to simulate my actions locally, and I've noticed that no matter what version I specify, its using Debian Buster - so I think my issue specifically is an issue with Act.

@priya-kinthali
Copy link
Contributor

We appreciate your input. Kindly note that our support for Python distributions is limited to the operating systems available on our GitHub-hosted runners. For more details, please refer to this document. Unfortunately, we do not offer support for another Linux distributions. We are proceeding to close this ticket. Thank you for your understanding.

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

4 participants