Skip to contentSkip to conversation

poky: remove Ubu-20.04 from SANITY_TESTED_DISTROS due to python

PATCH In review [email protected] 2 participants 2 messages Mar 21, 2025 – Mar 24, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poky: remove Ubu-20.04 from SANITY_TESTED_DISTROS due to python

From: Paul Gortmaker <[email protected]>

Bitbake commit 0d2e682d00df ("bitbake: lib/bb: Bump minimum python version requirement to 3.9" -- local commit 67566c7410e1) means that Ubuntu 20.04 is no longer supported out-of-the-box as detailed further in the respective commit log.

While it is true that it can still be used with buildtools, that can also be said for nearly every other unsupported distro out there, including Ubuntu 18.04 that we listed as unsupported some years ago. Hence continuing to list it as supported with the new python requirement in place does not make sense.

---
 meta-poky/conf/distro/poky.conf | 1 -
 1 file changed, 1 deletion(-)
meta-poky/conf/distro/poky.conf +0 -1
index eeaacd7b88fb..bcbd2c17fbaa 100644
@@ -33,7 +33,6 @@ PACKAGE_CLASSES ?= "package_rpm"
 SANITY_TESTED_DISTROS ?= " \
             poky-5.0 \n \
             poky-5.1 \n \
-            ubuntu-20.04 \n \
             ubuntu-22.04 \n \
             ubuntu-24.04 \n \
             ubuntu-24.10 \n \
Signature · 1 line
2.25.1
#1 lore raw
Quoted 23 lines · Paul Gortmaker via lists.yoctoproject.org

From: Paul Gortmaker <[email protected]>

Bitbake commit 0d2e682d00df ("bitbake: lib/bb: Bump minimum python version requirement to 3.9" -- local commit 67566c7410e1) means that Ubuntu 20.04 is no longer supported out-of-the-box as detailed further in the respective commit log.

While it is true that it can still be used with buildtools, that can also be said for nearly every other unsupported distro out there, including Ubuntu 18.04 that we listed as unsupported some years ago. Hence continuing to list it as supported with the new python requirement in place does not make sense.

---
 meta-poky/conf/distro/poky.conf | 1 -

 1 file changed, 1 deletion(-)
meta-poky/conf/distro/poky.conf +0 -0
index eeaacd7b88fb..bcbd2c17fbaa 100644

meta-poky/conf/distro/poky.conf PACKAGE_CLASSES ?= "package_rpm" · line 38

Quoted 7 lines
meta-poky/conf/distro/poky.conf +0 -1
@@ -33,7 +33,6 @@ PACKAGE_CLASSES ?= "package_rpm"
  SANITY_TESTED_DISTROS ?= " \
              poky-5.0 \n \
              poky-5.1 \n \
-            ubuntu-20.04 \n \
              ubuntu-22.04 \n \
              ubuntu-24.04 \n \
              ubuntu-24.10 \n \

Thanks for the patch.

Whilst we're close to doing it, we need to hold this until we actually drop the 20.04 workers from the autobuilder otherwise we'll start seeing various warnings in builds.

Cheers,

Richard