question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Python 3.6 is missing from ubuntu 22.04 for arch x64

See original GitHub issue

Description:

Similar to issue #543 which addresses Python version 2.7, version 3.6 is also missing.

Run actions/setup-python@v4
  
Version 3.6 was not found in the local cache
Error: Version 3.6 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

and 3.6 is missing from the manifest.

Action version:

4

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

3.6

Repro steps:

See:

https://github.com/roundup-tracker/roundup/actions/runs/3617160920/jobs/6127223518

Expected behavior:

I expect version 3.6 to run on ubuntu 22.04

Actual behavior:

environment setup fails

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
hugovkcommented, Dec 6, 2022

3.6 is a duplicate of https://github.com/actions/setup-python/issues/544, close reason (https://github.com/actions/setup-python/issues/544#issuecomment-1332535877):

Hello everyone. Python 3.6 reached end-of-life on Dec 12, 2021. Therefore, we won’t be supporting it with new versions of our hosted runners. If you need Python 3.6, it’s still available on ubuntu-20.04. There are a couple reasons we stop supporting end-of-life versions. They no longer have maintenance support, so there’s no path forward for fixing bugs or security issues. Also, they tend to run into compat issues with dependencies on newer operating systems, which is a source of confusing bugs.

For now I’m going to close the issue.

3.9.10 is a duplicate of https://github.com/actions/setup-python/issues/553:

Python 3.9.10 is built for Ubuntu18, Ubuntu20. You can try to switch to ubuntu-20.04 tag.

1reaction
MaksimZhukovcommented, Dec 7, 2022

Hello @davidpellcb ! The ubuntu-latest tag is being migrated to Ubuntu 22.04 (see details in the related announcement). We have not built Python 3.9.10 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'
Read more comments on GitHub >

github_iconTop Results From Across the Web

Hynek Schlawack: "Oof, so the latest Linux image…" - Mastodon
Oof, so the latest Linux image on GitHub Actions (ubuntu-22.04) has no #Python 3.6? That eases some decisions…
Read more >
How to install python3.6 on Ubuntu 22.04 - Stack Overflow
I need to install this specific python version, to prepare a developer environment, because I'm maintaining a system with multiple libraries ...
Read more >
How to silence or fix snap docker-compose ... - Ask Ubuntu
The command docker-compose is the old, deprecated version of Docker Compose. Instead, try and run docker compose version .
Read more >
How to change from default to alternative Python version on ...
In this tutorial, we cover the step by step instructions to change the Python version in use on Debian Linux.
Read more >
InstallingGR - GNU Radio Wiki
Ubuntu 22.04. sudo apt-get install gnuradio. v3.10.1. Ubuntu 20.04. sudo add-apt-repository ppa:gnuradio/gnuradio-releases; sudo apt-get update ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found