summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3_3.11.5.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3: re-enable profile guided optimisationRoss Burton2023-12-211-3/+9
| | | | | | | | | | | | | | This was accidentally disabled in the 3.7.2 upgrade in 2019[1] where PGO was made target-only. Change the wrapper script generation so that it happens in all environments but class-native. [1] oe-core 02714c105426b0d687620913c1a7401b386428b6 (From OE-Core rev: 96a9964d6071dc614cec06a4f0712e257de2bc8b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-ptest: skip test_storlinesTrevor Gamblin2023-11-301-0/+1
| | | | | | | | | | | | | [YOCTO #14933] test_storlines is yet another Python ptest that fails intermittently on the Yocto AB, so disable it during ptests for now. (From OE-Core rev: d7b9f8157e6214a83b5495e8a32e11540ae65ff8) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: add cpython to CVE_PRODUCTChen Qi2023-09-281-1/+1
| | | | | | | | | | | | https://nvd.nist.gov/vuln/detail/CVE-2023-33595 uses 'cpython'. Although it's currently the only one that uses cpython, let's add cpython to CVE_PRODUCT, just in case. (From OE-Core rev: 62598e1138f21a16d8b1cdd1cfe902aeed854c5c) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-ptest: skip test_input_no_stdout_filenoTrevor Gamblin2023-09-201-0/+1
| | | | | | | | | | | | | [YOCTO #15210] test_input_no_stdout_fileno has been seen failing on AB workers under heavy load. Skip it while leaving the rest of the test_builtin suite alone. (From OE-Core rev: cf8927737690bf21dd3fb57474e09b71078e354c) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Fix ptests on muslKhem Raj2023-09-041-2/+7
| | | | | | | | | | | | | | Adjust locale dependencies to help run tests sadly, tr-tr is not available yet in musl-locale so keep that specific to glibc Add an exclusion list for tests and populate it for musl for the failing tests (From OE-Core rev: db76ac9968ceddc01e48069dbacc212eb4f88574) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: upgrade 3.11.4 -> 3.11.5Wang Mingyu2023-09-021-0/+448
Changelog: ============ -gh-104432: Fix potential unaligned memory access on C APIs involving returned sequences of char * pointers within the grp and socket modules. These were revealed using a -fsaniziter=alignment build on ARM macOS. -gh-77377: Ensure that multiprocessing synchronization objects created in a fork context are not sent to a different process created in a spawn context. This changes a segfault into an actionable RuntimeError in the parent process. -gh-106092: Fix a segmentation fault caused by a use-after-free bug in frame_dealloc when the trashcan delays the deallocation of a PyFrameObject. -gh-106719: No longer suppress arbitrary errors in the __annotations__ getter and setter in the type and module types. -gh-106723: Propagate frozen_modules to multiprocessing spawned process interpreters. -gh-105979: Fix crash in _imp.get_frozen_object() due to improper exception handling. -gh-105840: Fix possible crashes when specializing function calls with too many __defaults__. -gh-105588: Fix an issue that could result in crashes when compiling malformed ast nodes. -gh-105375: Fix bugs in the builtins module where exceptions could end up being overwritten. -gh-105375: Fix bug in the compiler where an exception could end up being overwritten. -gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() where an exception could end up being overwritten. -gh-105235: Prevent out-of-bounds memory access during mmap.find() calls. --gh-101006: Improve error handling when read marshal data. (From OE-Core rev: 70df63c2fe59ab781152b6981caf0828ececc54e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>