mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
Drop upstreamed patch and refresh remaining patches. Release information: * https://www.python.org/downloads/release/python-3138/ * 3.13.8 is the eighth maintenance release of 3.13, containing around 200 bugfixes, build improvements and documentation changes since 3.13.7. * https://www.python.org/downloads/release/python-3139/ * This Python 3.13.9, a maintenance release for Python 3.13. * 3.13.9 is an expedited release containing a fix for one specific regression in Python 3.13.8 (From OE-Core rev: 78d83ced968a46579cff8bfa0b4f462689c46c00) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
1.5 KiB
Diff
37 lines
1.5 KiB
Diff
From 5bf5aa6eae1fa3eed66893e51a1858ab481426b4 Mon Sep 17 00:00:00 2001
|
|
From: Wentao Zhang <wentao.zhang@windriver.com>
|
|
Date: Mon, 20 Mar 2023 13:39:52 +0800
|
|
Subject: [PATCH] Update 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
|
|
|
|
Update test_sysconfig.test_user_similar() for the posix_user scheme:
|
|
"purelib" doesn't use sys.platlibdir.
|
|
|
|
Upstream-Status: Inappropriate [oe-core specific]
|
|
Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
|
|
---
|
|
Lib/test/test_sysconfig.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
|
|
index 1ade492..4e94889 100644
|
|
--- a/Lib/test/test_sysconfig.py
|
|
+++ b/Lib/test/test_sysconfig.py
|
|
@@ -430,7 +430,7 @@ class TestSysConfig(unittest.TestCase):
|
|
expected = os.path.normpath(global_path.replace(base, user, 1))
|
|
# bpo-44860: platlib of posix_user doesn't use sys.platlibdir,
|
|
# whereas posix_prefix does.
|
|
- if name == 'platlib':
|
|
+ if name == 'platlib' or name == 'purelib':
|
|
# Replace "/lib64/python3.11/site-packages" suffix
|
|
# with "/lib/python3.11/site-packages".
|
|
py_version_abi = sysconfig._get_python_version_abi()
|