You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python 3.6 x64 on Linux: Error: Version 3.6 with arch x64 not found #544
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.
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
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
Reacted by Hugo van Kemenade, MRichards99, Donal Fellows, Jim Garrison, Mark OShea, fenglidaidao, Leonardo Piñeyro, Hadrien Bossard and Bridges-foundation
@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 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 =(
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
Reacted by Deepjyoti Mondal, Diego Hernandez, lixiaoguang01, Emmanuel M. Smith🔸 and osfanbuff63
Activity
KonstantinKlepikov commentedon Nov 18, 2022
this affects all versions 3.6.* on ubuntu
marko-zivic-93 commentedon Nov 18, 2022
Hello @SamuelMarks
We will investigate the issue and come back to you as soon as we have some news for you :)
ReeceASharp commentedon Nov 18, 2022
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.04like @albertz did with rwth-i6/returnn@38ecab1tests: bump py3.7, py3.11
Temporarily pin to ubuntu-20.04 to workaround actions/setup-python#544
housekeeping: pin ubuntu to 20.04 for python 3.6
Deprecate Python 3.6
dvershinin commentedon Nov 23, 2022
@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.
SamuelMarks commentedon Nov 23, 2022
@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 commentedon Nov 23, 2022
We're seeing the same issue but with Python 3.9.5
241 remaining items
Pin the ubuntu image the GHA runs on due to missing tarballs
hardcode os, bug actions/setup-python#544
Update python-package-testing.yml to fix failing tests
CI: pin Ubuntu version to fix Python 3.6
Fix Python CI (whonore#314)
Tweak Python versions in CI (#90)
[.github/workflows/main.yml] Python 3.6 workaround (supports Linux on…
Pin the ubuntu image the GHA runs on due to missing tarballs
temporarily set GHA runner to ubuntu 20.04 actions/setup-python#544
Merge pull request #869 from tfranzel/gha_fix
Update install.yaml
Update pytest.yaml
Update CI to use Python 3.7.
Affixes ubuntu version and increases python version
Hardcoding ubuntu version in pyling.yml