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
Default Python will be switched to 3.8 on Ubuntu 20.04 on October, 6 #1591
Comments
@maxim-lobanov Does this also follow for Ubuntu embedded in Windows 10 or does Microsoft follow a separate path for that? |
@rahulsaini , This change will only affect image that you can choose by setting
What Ubuntu version do you mean? Ubuntu that can be downloaded from store for WSL? |
yes, for WSL. |
@rahulsaini , We don't own those images so this change won't affect them. |
Hi there, when will the new image with Python 3.8 go live? |
@bladeoner , 3.8 is already in image for a long time: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md#python |
How can I point to that image? I'm using the following in my YML file: jobs: Or do I need to define container: ? |
@bladeoner No containers are needed. You should follow official documentation and examples: https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-python#using-a-specific-python-version |
@maxim-lobanov Thank you for your quick response and information I will dive into that. |
Hello everyone!
Currently, Python 2.7 is set by default on Ubuntu 20.04. Python 2 was sunsetted on Jan 1 2020 and this version is not supported anymore.
Clean Ubuntu 20.04 LTS has Python 3 as default so we would like to follow the same approach.
If you still need to use Python 2.x on Ubuntu 20.04, you will be able to switch Python to 2.7 using actions/setup-python and UsePython tasks.
We are planning to deploy the new image with Python 3 as default on October, 6.
Regards,
Maxim
The text was updated successfully, but these errors were encountered: