Python 3.6 x64 on Linux: Error: Version 3.6 with arch x64 not found
See original GitHub issueDescription: I’ve got a little project that I want to test on 3.6-3.11 on Windows, Linux, macOS. I’ve had no issues so far. Just upgraded to v4 of setup-python and now it doesn’t work.
Action version: v4
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version: 3.6
Repro steps:
https://github.com/offscale/cdd-python
Expected behavior: It should work (it used to work)
Actual behavior:
Run actions/setup-python@v4
with:
python-version: [3](https://github.com/offscale/cdd-python/actions/runs/3494131617/jobs/5857054239#step:3:3).6
architecture: x6[4](https://github.com/offscale/cdd-python/actions/runs/3494131617/jobs/5857054239#step:3:4)
check-latest: false
token: ***
update-environment: true
Version 3.[6](https://github.com/offscale/cdd-python/actions/runs/3494131617/jobs/5857054239#step: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
Issue Analytics
- State:
- Created 10 months ago
- Reactions:17
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Hynek Schlawack: "Oof, so the latest Linux image…" - Mastodon
Python 3.6 x64 on Linux: Error: Version 3.6 with arch x64 not found · Issue #544 · actions/setup-pythonGitHub.
Read more >How do you add an unstable version of Python in a GitHub ...
Run actions/setup-python@v2 with: python-version: 3.11 token: *** Version 3.11 was not found in the local cache Error: Version 3.11 with ...
Read more >platform — Access to underlying platform's identifying data ...
Queries the given executable (defaults to the Python interpreter binary) for various architecture information. Returns a tuple (bits, linkage) which contain ...
Read more >UsePythonVersion@0 - Use Python version v0 task
x86 and x64 versions of Python are available on Microsoft-hosted Windows agents, but not on Linux or macOS agents. As of version 0.150...
Read more >Options - cibuildwheel - Read the Docs
This example will build CPython 3.6 wheels on manylinux1, CPython 3.7-3.9 wheels on ... Enable building with pre-release versions of Python if available....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems to be the same issue as #543 and the github runners updating from 20.04 to 22.04. There are no tarballs for 22.04 for any python 3.6.* versions. The fix may just be to hard-code the platform version to
ubuntu-20.04
like @albertz did with https://github.com/rwth-i6/returnn/commit/38ecab17d781c4b74db6a174c8097187380b4ddcHello 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.