bitbake-devel.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bitbake: Make 3.6.0 the minimum python version
@ 2021-08-22 21:29 Richard Purdie
  2021-08-22 21:29 ` [PATCH] README: Add note about test suite and new tests Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2021-08-22 21:29 UTC (permalink / raw)
  To: bitbake-devel

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

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bb/__init__.py b/lib/bb/__init__.py
index c1e30697b3..5c248d3655 100644
--- a/lib/bb/__init__.py
+++ b/lib/bb/__init__.py
@@ -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):
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] README: Add note about test suite and new tests
  2021-08-22 21:29 [PATCH] bitbake: Make 3.6.0 the minimum python version Richard Purdie
@ 2021-08-22 21:29 ` Richard Purdie
  2021-08-23 13:45   ` [bitbake-devel] " Peter Kjellerstedt
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2021-08-22 21:29 UTC (permalink / raw)
  To: bitbake-devel

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

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 README | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/README b/README
index 64206de8a8..b9b3762972 100644
--- a/README
+++ b/README
@@ -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.
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [bitbake-devel] [PATCH] README: Add note about test suite and new tests
  2021-08-22 21:29 ` [PATCH] README: Add note about test suite and new tests Richard Purdie
@ 2021-08-23 13:45   ` Peter Kjellerstedt
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Kjellerstedt @ 2021-08-23 13:45 UTC (permalink / raw)
  To: Richard Purdie, bitbake-devel



> -----Original Message-----
> From: bitbake-devel@lists.openembedded.org <bitbake-
> devel@lists.openembedded.org> On Behalf Of Richard Purdie
> Sent: den 22 augusti 2021 23:29
> To: bitbake-devel@lists.openembedded.org
> Subject: [bitbake-devel] [PATCH] README: Add note about test suite and new
> tests
> 
> Document that bitbake-selftest exists and that we appreciate test cases.
> 
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
>  README | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/README b/README
> index 64206de8a8..b9b3762972 100644
> --- a/README
> +++ b/README
> @@ -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

Change "becore" to "before".

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

//Peter

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] bitbake: Make 3.6.0 the minimum python version
@ 2021-08-17 16:14 Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2021-08-17 16:14 UTC (permalink / raw)
  To: bitbake-devel

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

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bb/__init__.py b/lib/bb/__init__.py
index c1e30697b3..5c248d3655 100644
--- a/lib/bb/__init__.py
+++ b/lib/bb/__init__.py
@@ -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):
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-23 13:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-22 21:29 [PATCH] bitbake: Make 3.6.0 the minimum python version Richard Purdie
2021-08-22 21:29 ` [PATCH] README: Add note about test suite and new tests Richard Purdie
2021-08-23 13:45   ` [bitbake-devel] " Peter Kjellerstedt
  -- strict thread matches above, loose matches on Subject: below --
2021-08-17 16:14 [PATCH] bitbake: Make 3.6.0 the minimum python version Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).