Skip to contentSkip to conversation

bitbake: Make 3.6.0 the minimum python version

PATCH New Richard Purdie 2 participants 3 messages Aug 22, 2021 – Aug 23, 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
#1 lore raw

PATCH 1/1 README: Add note about test suite and new tests

Document that bitbake-selftest exists and that we appreciate test cases.

---
 README | 8 ++++++++
 1 file changed, 8 insertions(+)
README +8 -0
index 64206de8a8..b9b3762972 100644
@@ -38,3 +38,11 @@ Mailing list:
 Source code:
 
     http://git.openembedded.org/bitbake/
+
+Testing:
+
+Bitbake has a testsuite located in lib/bb/tests/ whichs aim to try and prevent regressions.
+You can run this with "bitbake-selftest". In particular the fetcher is well covered since
+it has so many corner cases. The datastore has many tests too. Testing with the testsuite is
+recommended becore submitting patches, particularly to the fetcher and datastore. We also
+appreciate new test cases and may require them for more obscure issues.
Signature · 1 line
2.32.0
#2 lore raw

Re: [bitbake-devel] [PATCH] README: Add note about test suite and new tests

Quoted 29 lines

-----Original Message-----
From: [email protected] <bitbake- [email protected]> On Behalf Of Richard Purdie
Sent: den 22 augusti 2021 23:29
To: [email protected]
Subject: [bitbake-devel] [PATCH] README: Add note about test suite and new tests

Document that bitbake-selftest exists and that we appreciate test cases.

---
 README | 8 ++++++++
 1 file changed, 8 insertions(+)
README +4 -0
index 64206de8a8..b9b3762972 100644
@@ -38,3 +38,11 @@ Mailing list:
 Source code:
 
     http://git.openembedded.org/bitbake/
+
+Testing:
+
+Bitbake has a testsuite located in lib/bb/tests/ whichs aim to try and
Quoted 6 lines

prevent regressions.
+You can run this with "bitbake-selftest". In particular the fetcher is well covered since
+it has so many corner cases. The datastore has many tests too. Testing with the testsuite is
+recommended becore submitting patches, particularly to the fetcher and

Change "becore" to "before".

Quoted 4 lines

datastore. We also
+appreciate new test cases and may require them for more obscure issues. --
2.32.0

//Peter