summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3_3.13.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python: backport patches to support openssl 3.4.0Peter Marko2024-11-291-0/+2
| | | | | | | | | | https://github.com/python/cpython/pull/127331 https://github.com/python/cpython/pull/127361 (From OE-Core rev: e5f3a1793e34fb4cd1e53ca60b67f9a9f084b7a6) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: package tkinter's shared objectsDan McGregor2024-11-281-0/+1
| | | | | | | | | | | | | | | Seems every time python is updated this gets removed. That's likely because the tk option can't be enabled in python3-native without creating a dependency loop. Instead of manually editing the manifest every time, explicitly add it in the recipe as suggested by Alexander Kanavin. (From OE-Core rev: d2e82fc12509950ea30fa20fcbe9fc148b6cff1c) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: do not overwrite FILES contentsDan McGregor2024-11-281-1/+0
| | | | | | | | | | | | | | | Instead of relying completely on the python packaging manifest, allow some default values. This is useful for the edge cases that can't be found automatically by the create_manifest step. In particular, tkinter can't be built for python3-native, so its consistently missed in manifest updates. (From OE-Core rev: cc5ec75b50618ce42d5b19d0aad0b44611bf8fbe) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-ctypes: depend on ldconfig only if distro-feature setJörg Sommer2024-11-231-1/+3
| | | | | | | | | | | | | | | | | | | | | In the source code is only usage of ldconfig (for Linux) in Lib/ctypes/util.py:301. This is wrapped in try-execpt which causes _findSoname_ldconfig return Nothing. This is handled properly in find_library and other methods to find the library a tried. So, the code can handle the case of a missing /sbin/ldconfig (BTW: hard-coded path). When DISTRO_FEATURES does not contain ldconfig some other services (Systemd) to setup and maintain the ldconfig.cache are not installed. Hence, this ldconfig pulled in by the ctype dependency is of no use. Therefore, do not set the dependency on ldconfig, if the distro-feature is not set. (From OE-Core rev: 7394c006bffab2f41965d87c8083647621a67f50) Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: update 3.12.6 -> 3.13.0Alexander Kanavin2024-10-251-0/+480
License-update: copyright years Update 0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch to only include tests that do not fail under qemu (following upstream change that also no longer obscures failures). Drop 0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch (backport) 0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch (fixed upstream) 0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch (code completely rewritten upstream) cgi_py.patch (cgi and cgitb modules removed upstream) Add fix-armv5.patch (address armv5 crashes) Modules removed in 3.13 (look for 'important removals'): https://docs.python.org/3/whatsnew/3.13.html Manifest updated accordingly. Add an explicit dependency on libatomic (needed on mips and ppc), as upstream has explicitly switched it off in cross builds. It's a no-op on other targets. Fcntl relocated to python3-core by the manifest script. (From OE-Core rev: 0b49c9aa31279ecda565cc66b63d1d61723b37b8) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>