From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH v3 5/6] bitbake: Downgrade python requirements
Date: Fri, 3 May 2024 18:05:03 +0300 [thread overview]
Message-ID: <20240503150504.479387-6-amikan@ilbers.de> (raw)
In-Reply-To: <20240503150504.479387-1-amikan@ilbers.de>
Bitbake 2.8 requires Python 3.8.0 as minimal version, but Debian Buster
has only 2.7.3. To keep compatibility downgrade minimal version in
Bitbake check code.
This fix should be reverted after deprecation of Debian Buster.
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
bitbake/lib/bb/__init__.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py
index eef45fe4..7d9bc147 100644
--- a/bitbake/lib/bb/__init__.py
+++ b/bitbake/lib/bb/__init__.py
@@ -12,8 +12,9 @@
__version__ = "2.8.0"
import sys
-if sys.version_info < (3, 8, 0):
- raise RuntimeError("Sorry, python 3.8.0 or later is required for this version of bitbake")
+# It was 3.8.0 originally but set to 3.7.3 for Debian Buster
+if sys.version_info < (3, 7, 3):
+ raise RuntimeError("Sorry, python 3.7.3 or later is required for this version of bitbake")
if sys.version_info < (3, 10, 0):
# With python 3.8 and 3.9, we see errors of "libgcc_s.so.1 must be installed for pthread_cancel to work"
--
2.34.1
next prev parent reply other threads:[~2024-05-03 15:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-03 15:04 [PATCH v3 0/6] Update to Bitbake 2.8 Anton Mikanovich
2024-05-03 15:04 ` [PATCH v3 1/6] meta: Move kbuildtarget.bbclass Anton Mikanovich
2024-05-03 15:05 ` [PATCH v3 2/6] meta: Fix network flag setting Anton Mikanovich
2024-05-03 15:05 ` [PATCH v3 3/6] Revert "bitbake: backport fetch2/aws: forward env-vars used in gitlab-ci K8s" Anton Mikanovich
2024-05-03 15:05 ` [PATCH v3 4/6] bitbake: Update to 2.8 release Anton Mikanovich
2024-05-03 15:05 ` Anton Mikanovich [this message]
2024-05-03 15:05 ` [PATCH v3 6/6] testsuite: Fix task name index in order file Anton Mikanovich
2024-05-17 11:20 ` [PATCH v3 0/6] Update to Bitbake 2.8 Anton Mikanovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240503150504.479387-6-amikan@ilbers.de \
--to=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox