-
Notifications
You must be signed in to change notification settings - Fork 566
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 Version 2.7 with arch x64 not found #543
Comments
I noticed, similarly I also get:
|
Also when I use |
With Python 3.7, it seems to be fine. |
This is with Ubuntu 22.04 in GitHub Actions. |
Hello @albertz. I think it's an expected behaviour because the action does not provide python 2.7 for Ubuntu 22.04. You can try to specify a previous version of Ubuntu to set up python 2.7. |
Ah, has that changed? We use |
According to https://github.com/actions/runner-images, ubuntu-latest should be Ubuntu 20.04? So why do we get Ubuntu 22.04? |
Ubuntu latest tag is changing from ubuntu-20.04 to ubuntu-22.04: actions/runner-images#6399 |
I see. Is there any plan to include Python 2.7 and Python 3.6 also for Ubuntu 22.04? |
For now we do not have any plans to include it. |
You can see this issue as a feature request then. :) |
looks like the setup action does not work correctly with the latest ubuntu runner. See actions/setup-python#543 for more information.
See actions/setup-python#543. Supported versions of GTest depends on Python 2 which went end-of-life in January 2020.
See actions/setup-python#543. Supported versions of GTest depends on Python 2 which went end-of-life in January 2020.
Hello everyone. We've added python 2.7.18 for Ubuntu 22.04. For now I'm going to close the issue. |
@dmitry-shibanov 3.6 seems to be quite commonly requested as well - it's the system Python version in several long-term support Linux distros. Can that be added too? |
Python 3.6 is not supported on ubuntu-latest, and we need to keep supporting it. See more info at actions/setup-python#543
looks like the setup action does not work correctly with the latest ubuntu runner. See actions/setup-python#543 for more information.
It seems like github actions switched to python3 because devappserver.py no longer runs, and complains with python2 not found. https://github.blog/changelog/2020-02-27-github-actions-breaking-change-python-2-being-removed-from-all-virtual-environments/ actions/setup-python#543 (comment) python2 support will not be added to ubuntu 22.04, it seems.
ubuntu-latest was switched over to ubuntu-22.04, because 3.6 is long EOLd actions/setup-python#544 opted not to build that (actions/setup-python#544 (comment)), therefore extract a sub-matrix to run 3.6 on 20.04. For now, 2.7 is still available on ubuntu-latest (actions/setup-python#543) so that should be fine yet.
ubuntu-latest was switched over to ubuntu-22.04, because 3.6 is long EOLd actions/setup-python#544 opted not to build that (actions/setup-python#544 (comment)), therefore extract a sub-matrix to run 3.6 on 20.04. For now, 2.7 is still available on ubuntu-latest (actions/setup-python#543) so that should be fine yet.
Description:
I get the error:
I get this for the first time now, and have not changed any code. It has worked since a long time before.
Action version:
v2
Platform:
Runner type:
Tools version:
Python 2.7
Repro steps:
In my GitHub workflows file, I have:
Expected behavior:
It should work, just like it has in the last year.
Actual behavior:
The error above.
The text was updated successfully, but these errors were encountered: