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.6.15' with architecture 'x64' was not found for Ubuntu 22.04. #665

Closed
3 of 5 tasks
zrhoffman opened this issue May 11, 2023 · 4 comments
Closed
3 of 5 tasks
Assignees
Labels
bug Something isn't working

Comments

@zrhoffman
Copy link

zrhoffman commented May 11, 2023

Description:
All Python 3.6 and 3.5 versions fail to install on Ubuntu, and all versions except 3.5.9, 3.6.7 and 3.6.8 fail to install on Windows.

Action version:
v4

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

  • 3.6.15
  • 3.6.14
  • 3.6.13
  • 3.6.12
  • 3.6.11
  • 3.6.10
  • 3.6.9
  • 3.6.8
  • 3.6.7
  • 3.5.10
  • 3.5.9
  • 3.5.4

Repro steps:

  1. Commit and push this workflow:

    name: Workflow that sets up Python 3.6 and 3.5
    on: { push: }
    jobs:
      setup-python-36:
        strategy:
          matrix:
            os: [ ubuntu, macos, windows ]
            python-version: [ 3.6.15, 3.6.14, 3.6.13, 3.6.12, 3.6.11, 3.6.10, 3.6.9, 3.6.8, 3.6.7, 3.5.10, 3.5.9, 3.5.4 ]
        continue-on-error: true
        runs-on: ${{ matrix.os }}-latest
        steps:
          - name: Set up Python ${{ matrix.version }}
            uses: actions/setup-python@v4
            with:
              python-version: ${{ matrix.python-version }}
  2. Check workflow run or see https://github.com/zrhoffman/setup-python-3.6/actions/runs/4942488853

Expected behavior:
Python 3.6 or 3.5 is set up

Actual behavior:
All versions fail on Ubuntu, all versions succeed on macOS, and versions except 3.5.9, 3.6.7 and 3.6.8 fail on Windows:

Python version Ubuntu macOS Windows
3.6.15 ✔️
3.6.14 ✔️
3.6.13 ✔️
3.6.12 ✔️
3.6.11 ✔️
3.6.10 ✔️
3.6.9 ✔️
3.6.8 ✔️
3.6.7 ✔️
3.5.10 ✔️ ❌️
3.5.9 ✔️ ❌️
3.5.4 ✔️ ✔️

Example failure output for Python version 3.6.15 and platform Ubuntu:

Run actions/setup-python@v4
  with:
    python-version: 3.6.15
    check-latest: false
    token: ***
    update-environment: true
    allow-prereleases: false
Installed versions
  Version 3.6.15 was not found in the local cache
  Error: The version '3.6.15' with architecture 'x64' was not found for Ubuntu 22.04.
  The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
@zrhoffman zrhoffman added bug Something isn't working needs triage labels May 11, 2023
@basnijholt
Copy link
Contributor

There is a lengthy issues about this: #544

@marko-zivic-93
Copy link
Contributor

Hello @zrhoffman ,
Thank you for creating this issue. We will take a look at it and come back to you as soon as possible 🙂

@dmitry-shibanov
Copy link
Contributor

Hello @zrhoffman. Thank you for your report. According to the message we're not planning to add support for 3.5.x and 3.6.x python versions for Ubuntu 22.04. I've tried to install python versions 3.6.7 and 3.6.8 for Windows and they work as expected. For other Windows versions it's an expected behaviour because binaries are not provided starting from python 3.6.9

@zrhoffman
Copy link
Author

According to the message we're not planning to add support for 3.5.x and 3.6.x python versions for Ubuntu 22.04.

Got it, I'll plan on using Ubuntu 20.04, since I'm still in the unfortunate situation of supporting Python 3.6.x.

I've tried to install python versions 3.6.7 and 3.6.8 for Windows and they work as expected. For other Windows versions it's an expected behaviour because binaries are not provided starting from python 3.6.9

Whoops yeah, I meant 3.5.9, 3.6.7 and 3.6.8 for Windows, which does indeed match versions-manifest.json.

Behavior matches versions-manifest.json, closing.

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