bitbake: Make 3.6.0 the minimum python version
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
@@ -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
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
@@ -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
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 testsDocument that bitbake-selftest exists and that we appreciate test cases.
Signed-off-by Richard Purdie <[email protected]>--- README | 8 ++++++++ 1 file changed, 8 insertions(+)README +4
-0@@ -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