Pin build-pypi-wheel runner image to ubuntu-20.04 #188
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As of Nov 9th, Github is experimenting with transitioning
ubuntu-latest
label to the Ubuntu 22.04 runner image. "During the transition, the label might refer to the runner image for either Ubuntu 20.04 or 22.04." which means if we get lucky, ourbuild_pypi
action will run onubuntu-22.04
-enabled runner and that will definitely failpython3.6
sub-job since it is not prebuilt by GitHub therefore not available with Github actionsetup-python
for the new ubuntu 22.04.More information: https://github.blog/changelog/2022-11-09-github-actions-ubuntu-latest-workflows-will-use-ubuntu-22-04/
Ubuntu-18.04 is marked as deprecated and will be moved out of Github runner in the future, see https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources. Moreover, the Python version is also slowly migrating towards 3.10 and deprecating 3.6, which PECOS future supported versions might be aware of and we will hold a discussion and PR to upgrade in the future.
Issue #, if available:
N/A
Description of changes:
Changed
build-pypi
action to run onubuntu-20.04
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.