diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2024-01-16 12:08:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-19 12:21:22 +0000 |
commit | 78e30d940d1a931c65a14d864494d92f0889035e (patch) | |
tree | 32e87ef22610ef937dd5e1b9a604d0deacf39107 /meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch | |
parent | 375ac472d848eb6bdd17656cfe005c905025ffab (diff) | |
download | poky-78e30d940d1a931c65a14d864494d92f0889035e.tar.gz |
python: update 3.11.5 -> 3.12.1
Drop distutils and smtpd modules from packaging, as both are gone in 3.12.
Rebase:
0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch
(drop setup.py chunk as the file is gone)
Drop patches:
0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch
(setup.py gone, lib/termcap not mentioned anywhere else)
0001-Don-t-search-system-for-headers-libraries.patch
(setup.py gone, usr/lib64 not mentioned anywhere else)
0001-Makefile-do-not-compile-.pyc-in-parallel.patch
(replaced with COMPILEALL_OPTS= in EXTRA_OEMAKE)
0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch
(setup.py gone, add_multiarch_paths not mentioned anywhere else)
0017-setup.py-do-not-report-missing-dependencies-for-disa.patch
(has been superseded by Setup.local tweak in do_configure:prepend)
12-distutils-prefix-is-inside-staging-area.patch
(distutils has been removed upstream, so this old, unplesant hack can be finally dropped)
avoid_warning_about_tkinter.patch
(setup.py gone, tkinter detection logic performed in configure.ac)
(From OE-Core rev: 716d82352545d3667a658b69d65d6127678dd150)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.patch | 10 |
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 @@ | |||
1 | From b9f825b298b555c4770024d1f68ef1df65aad20a Mon Sep 17 00:00:00 2001 | 1 | From 37d058e841ba3bd89b5746cc5381afb014b11581 Mon Sep 17 00:00:00 2001 |
2 | From: Wentao Zhang <wentao.zhang@windriver.com> | 2 | From: Wentao Zhang <wentao.zhang@windriver.com> |
3 | Date: Mon, 20 Mar 2023 13:39:52 +0800 | 3 | Date: Mon, 20 Mar 2023 13:39:52 +0800 |
4 | Subject: [PATCH] Update test_sysconfig for posix_user purelib | 4 | Subject: [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 | ||
18 | Upstream-Status: Inappropriate [oe-core specific] | 18 | Upstream-Status: Inappropriate [oe-core specific] |
19 | Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com> | 19 | Signed-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 | ||
24 | diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py | 25 | diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py |
25 | index d96371d..20aea4b 100644 | 26 | index 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 | -- | ||
38 | 2.25.1 | ||
39 | |||