summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch')
-rw-r--r--meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch b/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch
index 5e113415c2..b6c6ac5a28 100644
--- a/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch
+++ b/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch
@@ -1,4 +1,4 @@
1From b9f825b298b555c4770024d1f68ef1df65aad20a Mon Sep 17 00:00:00 2001 1From 37d058e841ba3bd89b5746cc5381afb014b11581 Mon Sep 17 00:00:00 2001
2From: Wentao Zhang <wentao.zhang@windriver.com> 2From: Wentao Zhang <wentao.zhang@windriver.com>
3Date: Mon, 20 Mar 2023 13:39:52 +0800 3Date: Mon, 20 Mar 2023 13:39:52 +0800
4Subject: [PATCH] Update test_sysconfig for posix_user purelib 4Subject: [PATCH] Update test_sysconfig for posix_user purelib
@@ -17,15 +17,16 @@ Update test_sysconfig.test_user_similar() for the posix_user scheme:
17 17
18Upstream-Status: Inappropriate [oe-core specific] 18Upstream-Status: Inappropriate [oe-core specific]
19Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com> 19Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
20
20--- 21---
21 Lib/test/test_sysconfig.py | 2 +- 22 Lib/test/test_sysconfig.py | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-) 23 1 file changed, 1 insertion(+), 1 deletion(-)
23 24
24diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py 25diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
25index d96371d..20aea4b 100644 26index b6dbf3d..5672590 100644
26--- a/Lib/test/test_sysconfig.py 27--- a/Lib/test/test_sysconfig.py
27+++ b/Lib/test/test_sysconfig.py 28+++ b/Lib/test/test_sysconfig.py
28@@ -373,7 +373,7 @@ class TestSysConfig(unittest.TestCase): 29@@ -372,7 +372,7 @@ class TestSysConfig(unittest.TestCase):
29 expected = os.path.normpath(global_path.replace(base, user, 1)) 30 expected = os.path.normpath(global_path.replace(base, user, 1))
30 # bpo-44860: platlib of posix_user doesn't use sys.platlibdir, 31 # bpo-44860: platlib of posix_user doesn't use sys.platlibdir,
31 # whereas posix_prefix does. 32 # whereas posix_prefix does.
@@ -34,6 +35,3 @@ index d96371d..20aea4b 100644
34 # Replace "/lib64/python3.11/site-packages" suffix 35 # Replace "/lib64/python3.11/site-packages" suffix
35 # with "/lib/python3.11/site-packages". 36 # with "/lib/python3.11/site-packages".
36 py_version_short = sysconfig.get_python_version() 37 py_version_short = sysconfig.get_python_version()
37--
382.25.1
39