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://github.com/raw/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://github.com/raw/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
sundarvenkata-EBI added a commit to EBIvariation/eva-vcf-merge that referenced this issue Oct 30, 2023
cvraut added a commit to cvraut/Boruta-Shap that referenced this issue Dec 15, 2023
cvraut added a commit to cvraut/Boruta-Shap that referenced this issue Dec 16, 2023
ajfriend added a commit to uber/h3-py that referenced this issue Dec 30, 2023
* polygons_to_cells

* Helpers for cells_to_geojson and geojson_to_cells

* ValueError

* Remove gj (#316)

* Remove geojson logic from cell_to_boundary and directed_edge_to_boundary

* fix a warning about return values in tests from pytest

* Remove geo_json logic from cells_to_multi_polygon

* remove some unused tests

* add back in polygons_to_cells

* actions/setup-python@v4.5.0

* Solution copied from actions/setup-python#544

* playing around with polygons

* make a directory

* bah

* start migrating `h3.Polygon` to `H3Poly`

* migrate most

* finish migrating

* H3MultiPoly repr

* shape_to_cells and cells_to_shape

* tests: polygon_to_cells to shape_to_cells

* finish migrating tests

* update util.py and example

* notes

* bah

* fix lint

* fix

* remove X_to_shape

* run tests

* run other CIs too

* don't use f-string

* test update

* change errors per review

* remove unused per review

* fix lint

* test run

* fix exclude logic in tests

* " to ' in yaml

* move conversion logic to geo_to_cells function

* linting

* few more tests

* lint

* clean up

* complete tests

* group geojson/polygon tests into a folder

* move MockGeoInterface into the file that uses it

* move test_input_format to its own file, since it has a lot of helper functions not used elsewhere

* test module description

* rename _polygon.py to _h3shape.py

* make H3Shape an ABC

* shape -> h3shape

* geos to polys

* rename geo files to latlng

* docstrings

* __init__.py

* lint

* notebooks

* more interface tests

* notebooks

* merp

* clean up geo_to_h3shape()

* simplify sydney coords

* simplify far east test

* simplify sf coords

* tuples

* geo interface tests

* more interface tests

* clean up maine lat/lngs

* messed up lat/lng order in tests. this mistake gets made all the time!

* expand geo_to_h3shape test

* plotting with contextily and geoviews

* reprs for H3Shape objects should work better with geopandas

* different representations of the same information. which is best?

* us "loopcode" in H3Poly and H3MultiPoly reprs

* set tight=True as default

* can't use f-strings in python 3.5

* notebooks

* basic plotting

* plotting

* plotting

* tutorial notebook

* cleaning up

* clean up geoviews example

* remove geoviews example

* todos

* reworking tutorial order

* notebook dump

* cleaner

* move tutorial

* Update src/h3/api/_api_template.py

Co-authored-by: Jongbin Jung <jungjongbin86@gmail.com>

* Update src/h3/api/_api_template.py

Co-authored-by: Isaac Brodsky <isaac@isaacbrodsky.com>

* Update src/h3/api/_api_template.py

Co-authored-by: Jongbin Jung <jungjongbin86@gmail.com>

* setting loops

* bug and lint

---------

Co-authored-by: Isaac Brodsky <isaac@isaacbrodsky.com>
Co-authored-by: Jongbin Jung <jungjongbin86@gmail.com>
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 <mael.pedretti@vnv.ch>
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
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