Skip to contentSkip to conversation

bitbake: Make 3.6.0 the minimum python version

PATCH New Richard Purdie 1 participant 1 message Aug 17, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake: Make 3.6.0 the minimum python version

OE-Core did this a while ago, it is simpler if bitbake matches.

---
 lib/bb/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/bb/__init__.py +2 -2
index c1e30697b3..5c248d3655 100644
@@ -12,8 +12,8 @@
 __version__ = "1.51.1"
 
 import sys
-if sys.version_info < (3, 5, 0):
-    raise RuntimeError("Sorry, python 3.5.0 or later is required for this version of bitbake")
+if sys.version_info < (3, 6, 0):
+    raise RuntimeError("Sorry, python 3.6.0 or later is required for this version of bitbake")
 
 
 class BBHandledException(Exception):
Signature · 1 line
2.30.2