-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Ubuntu-latest workflows will use Ubuntu-20.04 #1816
Comments
Why is this being output as a warning? If a user relies on behavior from a specific version, they should be pinning it. |
Hi @jhpratt , |
We already have this link - /usr/bin/python -> python3
|
Hi thank you for such a prompt reply but the following is what I am getting after deploying ubuntu-latest. After each deploy we are running the syslink command manually to have python
|
You should use the
https://github.visualstudio.com/virtual-environments/_build/results?buildId=123034&view=logs&j=011e1ec8-6569-5e69-4f06-baf193d1351e&t=5431112d-2b61-5a5f-7042-ef698f761043 (line 2908 - azure-arm: Install python-is-python3) |
@al-cheb, thanks you again for the prompt reply and shared links. I want to mention that we are not using Azure DevOps but Github actions. The folloiwng is my workflow code, pretty standard except I added python-is-python3 and update-alternatives to install syslink
Even though the deployment is done successfully I am not having python available in /usr/bin |
@al-cheb I just checked, I have package |
@WiredEntrepreneur a few notes:
You can use python and python3 directly after using the jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: 'Check Python'
shell: bash
run: |
python --version
python3 --version |
Ubuntu 20.04 will soon become the default runner for GA. See: actions/runner-images#1816 This PR tests if this is working fine. GitOrigin-RevId: c38dadb526f7104df7a1a6feda72ce1b65557bd9
Ubuntu 20.04 will soon become the default runner for GA. See: actions/runner-images#1816 This PR tests if this is working fine. GitOrigin-RevId: c38dadb526f7104df7a1a6feda72ce1b65557bd9
Ubuntu 20.04 will soon become the default runner for GA. See: actions/runner-images#1816 This PR tests if this is working fine. GitOrigin-RevId: c38dadb526f7104df7a1a6feda72ce1b65557bd9
Ubuntu 20.04 will soon become the default runner for GA. See: actions/runner-images#1816 This PR tests if this is working fine. GitOrigin-RevId: c38dadb526f7104df7a1a6feda72ce1b65557bd9
Ubuntu 20.04 will soon become the default runner for GA. See: actions/runner-images#1816 This PR tests if this is working fine. GitOrigin-RevId: c38dadb526f7104df7a1a6feda72ce1b65557bd9
Ubuntu 20.04 will soon become the default runner for GA. See: actions/runner-images#1816 This PR tests if this is working fine. GitOrigin-RevId: c38dadb526f7104df7a1a6feda72ce1b65557bd9
* gha: be more specific which OS to use Avoids "surprises" when Github changes the underlying version, like they currently announce with a warning: > Ubuntu-latest workflows will use Ubuntu-20.04 soon. For more details, see actions/runner-images#1816 Note: basically right now "latest" is actually 18.04 and not 20.04 * composer fix-style * gha: require league/flysystem:^1 for lumen 2.* doesn't work out of the box * gha: explicit version of composer isn't necessary anymore v2 is already the default * Be explicit to require the pdo SQLite extension for tests Co-authored-by: laravel-ide-helper <laravel-ide-helper@users.noreply.github.com>
* gha: be more specific which OS to use Avoids "surprises" when Github changes the underlying version, like they currently announce with a warning: > Ubuntu-latest workflows will use Ubuntu-20.04 soon. For more details, see actions/runner-images#1816 Note: basically right now "latest" is actually 18.04 and not 20.04 * composer fix-style * gha: require league/flysystem:^1 for lumen 2.* doesn't work out of the box * gha: explicit version of composer isn't necessary anymore v2 is already the default * Be explicit to require the pdo SQLite extension for tests Co-authored-by: laravel-ide-helper <laravel-ide-helper@users.noreply.github.com>
Ubuntu 20.04 will soon become the default runner for GA. See: actions/runner-images#1816 This PR tests if this is working fine. GitOrigin-RevId: c38dadb526f7104df7a1a6feda72ce1b65557bd9
* gha: be more specific which OS to use Avoids "surprises" when Github changes the underlying version, like they currently announce with a warning: > Ubuntu-latest workflows will use Ubuntu-20.04 soon. For more details, see actions/runner-images#1816 Note: basically right now "latest" is actually 18.04 and not 20.04 * composer fix-style * gha: require league/flysystem:^1 for lumen 2.* doesn't work out of the box * gha: explicit version of composer isn't necessary anymore v2 is already the default * Be explicit to require the pdo SQLite extension for tests Co-authored-by: laravel-ide-helper <laravel-ide-helper@users.noreply.github.com>
Ubuntu 20.04 will soon become the default runner for GA. See: actions/runner-images#1816 This PR tests if this is working fine. GitOrigin-RevId: c38dadb526f7104df7a1a6feda72ce1b65557bd9
Ubuntu 20.04 will soon become the default runner for GA. See: actions/runner-images#1816 This PR tests if this is working fine. GitOrigin-RevId: c38dadb526f7104df7a1a6feda72ce1b65557bd9
When migrating to Ubuntu 20.04, Ruby 2.4 is no longer available, and this migration is coming soon, according to actions/runner-images#1816. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
* gha: be more specific which OS to use Avoids "surprises" when Github changes the underlying version, like they currently announce with a warning: > Ubuntu-latest workflows will use Ubuntu-20.04 soon. For more details, see actions/runner-images#1816 Note: basically right now "latest" is actually 18.04 and not 20.04 * composer fix-style * gha: require league/flysystem:^1 for lumen 2.* doesn't work out of the box * gha: explicit version of composer isn't necessary anymore v2 is already the default * Be explicit to require the pdo SQLite extension for tests Co-authored-by: laravel-ide-helper <laravel-ide-helper@users.noreply.github.com>
In the coming weeks, ubuntu-latest will start pointing to ubuntu-20.04 instead of ubuntu-18.04. Let's prevent potential failures by specifying directly ubuntu-18.04 for now and consiously upgrading to ubuntu-20.04 when we're ready - possibly after dropping PHP 7.3 compatibility, since setting it up on the newer version of Ubuntu takes a lot more time. Ref: actions/runner-images#1816
This PR was merged into the 1.8 branch. Discussion ---------- In the coming weeks, ubuntu-latest will start pointing to ubuntu-20.04 instead of ubuntu-18.04. Let's prevent potential failures by specifying directly ubuntu-18.04 for now and consiously upgrading to ubuntu-20.04 when we're ready - possibly after dropping PHP 7.3 compatibility, since setting it up on the newer version of Ubuntu takes a lot more time. Ref: actions/runner-images#1816 Commits ------- 76490228d43179b6dcf108d92a0a4525912339a2 [CI] Switch from ubuntu-latest to ubuntu-18.04
Ubuntu 20.04 will soon become the default runner for GA. See: actions/runner-images#1816 This PR tests if this is working fine. GitOrigin-RevId: c38dadb526f7104df7a1a6feda72ce1b65557bd9
Ubuntu 20.04 will soon become the default runner for GA. See: actions/runner-images#1816 This PR tests if this is working fine. GitOrigin-RevId: c38dadb526f7104df7a1a6feda72ce1b65557bd9
Ubuntu 20.04 will soon become the default runner for GA. See: actions/runner-images#1816 This PR tests if this is working fine. GitOrigin-RevId: c38dadb526f7104df7a1a6feda72ce1b65557bd9
Ubuntu 20.04 will soon become the default runner for GA. See: actions/runner-images#1816 This PR tests if this is working fine. GitOrigin-RevId: c38dadb526f7104df7a1a6feda72ce1b65557bd9
UPDATE: Migration has been finished and all
ubuntu-latest
builds are using Ubuntu 20.04Ubuntu-20.04 is ready to be the default version for the “ubuntu-latest” label in GitHub Actions and Azure DevOps. This change will be rolled out over a period of several weeks beginning on November, 30. (December, 22 - January, 4 will be a migration break due to holidays)
If you see any issues with your workflows during this transition period:
Note that image software between Ubuntu-18.04 and Ubuntu-20.04 differs not only by the pre-installed versions of tools, but also by the default versions of some tools. See the list of missing and changes software below.
Software differences
8(default)
11
12
11(default)
2.5
2.6
2.7
2.6
2.7
7.2
7.3
7.4
8.0
8.0
8
9 (default)
9
10(default)
Missing software
Known issues:
libcurl3
missing in the repo, replaced withlibcurl4
Python2
is absent on Ubuntu 20, but required for some packages to install. Can be installed viaapt-get install python-is-python2
or via toolcachecurl https://bootstrap.pypa.io/get-pip.py --output get-pip.py, python2 get-pip.py
)ppa:ansible/ansible
isn't updated yetDeprecated:
Haskell: https://launchpad.net/~hvr/+archive/ubuntu/ghc-eol
.Net Core
2.2 — EOL December 23, 2019:
3.0 — EOL March 3, 2020:
Azure PowerShell
Each major Go release is supported until there are two newer major releases. For example, Go 1.5 was supported until the Go 1.7 release, and Go 1.6 was supported until the Go 1.8 release. We fix critical problems, including critical security problems, in supported releases as needed by issuing minor revisions
GOLang
Java:
PHP
Android:
The text was updated successfully, but these errors were encountered: