diff options
| author | Trevor Gamblin <tgamblin@baylibre.com> | 2025-06-08 23:54:35 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-06-13 09:01:26 -0700 |
| commit | d5c9b8a1d6c44d4fbf97e33419f29625fedb3a90 (patch) | |
| tree | 033699f85dc7b303bc278269178a7f10f81e46fb | |
| parent | 9f837c5378d099fb5df6cc8d9da82124cd320cfa (diff) | |
| download | poky-d5c9b8a1d6c44d4fbf97e33419f29625fedb3a90.tar.gz | |
python3: upgrade 3.13.2 -> 3.13.3
This adds some security fixes and many new changes to the library.
Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-3-final
Modify 0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
to remove 'test_types' from the pgo-wrapper call, since that fails now
under qemu.
Reproducibility looks OK.
ptest results OK:
|== Tests result: SUCCESS ==
|
|29 tests skipped:
| test.test_asyncio.test_windows_events
| test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace
| test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full
| test.test_gdb.test_misc test.test_gdb.test_pretty_print
| test_android test_apple test_asdl_parser test_clinic test_devpoll
| test_free_threading test_generated_cases test_idle test_ioctl
| test_kqueue test_launcher test_msvcrt test_startfile test_tcl
| test_tkinter test_ttk test_ttk_textonly test_turtle test_winapi
| test_winconsoleio test_winreg test_wmi
|
|9 tests skipped (resource denied):
| test_curses test_peg_generator test_pyrepl test_smtpnet
| test_socketserver test_urllib2net test_urllibnet test_winsound
| test_zipfile64
|
|442 tests OK.
|
|Total duration: 2 min 48 sec
|Total tests: run=43,896 skipped=2,268
|Total test files: run=471/480 skipped=29 resource_denied=9
|Result: SUCCESS
|DURATION: 169
|END: /usr/lib/python3/ptest
|2025-05-12T12:34
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0
|root@qemux86-64:~#
(From OE-Core rev: 063d5a5fb2f71b523f378b95167553b28804c3ad)
(From OE-Core rev: 6587dc1fc62de79c4599761af59ebd385244cb57)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -rw-r--r-- | meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch | 14 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3_3.13.3.bb (renamed from meta/recipes-devtools/python/python3_3.13.2.bb) | 2 |
2 files changed, 12 insertions, 4 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch b/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch index 508754286f..39b62f6f26 100644 --- a/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch +++ b/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch | |||
| @@ -1,16 +1,21 @@ | |||
| 1 | From 701720a5bab5b42fd7520fd9dd95fd2c7e42c186 Mon Sep 17 00:00:00 2001 | 1 | From e7a8a7385f561f214054cf95f0a22bfa064eee0b Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Wed, 30 Jan 2019 12:41:04 +0100 | 3 | Date: Wed, 30 Jan 2019 12:41:04 +0100 |
| 4 | Subject: [PATCH] Makefile.pre: use qemu wrapper when gathering profile data | 4 | Subject: [PATCH] Makefile.pre: use qemu wrapper when gathering profile data |
| 5 | 5 | ||
| 6 | Upstream-Status: Inappropriate [oe-core specific] | 6 | Upstream-Status: Inappropriate [oe-core specific] |
| 7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 8 | |||
| 9 | Update to remove test_types from the test list, since that fails under | ||
| 10 | qemu now. | ||
| 11 | |||
| 12 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
| 8 | --- | 13 | --- |
| 9 | Makefile.pre.in | 3 +-- | 14 | Makefile.pre.in | 3 +-- |
| 10 | 1 file changed, 1 insertion(+), 2 deletions(-) | 15 | 1 file changed, 1 insertion(+), 2 deletions(-) |
| 11 | 16 | ||
| 12 | diff --git a/Makefile.pre.in b/Makefile.pre.in | 17 | diff --git a/Makefile.pre.in b/Makefile.pre.in |
| 13 | index f9932dd..be1b9ea 100644 | 18 | index 3bd4495f95b..8e8fc60bc76 100644 |
| 14 | --- a/Makefile.pre.in | 19 | --- a/Makefile.pre.in |
| 15 | +++ b/Makefile.pre.in | 20 | +++ b/Makefile.pre.in |
| 16 | @@ -751,8 +751,7 @@ profile-run-stamp: | 21 | @@ -751,8 +751,7 @@ profile-run-stamp: |
| @@ -19,7 +24,10 @@ index f9932dd..be1b9ea 100644 | |||
| 19 | # Next, run the profile task to generate the profile information. | 24 | # Next, run the profile task to generate the profile information. |
| 20 | - @ # FIXME: can't run for a cross build | 25 | - @ # FIXME: can't run for a cross build |
| 21 | - $(LLVM_PROF_FILE) $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK) | 26 | - $(LLVM_PROF_FILE) $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK) |
| 22 | + ./pgo-wrapper ./python -m test.regrtest --pgo test_grammar test_opcodes test_dict test_types | 27 | + ./pgo-wrapper ./python -m test.regrtest --pgo test_grammar test_opcodes test_dict |
| 23 | $(LLVM_PROF_MERGER) | 28 | $(LLVM_PROF_MERGER) |
| 24 | # Remove profile generation binary since we are done with it. | 29 | # Remove profile generation binary since we are done with it. |
| 25 | $(MAKE) clean-retain-profile | 30 | $(MAKE) clean-retain-profile |
| 31 | -- | ||
| 32 | 2.39.5 | ||
| 33 | |||
diff --git a/meta/recipes-devtools/python/python3_3.13.2.bb b/meta/recipes-devtools/python/python3_3.13.3.bb index 8e16ce90dc..6839d28e19 100644 --- a/meta/recipes-devtools/python/python3_3.13.2.bb +++ b/meta/recipes-devtools/python/python3_3.13.3.bb | |||
| @@ -36,7 +36,7 @@ SRC_URI:append:class-native = " \ | |||
| 36 | file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \ | 36 | file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \ |
| 37 | " | 37 | " |
| 38 | 38 | ||
| 39 | SRC_URI[sha256sum] = "d984bcc57cd67caab26f7def42e523b1c015bbc5dc07836cf4f0b63fa159eb56" | 39 | SRC_URI[sha256sum] = "40f868bcbdeb8149a3149580bb9bfd407b3321cd48f0be631af955ac92c0e041" |
| 40 | 40 | ||
| 41 | # exclude pre-releases for both python 2.x and 3.x | 41 | # exclude pre-releases for both python 2.x and 3.x |
| 42 | UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" | 42 | UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" |
