summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* python3-ndg-httpsclient: remove unused recipeRoss Burton46 hours1-29/+0
| | | | | | | | | | | | | | The last dependency in core on this recipe was removed in May 2024[1], and there don't appear to be any other users that I can find. The last upstream release was in 2018 so this is now obsolete. [1] oe-core dfa482f1998 ("python3-requests: cleanup RDEPENDS") (From OE-Core rev: 48b6851420ac54b181647bf23fe1ad86c75fa650) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: upgrade 3.13.3 -> 3.13.4Praveen Kumar5 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Security content in this release: - gh-135034: Fixes multiple issues that allowed tarfile extraction filters (filter="data" and filter="tar") to be bypassed using crafted symlinks and hard links. Addresses CVE-2024-12718, CVE-2025-4138, CVE-2025-4330, and CVE-2025-4517. - gh-133767: Fix use-after-free in the “unicode-escape” decoder with a non- “strict” error handler. - gh-128840: Short-circuit the processing of long IPv6 addresses early in ipaddress to prevent excessive memory consumption and a minor denial-of-service. Includes additional standard library improvements and bug fixes. References: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-4-final https://www.python.org/downloads/release/python-3134/ (From OE-Core rev: d2bcfa826aa3a7bd5d6ab250fb8ba083e2688c8b) Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: drop old nis module dependenciesGuðni Már Gilbert5 days1-2/+0
| | | | | | | | | | | libnsl2 and libtirpc were build dependencies for the nis module. The nis module was deprecated in Python 3.11 and removed in Python 3.13 (From OE-Core rev: 742eca9cb56ab4ad10534181d28de1fdf3880b9f) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 80.8.0 -> 80.9.0Wang Mingyu9 days2-5/+5
| | | | | | | | | | | 0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch refreshed for 80.9.0 (From OE-Core rev: 8c42a544180524dce3fcbca176db2689d21c084f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-ruamel-yaml: upgrade 0.18.10 -> 0.18.12Wang Mingyu9 days1-1/+1
| | | | | | | | (From OE-Core rev: eb59eff1d178764b7f8d243b825c28849a9d8c57) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodomex: upgrade 3.22.0 -> 3.23.0Wang Mingyu9 days1-1/+1
| | | | | | | | (From OE-Core rev: c5e94ebb197c59e7865516f0e591ddd7a60ab3bb) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodome: upgrade 3.22.0 -> 3.23.0Wang Mingyu9 days2-5/+5
| | | | | | | | (From OE-Core rev: 7278fbe059769b949876988a9c05a073b7432d03) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pdm: upgrade 2.24.1 -> 2.24.2Wang Mingyu9 days1-1/+1
| | | | | | | | (From OE-Core rev: 8f69823a32e957d39c1e98d55435e9a77018791c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonschema: upgrade 4.23.0 -> 4.24.0Wang Mingyu9 days2-47/+1
| | | | | | | | | | | d71f96a6523875c9694fcdf468c9f458323d07f2.patch removed since it's included in 4.24.0 (From OE-Core rev: a7c325f3d083b76842440aa1efa997fac53a36c9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.131.14 -> 6.132.0Wang Mingyu9 days1-1/+1
| | | | | | | | (From OE-Core rev: 36c201daa68426caed2347c446ea3d70a43cae09) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: upgrade 3.1.0 -> 3.1.1Wang Mingyu9 days1-1/+1
| | | | | | | | (From OE-Core rev: ad36020d46a5827e07da4dc5ca86874d5e704ffd) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-beartype: upgrade 0.20.2 -> 0.21.0Wang Mingyu9 days1-1/+1
| | | | | | | | (From OE-Core rev: aebc6df71a513531a10949a15571fbeddd7c3ec4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-trove-classifiers: upgrade 2025.3.19.19 -> 2025.5.9.12Gyorgy Sarvari9 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: 2025.04.11.15: - Add classifier for Wagtail 7 (#210) 2025.04.28.22: - Add entry point to enable installing with pipx or uvx - Tests added for running the module and calling the entry point. - Add return type annotation - reformat - Try adding BINDIR to python and entry point - Add missing BINDIR paths - Add docstring to test. 2025.5.1.12: - Don't assume basename of sys.executable is "python" (#212) On Debian, it's "python3" instead. 2025.5.7.19: - Add Trove classifier for Python 3.15 (#213) 2025.5.8.13: - Add several missing languages - Update src/trove_classifiers/__init__.py 2025.5.8.15: - feat: add free-threading classifiers (#195) - feat: add free-threading classifiers - refactor: add numbers to force correct sort - Update __init__.py 2025.5.9.12: - Add trove classifier for GraalPython (#188) GraalPython is an up-an-coming JIT-based implementation atop the Graal VM. (From OE-Core rev: d45cd3844b9386bced24a2e1544ace79b78b17c0) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-uritools: upgrade 4.0.3 -> 5.0.0Gyorgy Sarvari9 days1-2/+2
| | | | | | | | | | | | | Changelog: -Require Python 3.9 or later (breaking change). -Update CI environment. License-Update: update copyright year (From OE-Core rev: 072b051c1fe34b01f617e2d8ea502b7f15d4e1de) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-maturin: upgrade 1.8.3 -> 1.8.6Tim Orling11 days2-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add comment about riscv32gc ioctl codes patch, it is needed until libc version is 0.2.172 or greater in Cargo.lock. Comparing changes since 1.8.3: https://github.com/PyO3/maturin/compare/v1.8.3...v1.8.6 Changelog: 1.8.6 * Print a message when overriding platform tag from _PYTHON_HOST_PLATFORM in #2594 * Use the current python interpreter's version when the abi3 feature is set with no explicit version in #2597 1.8.5 * Fix release CI build 1.8.4 * Install a Rust toolchain into a temporary directory when building maturin itself or a package and a Rust toolchain is missing. Set MATURIN_NO_INSTALL_RUST to disable this behavior. #2421 * Fix broken maturin develop with latest uv in #2584 * Add PYO3_PYTHON env var support in #2534 * Sort RECORD file in wheel archives to make them deterministic in #2550 * Publish wheel for loongarch64 in #2548 * Add --compression-level option to build command in #2572 (From OE-Core rev: 92387900825dc6570c9bb43ca4b5a7d44f821f5c) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-snowballstemmer: upgrade 2.2.0 -> 3.0.1Tim Orling11 days1-2/+2
| | | | | | | | | | | | * Change to setuptools.build_meta PEP-517 backend Comparing changes since 2.2.0: https://github.com/snowballstem/snowball/compare/v2.2.0...v3.0.1 (From OE-Core rev: 1df380010733fd912106a23022ede0f785a017d5) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-urllib3: upgrade 2.3.0 -> 2.4.0Tim Orling11 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Comparing changes since 2.3.0: https://github.com/urllib3/urllib3/compare/2.3.0...2.4.0 Changelog: https://urllib3.readthedocs.io/en/stable/changelog.html https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#240-2025-04-10 2.4.0 (2025-04-10) Features * Applied PEP 639 by specifying the license fields in pyproject.toml. (#3522) * Updated exceptions to save and restore more properties during the pickle/serialization process. (#3567) * Added verify_flags option to create_urllib3_context with a default of VERIFY_X509_PARTIAL_CHAIN and VERIFY_X509_STRICT for Python 3.13+. (#3571) Bugfixes * Fixed a bug with partial reads of streaming data in Emscripten. (#3555) Misc * Switched to uv for installing development dependecies. (#3550) * Removed the multiple.intoto.jsonl asset from GitHub releases. Attestation of release files since v2.3.0 can be found on PyPI. (#3566) (From OE-Core rev: a8bb08299140a5b7b548bd6b26a2973531602d6c) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-rpds-py: upgrade 0.24.0 -> 0.25.1Tim Orling11 days2-41/+41
| | | | | | | | | | | | | | | | | | | | Comparing changes since 0.24.0: https://github.com/crate-py/rpds/compare/v0.24.0...v0.25.1 Changelog: v0.25.1 What's Changed * Add windows arm64 wheel build by @finnagin in #133 v0.25.0 What's Changed * Bump PyO3 to 0.25 by @edgarrmondragon in #135 (From OE-Core rev: 1567e8ae8b07a1fcd16101a7376be87c09cfbc36) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyopenssl: upgrade 25.0.0 -> 25.1.0Tim Orling11 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Comparing changes since 25.0.0: https://github.com/pyca/pyopenssl/compare/25.0.0...25.1.0 Changelog: https://www.pyopenssl.org/en/latest/changelog.html 25.1.0 (2025-05-17): Backward-incompatible changes: * None Deprecations: * Attempting using any methods that mutate an OpenSSL.SSL.Context after it has been used to create an OpenSSL.SSL.Connection will emit a warning. In a future release, this will raise an exception. Changes: * cryptography maximum version has been increased to 45.0.x. (From OE-Core rev: f83f00c1a5bb17e89651c5b19ec0a65e61a1bde7) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography,python3-cryptography-vectors: upgrade 44.0.2 -> 45.0.3Tim Orling11 days5-56/+56
| | | | | | | | | | | | | | | | Comparing changes since 44.0.2: https://github.com/pyca/cryptography/compare/44.0.2...45.0.3 Changelogs: https://cryptography.io/en/latest/changelog/#v44-0-3 https://cryptography.io/en/latest/changelog/#v45-0-1 https://cryptography.io/en/latest/changelog/#v45-0-2 https://cryptography.io/en/latest/changelog/#v45-0-3 (From OE-Core rev: ff3908b2ccbe06dfcdbc47cb81f5b49c8d421150) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pluggy: upgrade 1.5.0 -> 1.6.0Tim Orling11 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Comparing changes since 1.5.0: https://github.com/pytest-dev/pluggy/compare/1.5.0...1.6.0 Release notes: https://pluggy.readthedocs.io/en/latest/changelog.html#pluggy-1-6-0-2025-05-15 Deprecations and Removals * Python 3.8 is no longer supported. (#556) Bug Fixes * Fix a regression in pluggy 1.1.0 where using result.get_result() on the same failed Result causes the exception’s traceback to get longer and longer.(#504) * Correctly pass StopIteration through hook wrappers.(#544) * Raising a StopIteration in a generator triggers a RuntimeError. * If the RuntimeError of a generator has the passed in StopIteration as cause resume with that StopIteration as normal exception instead of failing with the RuntimeError. (From OE-Core rev: 23cfc453d8a03cd4edaad72ed4dbda9be7c47041) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-rust: upgrade 1.11.0 -> 1.11.1Tim Orling11 days1-1/+1
| | | | | | | | | | | | | Comparing changes since 0.11.0: https://github.com/PyO3/setuptools-rust/compare/v1.11.0...v1.11.1 Fixed * Fix finding cargo artifacts when filenames are empty. #521 (From OE-Core rev: 892c13ee87cf2cb190b1659dd4459401b046472d) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 78.1.0 -> 80.8.0Trevor Gamblin2025-05-272-40/+1
| | | | | | | | | | | | | | | Changelog: https://setuptools.pypa.io/en/latest/history.html#v80-8-0 Notably: - There was a temporary removal of the LICENSE file (restored in v80.8.0); - The easy_install module has been mostly removed; what remains is a temporary stub for compatibility purposes. (From OE-Core rev: 4fccef6c551dc2704e972aaf3d9567daa238b14c) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 2.2.5 -> 2.2.6Trevor Gamblin2025-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: https://github.com/numpy/numpy/releases/tag/v2.2.6 ptests are OK: |============================================================================ |Testsuite summary |# TOTAL: 48687 |# PASS: 44845 |# SKIP: 3805 |# XFAIL: 32 |# FAIL: 0 |# XPASS: 5 |# ERROR: 0 |DURATION: 81 |END: /usr/lib/python3-numpy/ptest |2025-05-21T16:09 |STOP: ptest-runner |TOTAL: 1 FAIL: 0 Reproducibility looks OK: |2025-05-21 11:20:30,349 - oe-selftest - INFO - ---------------------------------------------------------------------- |2025-05-21 11:20:30,349 - oe-selftest - INFO - Ran 1 test in 1619.910s |2025-05-21 11:20:30,349 - oe-selftest - INFO - OK |2025-05-21 11:20:33,239 - oe-selftest - INFO - RESULTS: |2025-05-21 11:20:33,239 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (1589.05s) |2025-05-21 11:20:33,242 - oe-selftest - INFO - SUMMARY: |2025-05-21 11:20:33,242 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1619.911s |2025-05-21 11:20:33,242 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0) (From OE-Core rev: 36d100000bdffc521ec7baec43f0a49de81166de) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: upgrade 3.0.12 -> 3.1.0Trevor Gamblin2025-05-152-75/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Many changes are included with this release, including support for freethreading builds of CPython 3.13, cleanup of legacy code, and many other features and bug fixes. Changelog: https://github.com/cython/cython/blob/master/CHANGES.rst Patch '0001-Output-import-relative-paths-in-generated-C-code.-GH.patch' is included in 3.1.0, so we no longer need the backport: |tgamblin@megalith ~/workspace/git/pythonsrc/cython (master)$ git tag --contains 20bceea6b19ffc2f65b9fba2e4f737f09e5a2b20 |3.1.0 |3.1.0-1 |3.1.0a1 |3.1.0b1 |3.1.0rc1 |3.1.0rc2 Reproducibility looks OK. (From OE-Core rev: 26a73392524f648015d55bf421a9b1bf5ac0d955) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: upgrade 3.13.2 -> 3.13.3Trevor Gamblin2025-05-152-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-yamllint: upgrade 1.37.0 -> 1.37.1Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: ============= - Rule comments: tell how many spaces are expected - Rule quoted-strings: Fix only-when-needed on multiline with backslash - Config: Report if rules is not a dict - Fix test_codec_built_in_equivalent() test when run with pytest - CI: Fix TestPyPI "dev0" versions for master commits on tags - Docs: Add links to GitHub repository and releases - Docs: Fix GitLab integration example - Docs: Fix GitLab integration link - Fix the tests badge link on the README (From OE-Core rev: b49426b3577546e197c42aa28b5af4a0f3ea1c53) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-typing-extensions: upgrade 4.13.1 -> 4.13.2Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | | | | Changelog: ============= - Fix TypeError when taking the union of typing_extensions.TypeAliasType and a typing.TypeAliasType on Python 3.12 and 3.13. - Backport from CPython PR #132160 to avoid having user arguments shadowed in generated __new__ by @typing_extensions.deprecated. (From OE-Core rev: f01c7ece71f4d9887763ee5062c56d454f88ae3d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycairo: upgrade 1.27.0 -> 1.28.0Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | Changelog: https://pycairo.readthedocs.io/en/latest/changelog.html#v1-28-0 (From OE-Core rev: 96baa620e4ce198c0042eaba85e0935b4a2741e9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-poetry-core: upgrade 2.1.2 -> 2.1.3Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Changed ---------- - Update list of supported licenses Fixed -------- - Fix an issue where the union of specific inverse or partially inverse markers was not simplified - Fix an issue where optional dependencies defined in the project section were treated as non-optional when a source was defined for them in the tool.poetry section - Fix an issue where markers with === were not parsed correctly - Fix an issue where local versions with upper case letters caused an error - Fix an issue where extra markers with a value starting with "in" were not validated correctly - Fix an issue where inheriting from WheelBuilder was unnecessarily difficult (From OE-Core rev: ca51448b82abd9333ad2763d52c473cbe876d5c5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 25.0.1 -> 25.1.1Wang Mingyu2025-05-131-1/+1
| | | | | | | (From OE-Core rev: 76556fab9ef0fe07a0eb7b308a4c875d0a2d5e19) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pdm: upgrade 2.23.1 -> 2.24.1Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Features & Improvements ------------------------ - New command pdm new that behaves like pdm init but creates a new project. - Support use --name as project name for command pdm new e.g. pdm new hello --name world - Support exporting to pylock.toml format as described by PEP 751. Bug Fixes --------- - Pass the --quiet option to pdm sync command. - If a .python-version file is found and it contains multiple lines, the file will be ignored. The usage of the .python-version file can be disabled, if configuration value python.use_python_version (or environment variable PDM_USE_PYTHON_VERSION) is False. - fix pdm config -e command to open read-only file under linux - Replace project names and import names in both README.md and pyproject.toml when running pdm init <template>. - Fix a bug that URL dependency hashes are not updated if running pdm lock --update-reuse. - Install the project when using the BaseSynchronizer with install_self set to True. This fixes the bug that when calling pdm sync --quiet, it skips installing the project itself. - Mark one additional test as requiring network, and fix another one not to require it anymore. (From OE-Core rev: 01cacd208c7a3e1fa2923ef346d7a1c65a4005c0) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: upgrade 24.2 -> 25.0Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | | | | Changelog: ============ - Re-add a test for Unicode file name parsing - Upgrade to ruff 0.9.1 - Add support for PEP 738 Android tags - feat(markers): support 'extras' and 'dependency_groups' markers (From OE-Core rev: 1f6a72bf37297a362119375523750544a11a23ea) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-meson-python: upgrade 0.17.1 -> 0.18.0Wang Mingyu2025-05-131-1/+1
| | | | | | | (From OE-Core rev: 70ccf82bcff9bca772c518837c7be11241aaf316) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-markdown: upgrade 3.7 -> 3.8Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== Changed ------- - DRY fix in abbr extension by introducing method create_element - Clean up test directory by removing some redundant tests and port non-redundant cases to the newer test framework. - Improved performance of the raw HTML post-processor Fixed --------- - Backslash Unescape IDs set via attr_list on toc - Ensure md_in_html processes content inside "markdown" blocks as they are parsed outside of "markdown" blocks to keep things more consistent for third-party extensions - md_in_html handle tags within inline code blocks better - md_in_html fix handling of one-liner block HTML handling - Ensure <center> is treated like a block-level element - Ensure that abbr extension respects AtomicString and does not process perceived abbreviations in these strings - Ensure smarty extension correctly renders nested closing quotes (From OE-Core rev: 662d586edb3afed8273ec4910ea1a4c090f8b757) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: upgrade 1.3.9 -> 1.3.10Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | Changelog: - Fix undefined variable errors when strict_undefined=True when using a nested list comprehension. (From OE-Core rev: 40a60f0ca45116604430f8b0d1ee4f70e1f9843e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-lxml: upgrade 5.3.2 -> 5.4.0Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | Bugfix: -Binary wheels use libxml2 2.13.8 and libxslt 1.1.43 to resolve several CVEs. (Binary wheels for Windows continue to use a patched libxml2 2.11.9 and libxslt 1.1.39.) (From OE-Core rev: 4e15eededc4c67665c48c0fcdcfa41cfd0d3bf40) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonschema-specifications: upgrade 2024.10.1 -> 2025.4.1Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | Changelog: - Add SPDX license identifier (From OE-Core rev: f3fb3e621c9c3b3e286002b6b6a6dede640e2866) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.131.0 -> 6.131.14Wang Mingyu2025-05-131-1/+1
| | | | | | | (From OE-Core rev: af58c48b2c9163a50c0b02b2eb193f9a2344e448) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatch-fancy-pypi-readme: upgrade 24.1.0 -> 25.1.0Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | | Changelog: ========== - $HFPR_PACKAGE_NAME is now replaced by the package name in the PyPI readme. - Support for Python 3.7. (From OE-Core rev: 5d3f3f8f9770e81bd7c2d53a1512577792ba4fa2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-certifi: upgrade 2025.1.31 -> 2025.4.26Wang Mingyu2025-05-131-1/+1
| | | | | | | (From OE-Core rev: f45a8bbe689ae7d006f8463fd156ebbd8e745227) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-calver: upgrade 2025.04.02 -> 2025.04.17Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | Changelog: - test: Delete SOURCE_DATE_EPOCH envvar if already present for robustness (From OE-Core rev: ac2ea906568bdb6aaf1f0ca4d35da87ceb39304d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: RDEPENDS on gobject-introspectionYi Zhao2025-05-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 3.51.0, python3-pygobject depends on libgirepository 2.0 provided by glib-2.0 instead of libgirepository 1.0 provided by gobject-introspection[1]. It still needs the typelib files from libgirepository-1.0 package. Add gobject-introspection as a runtime dependency. Fixes: $ python3 Python 3.13.2 (main, Feb 4 2025, 14:51:09) [GCC 14.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import gi >>> from gi.repository import Gtk Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/gi/importer.py", line 139, in create_module introspection_module = get_introspection_module(namespace) File "/usr/lib64/python3.13/site-packages/gi/module.py", line 243, in get_introspection_module module = IntrospectionModule(namespace, version) File "/usr/lib64/python3.13/site-packages/gi/module.py", line 111, in __init__ repository.require(namespace, version) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ gi.RepositoryError: Typelib file for namespace 'xlib', version '2.0' not found The above exception was the direct cause of the following exception: Traceback (most recent call last): File "<python-input-1>", line 1, in <module> from gi.repository import Gtk File "/usr/lib64/python3.13/site-packages/gi/importer.py", line 141, in create_module raise ImportError(e) from e ImportError: Typelib file for namespace 'xlib', version '2.0' not found [1] https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/320 (From OE-Core rev: 6f9e02292c9305e795f2651c3bb6ef5b671e1c74) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Drop remaining md5sum checksumsRichard Purdie2025-05-017-7/+0
| | | | | | | | | | We have long since obsoleted md5sum in favour of sha256sum. Drop the remaining 56 entries (which were showing many recipes hadn't been touched in a long time). They all do have the corresponding sha256sum entries as is clear from the diff. (From OE-Core rev: 7e4bfcc9706fa8a09f6a0004174a2c3b21c90df3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: fix ptestsTrevor Gamblin2025-05-012-17/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the numpy ptests by doing the following: - Add meson to ptest RDEPENDS in the recipe; - Add python3-unittest-automake-output as a ptest RDEPENDS; - Convert run-ptest to a shell script that sets PYTEST_DEBUG_TEMPROOT to a directory inside the same path that contains the script, create that directory, and then invoke the tests with `pytest --automake` pointed at the numpy path in site-packages (copying the tests into the normal PTEST_DIRECTORY seems to cause module import breakages in some tests). This also includes skipping two problematic tests which require a C compiler and use up a lot of space, respectively; - Set 'IMAGE_ROOTFS_EXTRA_SPACE = "3048576"' for python3-numpy in core-image-ptest.bb; - Also set 'QB_MEM:virtclass-mcextend-python3-numpy = "-m 4096"' in core-image-ptest.bb; - Move python3-numpy from the PTESTS_PROBLEMS list to the PTESTS_SLOW one. Results on qemux86-64: Testsuite summary DURATION: 87 END: /usr/lib/python3-numpy/ptest 2025-04-29T17:35 STOP: ptest-runner TOTAL: 1 FAIL: 0 Note that many of the skipped tests are due to the absence of python3-mypy (which is currently in meta-python) and of a Fortran compiler. (From OE-Core rev: 7f0b5e8faa1b246531ac425c99a629eb344b21e2) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: backport the full fix for importlib scanning invalid distributionsRoss Burton2025-05-013-40/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | Even with our fixes in deterministic_imports.patch the importlib.metadata package scan was still returning Distribution objects for empty directories. This interacts badly with rebuilds when recipes are changing as when a recipe is removed from the sysroot directories are not removed[1]. In particular this breaks python3-meson-python-native rebuilds when Meson upgrades from 1.7 to 1.8: the site-packages directory has an empty meson-1.7.dist-info/ and populated meson-1.8.dist-info/. Whilst it's deterministic to return the empty 1.7 first, this breaks pypa/build as it looks through the distributions in order. We had discussed this with upstream previously and there's a more comprehensive fix upstream (actually in importlib_metadata, not cpython) which ensures that valid distribution objects are listed first. So we can drop our patch and replace it with a backport to fix these rebuilds. [1] oe-core 4f94d929639 ("sstate/staging: Handle directory creation race issue") (From OE-Core rev: 73de8daa6293403f5b92d313af32882c47bce396) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 2.2.4 -> 2.2.5Trevor Gamblin2025-04-291-1/+1
| | | | | | | | | | | | | | | | Changelog: https://github.com/numpy/numpy/blob/main/doc/changelog/2.2.5-changelog.rst Reproducibility looks OK: |2025-04-24 10:27:00,978 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (1203.06s) |2025-04-24 10:27:00,985 - oe-selftest - INFO - SUMMARY: |2025-04-24 10:27:00,985 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1233.056s |2025-04-24 10:27:00,985 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0) (From OE-Core rev: d2ac1be4d2257106c5146ea3c3a136fc4b5116ad) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: Update to use the new ptest-python-pytest classLei Maohui2025-04-242-20/+6
| | | | | | | | (From OE-Core rev: e68ad590f9c0b4bcba94ad571553d81e2a7c6f50) Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildtools-tarball: Make buildtools respects host CA certificatesChangqing Li2025-04-241-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | To adapt user network enviroment, buildtools should first try to use the user configured envs like SSL_CERT_FILE/CURL_CA_BUNDLE/..., if these envs is not set, then use the auto-detected ca file and ca path, and finally use the CA certificates in buildtools. nativesdk-openssl set OPENSSLDIR as "/not/builtin", need set SSL_CERT_FILE/SSL_CERT_DIR to work nativesdk-curl don't set default ca file, need SSL_CERT_FILE/SSL_CERT_DIR or CURL_CA_BUNDLE/CURL_CA_PATH to work nativesdk-git actually use libcurl, and GIT_SSL_CAPATH/GIT_SSL_CAINFO also works nativesdk-python3-requests will use cacert.pem under python module certifi by default, need to set REQUESTS_CA_BUNDLE (From OE-Core rev: 8a7ec52e9b35654bee48cd948c6c34c63db3e265) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Switch prefix mapping to use -ffile-prefix-mapKhem Raj2025-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | -ffile-prefix map is more comprehensive when it comes to reproducible builds and its superset of all prefix-mapping options in compilers This makes is cleaner and workable across gcc and clang, clang does not support -fcanon-prefix-map and it has to be explicitly omitted when using clang. There are lambdas generated in templates by clang which still get the absolute paths despite -fdebug-prefix-map, this helps with that as well. nasm is an outlier and we have fixed it by adding -fdebug-prefix-map option luckily we do not pass DEBUG_PREFIX_MAP to nasm, in all recipes which use nasm either pass -fdebug-prefix-map explicitly to nasm or they rewrite it to use nasm flags syntax. We have discussed this in past [1] [1] https://patchwork.yoctoproject.org/project/oe-core/patch/20230428032030.2047920-1-raj.khem@gmail.com/#10281 (From OE-Core rev: ff73fa7ef7666a6dbe34f15515bc3ab6e574c5b0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Jacob Kroon <jacob.kroon@gmail.com> Cc: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>