public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Zhihang Wei <wzh@ilbers.de>
To: "MOESSBAUER, Felix" <felix.moessbauer@siemens.com>,
	"isar-users@googlegroups.com" <isar-users@googlegroups.com>,
	"Kiszka, Jan" <jan.kiszka@siemens.com>
Subject: Re: [PATCH 3/3] bitbake: Update to 2.8.1 release
Date: Fri, 6 Mar 2026 16:55:09 +0100	[thread overview]
Message-ID: <fc9bbabf-8c8b-4609-945b-b1ecbc87092d@ilbers.de> (raw)
In-Reply-To: <4df27ba169f02cf2f53068add47a4aed9cdf1047.camel@siemens.com>



On 3/6/26 16:51, MOESSBAUER, Felix wrote:
> On Fri, 2026-03-06 at 12:05 +0100, Jan Kiszka wrote:
>> On 06.03.26 11:25, Moessbauer, Felix (FT RPD CED OES-DE) wrote:
>>> On Fri, 2026-03-06 at 11:10 +0100, Zhihang Wei wrote:
>>>> On 3/4/26 14:31, 'Felix Moessbauer' via isar-users wrote:
>>>>> Upstream commit 1c9ec1ffde75809de34c10d3ec2b40d84d258cb4.
>>>>>
>>>>> This makes bitbake compatible with Python 3.14 and fixes a critical
>>>>> error on Debian Trixie hosts where no stacktrace was shown on a
>>>>> parser exception.
>>>>>
>>>>> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
>>>>> ---
>>> [shortening the thread]
>>>
>>>>>    
>>>>> +# Recomputing the sets in signal.py is expensive (bitbake -pP idle)
>>>>> +# so try and use _signal directly to avoid it
>>>>> +valid_signals = signal.valid_signals()
>>>> Hi,
>>>>
>>>> I tested this patch set on CI with the patch "bitbake: Downgrade python
>>>> requirements" re-applied.
>>>>
>>>> However, errors still occur. The function "valid_signals()" here was
>>>> added to the signal module in Python 3.8, but Buster only has 3.7.3. Not
>>>> sure how many other similar problems we might encounter, as the test
>>>> fails at this point. Zhihang
>>> Too bad. So either we have to drop buster support or we have to
>>> maintain our own bitbake stable branch or we must re-implement the
>>> imaging plugins to not run inside the chroot. The eLTS of buster lives
>>> until 30. Juni 2029 [1], so I also don't like the idea of dropping
>>> buster support.
>> We cannot drop it, it's part of CIP's portfolio as well.
>>
>> Let's fix the compat issue and at least contribute that to bitbake upstream
> What exactly needs to be contributed? I'm pretty sure bitbake will not
> accept patches to lessen the needed python version. The signal handling
> is not easy to implement for older and newer versions.
>
>>> However, we can't hold the fixes we need for trixie back that long. We
>>> already got complains that simple bitbake syntax errors are basically
>>> impossible to debug on trixie as the parser just crashes without any
>>> indication what went wrong. So we have to make a decision.
>>>
>>> PS: The only fix we really need is [2]. Maybe we can just cherry-pick
>>> that prior to the isar release to buy us some time.
>> Exactly: Do that now and resync with bitbake, also upstream, after the
>> release.
> @Zhihang Wei Shall I send a v2 or do you want to take over (which is
> probably faster as you can directly pass it through your CI).
>
> Just let me know.
>
> Felix
>
It's better to send a v2 to the mailing list, thanks.

Zhihang
>> Jan
>>
>> -- 
>> Siemens AG, Foundational Technologies
>> Linux Expert Center

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/fc9bbabf-8c8b-4609-945b-b1ecbc87092d%40ilbers.de.

      reply	other threads:[~2026-03-06 15:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-04 13:31 [PATCH 0/3] Update bitbake to 2.8.1 'Felix Moessbauer' via isar-users
2026-03-04 13:31 ` [PATCH 1/3] partial revert of "Bitbake: use LAYERDIR_RE when setting BBFILE_PATTERN_x" 'Felix Moessbauer' via isar-users
2026-03-04 13:31 ` [PATCH 2/3] Revert "bitbake: Downgrade python requirements" 'Felix Moessbauer' via isar-users
2026-03-04 13:31 ` [PATCH 3/3] bitbake: Update to 2.8.1 release 'Felix Moessbauer' via isar-users
2026-03-06 10:10   ` Zhihang Wei
2026-03-06 10:25     ` 'MOESSBAUER, Felix' via isar-users
2026-03-06 11:05       ` 'Jan Kiszka' via isar-users
2026-03-06 15:51         ` 'MOESSBAUER, Felix' via isar-users
2026-03-06 15:55           ` Zhihang Wei [this message]

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=fc9bbabf-8c8b-4609-945b-b1ecbc87092d@ilbers.de \
    --to=wzh@ilbers.de \
    --cc=felix.moessbauer@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.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