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

Python 3.6 x64 on Linux: Error: Version 3.6 with arch x64 not found #544

Closed
2 of 5 tasks
SamuelMarks opened this issue Nov 18, 2022 · 12 comments
Closed
2 of 5 tasks
Assignees
Labels
bug Something isn't working

Comments

@SamuelMarks
Copy link

Description:
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
@SamuelMarks SamuelMarks added bug Something isn't working needs triage labels Nov 18, 2022
@KonstantinKlepikov
Copy link

this affects all versions 3.6.* on ubuntu

@marko-zivic-93
Copy link
Contributor

Hello @SamuelMarks
We will investigate the issue and come back to you as soon as we have some news for you :)

@ReeceASharp
Copy link

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 rwth-i6/returnn@38ecab1

casperdcl added a commit to iterative/shtab that referenced this issue Nov 18, 2022
hugovk added a commit to hugovk/Products.ZopeTree that referenced this issue Nov 20, 2022
erikwrede added a commit to graphql-python/graphene that referenced this issue Nov 21, 2022
Ubuntu:latest doesn't include py36 anymore. Keep this until we add 3.11 and drop 3.6.
See:
actions/setup-python#544
rwth-i6/returnn#1226
mgmacias95 added a commit to VirusTotal/vt-py that referenced this issue Nov 22, 2022
Based on actions/setup-python#544, python 3.6 is no longer supported on ubuntu-latest
@dvershinin
Copy link

@SamuelMarks I think this is prematurely closed via a commit message. Can you reopen this? Hardcoding the Ubuntu version is not the best fix. There are many repos out there that would have to do the same thing, so it's best to be fixed in action.

dvershinin added a commit to dvershinin/fedflare that referenced this issue Nov 23, 2022
@SamuelMarks SamuelMarks reopened this Nov 23, 2022
@SamuelMarks
Copy link
Author

@dvershinin Ah yes it was the commit message that did it. This issue should remain open. Depressing to see people link to this issue as a reason to drop support for Python 3.6 =(

…and great to see you guys working on a fix

@levrik
Copy link

levrik commented Nov 23, 2022

We're seeing the same issue but with Python 3.9.5

Version 3.9.5 was not found in the local cache
Error: Version 3.9.5 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

tfranzel added a commit to tfranzel/drf-spectacular that referenced this issue Nov 23, 2022
tfranzel added a commit to tfranzel/drf-spectacular that referenced this issue Nov 23, 2022
tfranzel added a commit to tfranzel/drf-spectacular that referenced this issue Nov 23, 2022
temporarily set GHA runner to ubuntu 20.04 actions/setup-python#544
lumip added a commit to DPBayes/jax-chacha-prng that referenced this issue Nov 23, 2022
otherwise tests for python 3.6 are currently failing, cf. actions/setup-python#544
@lumip
Copy link

lumip commented Nov 23, 2022

I'm having the same problem for python 3.6 on a github action running on ubuntu-latest. The issue seems to simply be that there is no available build of Python 3.6 for ubuntu-22.04 (yet) from python-versions - as evident from the versions manifest.

I assume this is simply due to the fact that there has been no minor release of Python 3.6 after ubuntu 22.04 was released, so a build for that system was simply never triggered.

Now, if we could get someone to somehow cause a build for 3.6 for 22.04 to happen, that'd be great. I have, however, no idea at whom to address this request, as the python-versions repository has no possibility to open any issues. Maybe maintainers here can do something about that?

@levrik from the same version manifest linked above, it seems that Python 3.9 should work from 3.9.12 on but no earlier.

EDIT: just saw that ReeceASharp had already essentially pointed this out, so sorry for the spam. In that case however, I'd like to ask for an update on when to expect a fix ?

lumip added a commit to DPBayes/jax-chacha-prng that referenced this issue Nov 23, 2022
otherwise tests for python 3.6 are currently failing, cf. actions/setup-python#544
robertmithell324 added a commit to robertmithell324/Django-SMS that referenced this issue Jan 18, 2024
Forced ubuntu version to 20.04 as python3.6 cannot be installed on
ubuntu22.x based on suggestion from actions/setup-python#544 (comment)

Co-authored-by: Mael Pedretti <[email protected]>
robert-lieck added a commit to DCMLab/corpusinterface that referenced this issue Feb 20, 2024
- 3.6 should still work but is causing problems with GitHub actions: actions/setup-python#544
PeterFam pushed a commit to PeterFam/ProblemSolving that referenced this issue Feb 26, 2024
jamesgilmorelyst pushed a commit to jamesgilmorelyst/django-jazzmin that referenced this issue Mar 21, 2024
Known issue of the `action/setup-python` action [0]. Workaround is
to pin the ubuntu image to a known working version [1]. This is
consistent with pinning most other packages anyway so don't think
this is much of an issue.

[0] actions/setup-python#544
[1] actions/setup-python#544 (comment)
makarovNick pushed a commit to makarovNick/hse-cv-project that referenced this issue Apr 1, 2024
anqiuy added a commit to anqiuy/django-elasticsearch-metrics that referenced this issue May 10, 2024
Change the matrix since Python 3.6 is not available on ubuntu-22.04

actions/setup-python#544 (comment)
RaameshB added a commit to RaameshB/EchoTorch that referenced this issue Jun 7, 2024
There is seemingly a bug with python 3.6 versions (actions/setup-python#544)
bfontaine added a commit to swaroopch/edn_format that referenced this issue Jun 24, 2024
Rixxc pushed a commit to Rixxc/Coqtail that referenced this issue Jul 2, 2024
swaroopch pushed a commit to swaroopch/edn_format that referenced this issue Jul 5, 2024
* CI: test on 3.11 and 3.12 as well

* CI: pin Ubuntu version to fix Python 3.6

See actions/setup-python#544

* CI: remove 2.7 support to fix build

See actions/setup-python#672

* Bump actions/setup-python to v5
SamuelMarks added a commit to offscale/cdd-python that referenced this issue Sep 4, 2024
ftcin664 pushed a commit to ftcin664/django-jazzmin-project that referenced this issue Sep 5, 2024
Known issue of the `action/setup-python` action [0]. Workaround is
to pin the ubuntu image to a known working version [1]. This is
consistent with pinning most other packages anyway so don't think
this is much of an issue.

[0] actions/setup-python#544
[1] actions/setup-python#544 (comment)
Dark-217 added a commit to Dark-217/drf-spectacular that referenced this issue Oct 7, 2024
Dark-217 added a commit to Dark-217/drf-spectacular that referenced this issue Oct 7, 2024
biosafetylvl5 added a commit to biosafetylvl5/brassy that referenced this issue Nov 11, 2024
biosafetylvl5 added a commit to biosafetylvl5/brassy that referenced this issue Nov 11, 2024
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