Skip to contentSkip to conversation

bitbake: Bump minimum version requirement to 3.8

PATCH In review Richard Purdie 3 participants 3 messages Dec 11, 2022 – Dec 12, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake: Bump minimum version requirement to 3.8

Most of our older distros with python older than 3.8 already need buildtools tarballs apart from Ubuntu 18.04. 3.8 allows us to fix a few things, tidy code in places and is widely available or can be obtained with buildtools. Therefore update our minimum version to 3.8.

---
 lib/bb/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/bb/__init__.py +2 -2
index 99cb5a0101..4e90964173 100644
@@ -12,8 +12,8 @@
 __version__ = "2.2.0"
 
 import sys
-if sys.version_info < (3, 6, 0):
-    raise RuntimeError("Sorry, python 3.6.0 or later is required for this version of bitbake")
+if sys.version_info < (3, 8, 0):
+    raise RuntimeError("Sorry, python 3.8.0 or later is required for this version of bitbake")
 
 
 class BBHandledException(Exception):
Signature · 1 line
2.37.2
#2 lore raw

Re: [bitbake-devel] [PATCH] bitbake: Bump minimum version requirement to 3.8mi320021

Hi Richard,

Cc'ing Michael on this since we'll need a doc update (yocto-docs/documentation/poky.yaml.in) once this gets merged.

Cheers,
Quentin

Quoted 20 lines · Peter Kjellerstedt
Quoted 5 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Richard Purdie
Sent: den 11 december 2022 18:34
To: [email protected]
Subject: [bitbake-devel] [PATCH] bitbake: Bump minimum version requirement to 3.8

Change "version" to "Python version".

//Peter

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14176): https://urldefense.com/v3/__https://lists.openembedded.org/g/bitbake-devel/message/14176__;!!OOPJP91ZZw!hMYvyGt6WMGQXlkYLe3EHIgvHzuuiuzQOCISmXP8VB_dAzvg3ewL0sK9vYnoCk04q7JPacI855Y7ERTm_KbQO2ELLtq-8fBxnVOJBbIh$
Mute This Topic: https://urldefense.com/v3/__https://lists.openembedded.org/mt/95603808/6293953__;!!OOPJP91ZZw!hMYvyGt6WMGQXlkYLe3EHIgvHzuuiuzQOCISmXP8VB_dAzvg3ewL0sK9vYnoCk04q7JPacI855Y7ERTm_KbQO2ELLtq-8fBxnai1SxZF$
Group Owner: [email protected]
Unsubscribe: https://urldefense.com/v3/__https://lists.openembedded.org/g/bitbake-devel/unsub__;!!OOPJP91ZZw!hMYvyGt6WMGQXlkYLe3EHIgvHzuuiuzQOCISmXP8VB_dAzvg3ewL0sK9vYnoCk04q7JPacI855Y7ERTm_KbQO2ELLtq-8fBxnU7p1QLI$ [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-