Re: [OE-core] [PATCH 2/3] python3-setuptools: upgrade 59.5.0 -> 62.1.0

Luca Ceresoli
2022-05-06T14:52:09Z

Hi Alex,

Il giorno Fri, 6 May 2022 08:41:54 +0200
"Alexander Kanavin" <alex.kanavin@gmail.com> ha scritto:

> From: Alexander Kanavin <alex.kanavin@gmail.com>
>
> This was held by numpy rejecting setuptools >= 60.x,
> however they added a workaround in recent point releases
> and so the upgrade can proceed.
>
> Drop 0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch
> as changed code completely removed upstream.
>
> Add a tomli build dependency to python3-setuptools-scm as new
> setuptools exposes:
>
> | File
> "/srv/work/alex/poky/build-64-alt/tmp/work/x86_64-linux/python3-setuptools-scm-native/6.4.2-r0/setuptools_scm-6.4.2/src/setuptools_scm/config.py",
> line 59, in _lazy_tomli_load | from tomli import loads |
> ModuleNotFoundError: No module named 'tomli'
>
> Signed-off-by: Alexander Kanavin <alex@linutronix.de>

This patch causes many AB failures like this:

| error: #error "LONG_BIT definition appears wrong for platform (bad
gcc/glibc config?)

and this:

| checking for Python.h... no
| configure: error: python version 3 probe support requested but not
found

Some logs:

https://autobuilder.yoctoproject.org/typhoon/#/builders/61/builds/5159/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/128/builds/45/steps/20/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/5204/steps/15/logs/stdio

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering