]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
python3: Fix failing sysconfig.py test on x86(64 bit) using lib64 as baselib by updat...
authorWentao Zhang <wentao.zhang@windriver.com>
Mon, 27 Mar 2023 09:31:45 +0000 (17:31 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Apr 2023 10:39:48 +0000 (11:39 +0100)
commit755321362e994a6a37a0f554b1aea56823de924e
treed917e4d85416db661767d28b600765dc54df7513
parent644cfe9dcf351bfa6c67f4b4d1e7dec416a59021
python3: Fix failing sysconfig.py test on x86(64 bit) using lib64 as baselib by updating test_sysconfig for posix_user purelib

Steps to trigger the failed test:
Edit local.conf to add something as follows:
    BASELIB = "lib64"
    IMAGE_INSTALL:append = " python3-tests".
bitbake core-image-sato
runqemu qemux86-64 nographic slirp
Reproducer:
    $python3 -m test test_sysconfig

sysconfig.py use platlibdir for purelib. Update
test_sysconfig.test_user_similar() for the posix_user
scheme: "purelib" doesn't use sys.platlibdir.

Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3_3.11.2.bb