diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-10-27 22:16:11 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-29 16:28:36 +0100 |
commit | b06633b6ae91132f444a15a7f11dd778f01d5b6f (patch) | |
tree | 6e0c7f2733abbe6d9df9619492a98f544b2a63a7 /meta/recipes-devtools/python/python3/crosspythonpath.patch | |
parent | 852f802a319e2d25cbf4e9bdf838c06f487c8a05 (diff) | |
download | poky-b06633b6ae91132f444a15a7f11dd778f01d5b6f.tar.gz |
python3: update 3.10.6 -> 3.11.0
The semaphore fix has landed and is available from 3.11 onwards:
https://github.com/python/cpython/commit/1ee0f94d16f150356a4b9b0a39d44ba1d2d5b9fc
Drop 0001-Mitigate-the-race-condition-in-testSockName.patch
as it is merged upstream.
(From OE-Core rev: f10cdc155e47af5627ee999c57e1d083f9382a91)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3/crosspythonpath.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3/crosspythonpath.patch | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/meta/recipes-devtools/python/python3/crosspythonpath.patch b/meta/recipes-devtools/python/python3/crosspythonpath.patch index 5bb25264da..2fbb17f118 100644 --- a/meta/recipes-devtools/python/python3/crosspythonpath.patch +++ b/meta/recipes-devtools/python/python3/crosspythonpath.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From baa3a232e64e9bf5ae945366efdb8088ccf9b828 Mon Sep 17 00:00:00 2001 | 1 | From 7d5fc6a86103d9bd4a274e9fd31b6987e39998a1 Mon Sep 17 00:00:00 2001 |
2 | From: Ricardo Ribalda <ricardo@ribalda.com> | 2 | From: Ricardo Ribalda <ricardo@ribalda.com> |
3 | Date: Tue, 18 Nov 2014 03:35:33 -0500 | 3 | Date: Tue, 18 Nov 2014 03:35:33 -0500 |
4 | Subject: [PATCH] configure.ac: add CROSSPYTHONPATH into PYTHONPATH for | 4 | Subject: [PATCH] configure.ac: add CROSSPYTHONPATH into PYTHONPATH for |
@@ -20,15 +20,15 @@ Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com> | |||
20 | 1 file changed, 1 insertion(+), 1 deletion(-) | 20 | 1 file changed, 1 insertion(+), 1 deletion(-) |
21 | 21 | ||
22 | diff --git a/configure.ac b/configure.ac | 22 | diff --git a/configure.ac b/configure.ac |
23 | index d0db062..e5e3df8 100644 | 23 | index 085fc0b..22790d7 100644 |
24 | --- a/configure.ac | 24 | --- a/configure.ac |
25 | +++ b/configure.ac | 25 | +++ b/configure.ac |
26 | @@ -83,7 +83,7 @@ if test "$cross_compiling" = yes; then | 26 | @@ -163,7 +163,7 @@ AC_ARG_WITH( |
27 | AC_MSG_ERROR([python$PACKAGE_VERSION interpreter not found]) | 27 | dnl Build Python interpreter is used for regeneration and freezing. |
28 | fi | 28 | ac_cv_prog_PYTHON_FOR_REGEN=$with_build_python |
29 | AC_MSG_RESULT($interp) | 29 | PYTHON_FOR_FREEZE="$with_build_python" |
30 | - PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$interp | 30 | - PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$with_build_python |
31 | + PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(CROSSPYTHONPATH):$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$interp | 31 | + PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(CROSSPYTHONPATH):$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$with_build_python |
32 | fi | 32 | AC_MSG_RESULT([$with_build_python]) |
33 | elif test "$cross_compiling" = maybe; then | 33 | ], [ |
34 | AC_MSG_ERROR([Cross compiling required --host=HOST-TUPLE and --build=ARCH]) | 34 | AS_VAR_IF([cross_compiling], [yes], |