Re: [OE-core] bb.utils.vercmp_string_op() vs Python 3.12

2024-01-26 Thread Martin Jansa
On Fri, Jan 26, 2024 at 12:14 PM Böszörményi Zoltán wrote: > 2024. 01. 26. 11:53 keltezéssel, Martin Jansa írta: > > > I copied vercmp_string_op() and all others called by it from > bitbake/lib/bb/utils.py > > into a new python script. > > > > It's not an issue in vercmp_string_op itself, > > I

Re: [OE-core] bb.utils.vercmp_string_op() vs Python 3.12

2024-01-26 Thread Zoltan Boszormenyi
2024. 01. 26. 12:14 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta: 2024. 01. 26. 11:53 keltezéssel, Martin Jansa írta: > I copied vercmp_string_op() and all others called by it from bitbake/lib/bb/utils.py into a new python script. It's not an issue in vercmp_string_op

Re: [OE-core] bb.utils.vercmp_string_op() vs Python 3.12

2024-01-26 Thread Zoltan Boszormenyi
2024. 01. 26. 11:53 keltezéssel, Martin Jansa írta: > I copied vercmp_string_op() and all others called by it from bitbake/lib/bb/utils.py into a new python script. It's not an issue in vercmp_string_op itself, I already know this. Apparently you haven't read my mail fully for the

Re: [OE-core] bb.utils.vercmp_string_op() vs Python 3.12

2024-01-26 Thread Martin Jansa
See https://git.openembedded.org/meta-openembedded/commit/?h=kirkstone=8a042b540db5421785edcf21d5114be6358246fd On Fri, Jan 26, 2024 at 11:53 AM Martin Jansa wrote: > > I copied vercmp_string_op() and all others called by it from > bitbake/lib/bb/utils.py into a new python script. > > It's not

Re: [OE-core] bb.utils.vercmp_string_op() vs Python 3.12

2024-01-26 Thread Martin Jansa
> I copied vercmp_string_op() and all others called by it from bitbake/lib/bb/utils.py into a new python script. It's not an issue in vercmp_string_op itself, but the version value it gets from waf --version isn't just the version itself but also SyntaxWarning from waf. So you need to update waf

[OE-core] bb.utils.vercmp_string_op() vs Python 3.12

2024-01-26 Thread Zoltan Boszormenyi
Hi, Just a FYI. After the bitbake-server getting stuck after bitbake exited with Python 3.12 issue was fixed, here's another one. This time it's semi-reliably triggered by the jack recipe in meta-openembedded: ERROR: jack-1.19.22-r0 do_configure: Error executing a python function in