summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-mako: fix upstream version checkAlexander Kanavin2024-11-011-0/+1
| | | | | | | | (From OE-Core rev: aed0e0cd96ae1250c9d6991ffccdcc7c902dd4ef) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: update 3.12.6 -> 3.13.0Alexander Kanavin2024-10-2525-435/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-cryptography: update 42.0.8 -> 43.0.1Alexander Kanavin2024-10-254-87/+57
| | | | | | | | | | | | | Changelog: - https://cryptography.io/en/latest/changelog/#v43-0-0 - https://cryptography.io/en/latest/changelog/#v43-0-1 Switch over to maturin as specified in pyproject.toml file. (From OE-Core rev: d2c548c47ccb7f00de8842e26456fd82175a7472) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: upgrade 1.3.5 -> 1.3.6Trevor Gamblin2024-10-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update PYPI_PACKAGE to lowercase since that's what the upstream tarball now uses. ptest results: |============================================================================ |Testsuite summary |# TOTAL: 500 |# PASS: 447 |# SKIP: 53 |# XFAIL: 0 |# FAIL: 0 |# XPASS: 0 |# ERROR: 0 |DURATION: 2 |END: /usr/lib/python3-mako/ptest |2024-10-22T17:30 |STOP: ptest-runner |TOTAL: 1 FAIL: 0 Changelog (https://docs.makotemplates.org/en/latest/changelog.html): - Fixed long standing bug where the sequence <& would be misinterpreted by the lexer. It’s not clear why the ampersand character was part of the characters being consumed here and it may have been an inadvertent bit of code from one of Mako’s predecessor languages. References: #412 (From OE-Core rev: 3871ceb5927d4540e0a109d47d5a08a12a0d48a5) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-sphinx: upgrade 8.0.2 -> 8.1.3Trevor Gamblin2024-10-241-2/+2
| | | | | | | | | | | | Changelog: https://github.com/sphinx-doc/sphinx/releases License-Update: moved "Licenses for incorporated software" section from LICENSE.rst to sphinx/ext/napoleon/docstring.py (From OE-Core rev: cfae43d564b5526dc6b6f940dc56f2314fe5ed8e) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyproject-metadata: upgrade 0.8.0 -> 0.8.1Trevor Gamblin2024-10-241-1/+1
| | | | | | | | | | | | | | | | | | | Changelog (https://github.com/pypa/pyproject-metadata/releases/tag/0.8.1): - Validate project name - Validate entrypoint group names - Correct typing for emails - Add 3.13 to testing - Add ruff-format - Actions and dependabot - Generate GitHub attestations for releases - Add PyPI attestations - Fix coverage context (From OE-Core rev: 0fbf3b91098b70903397e57920ce7a1adb2f8a12) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.112.4 -> 6.115.3Trevor Gamblin2024-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html): 6.115.3 - 2024-10-16 - This patch fixes a regression from version 6.115.2 where generating values from integers() with certain values for min_value and max_value would error. 6.115.2 - 2024-10-14 - This release improves integer shrinking by folding the endpoint upweighting for integers() into the weights parameter of our IR (issue #3921). If you maintain an alternative backend as part of our (for now explicitly unstable) Alternative backends for Hypothesis, this release changes the type of the weights parameter to draw_integer and may be a breaking change for you. 6.115.1 - 2024-10-14 - This patch improves the performance of from_type() with pydantic.types.condate (issue #4000). 6.115.0 - 2024-10-12 - This improves the formatting of dataclasses and attrs classes when printing falsifying examples. 6.114.1 - 2024-10-10 - This patch upgrades remaining type annotations to Python 3.9 syntax. 6.114.0 - 2024-10-09 - This release drops support for Python 3.8, which reached end of life on 2024-10-07. 6.113.0 - 2024-10-09 - This release adds hypothesis.errors.BackendCannotProceed, an unstable API for use by Alternative backends for Hypothesis. 6.112.5 - 2024-10-08 - This release fixes a regression where hypothesis.stateful.Bundle did not work properly with flatmap functionality (issue #4128). (From OE-Core rev: 0ab451304025f7fdad06345c73233daa47e4f8b9) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: add python3-zoneinfo to RDEPENDSTrevor Gamblin2024-10-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following runtime issue: |root@qemux86-64:~# python3 |Python 3.12.6 (main, Sep 6 2024, 19:03:47) [GCC 14.2.0] on linux |Type "help", "copyright", "credits" or "license" for more information. |>>> import hypothesis |Traceback (most recent call last): | File "<stdin>", line 1, in <module> | File "/usr/lib/python3.12/site-packages/hypothesis/__init__.py", line 29, in <module> | from hypothesis.core import example, find, given, reproduce_failure, seed | File "/usr/lib/python3.12/site-packages/hypothesis/core.py", line 44, in <module> | from hypothesis import strategies as st | File "/usr/lib/python3.12/site-packages/hypothesis/strategies/__init__.py", line 48, in <module> | from hypothesis.strategies._internal.datetime import ( | File "/usr/lib/python3.12/site-packages/hypothesis/strategies/_internal/datetime.py", line 13, in <module> | import zoneinfo |ModuleNotFoundError: No module named 'zoneinfo' (From OE-Core rev: 2a535f7ca6329fee98491251c282741d9d21febc) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyparsing: upgrade 3.1.4 -> 3.2.0Trevor Gamblin2024-10-241-1/+1
| | | | | | | | | Changelog: https://github.com/pyparsing/pyparsing/releases/tag/3.2.0 (From OE-Core rev: 34fe8260075c60573b254ec176301e1c69f3468b) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-trove-classifiers: upgrade 2024.9.12 -> 2024.10.21.16Trevor Gamblin2024-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog (https://github.com/pypa/trove-classifiers/releases): 2024.10.21.16 - chore: update calver to include hour (#191) 2024.10.14 - Add Django trove classifiers for 5 and upcoming 5.2 release. (#193). We missed adding the generic `Framework :: Django :: 5`, and I'll add 5.2 since it will be released in a few months. 2024.10.13 - chore: update github actions (#192) - chore: update release github actions 2024.10.12 - Update CMU to include SPDX in parentheses (#190) 2024.10.11 - Add classifier for MIT-CMU licence (#189) (From OE-Core rev: 34d00a03c37c1691285b8e618eef833a5ed9ffe5) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-maturin: sort external libs in wheel filesYoann Congal2024-10-222-0/+56
| | | | | | | | | | | | Import a merged patch that sort external libs in the wheel file generated by maturin. That improve reproducibility. (From OE-Core rev: 66da28f85727206c0e647efba93c1be028519fe5) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> CC: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jinja2: backport a patch to address python 3.13 ptest failsAlexander Kanavin2024-10-222-0/+88
| | | | | | | | (From OE-Core rev: 372ba77af5f226ec178bd616ff03b897a4760df1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-markupsafe: add missing html module dependencyAlexander Kanavin2024-10-221-1/+1
| | | | | | | | (From OE-Core rev: 0f55f110b76eb1fab25c7a1656d9a2aebcc35cfb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-installer: add a patch to ensure RECORD file reproducibilityAlexander Kanavin2024-10-222-1/+29
| | | | | | | | (From OE-Core rev: 982dce3dd65f786d3c9c12216be49c3be5b9e928) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-markupsafe: Upgrade 2.1.5 -> 3.0.1Richard Purdie2024-10-221-3/+3
| | | | | | | | Update to match the upstream repo name change and the renamed license file. (From OE-Core rev: 43a2af6e4124a0f3949bfd9409b102987b2b2767) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest-subtests: RDEPENDS on python3-attrsTim Orling2024-10-151-0/+1
| | | | | | | | | | | | | setup.cfg shows run-time dependency on python3-attrs>=19.2.0 https://github.com/pytest-dev/pytest-subtests/blob/3671b40691440fcb01e96e346220ac4fe62d3580/setup.cfg#L30 This was caught during testing ptests for python3-cryptography 43.0.1 upgrade. (From OE-Core rev: 63b84cba8e6a3e65457ae47fda9cdda7e175db91) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: add missing RDEPENDSBartosz Golaszewski2024-10-151-3/+4
| | | | | | | | | | | pip3 package is missing the runtime dependency on tomllib. Add python3-tomllib to the recipe's RDEPENDS. While at it: order the dependencies alphabetically. (From OE-Core rev: f0a932dfae5439d7cee2999455edaeb1b263befc) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-sphinx-rtd-theme: upgrade 2.0.0 -> 3.0.0Wang Mingyu2024-10-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== - Trigger search modal on "Search docs" input focus - Show hidden version in selector if it's the current active version - Show version/language selectors below the title - Docs: do not sign Git tag - Docs: update the installation note - Theme option flyout to enable/disable theme's flyout - Populate html_context with READTHEDOCS_* environment variables - Tests: sphinxdev tox environment installs Sphinx from master - Docs: update releasing - Adjust the expected test_basic output to match Sphinx 7.3+ - Addons: integrate with new beta addons flyout - Remove html5shiv - Remove Sphinx<5 compatibility leftovers - Remove pytest warnings (From OE-Core rev: 90c69e275ec1bd19cd67fac2ebb19faa436767c8) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-spdx-tools: upgrade 0.8.2 -> 0.8.3Wang Mingyu2024-10-111-1/+1
| | | | | | | | | | | | | | | | | | | | Changelog: ============== - fix license expression error handling in tag-value parser - spdx3: software_purpose: add REQUIREMENT type - fix tag-value parser: parse Tool or Organization as annotator - shorten output of FileNotFoundError when called via the CLI - fix tag-value output when related_spdx_element_id is "NONE" or "NOASSERTION" - catch decoding errors while parsing using the cli tool - replace Licensing() with spdx_licensing - spdx3: element_writer: switch from tab characters to two spaces - fix tag-value parser to allow NONE and NOASSERTION for package source info as they are valid strings - update changelog for 0.8.3 release (From OE-Core rev: 04170316a0842f097ecca5b699512b551f20ad32) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-rust: upgrade 1.10.1 -> 1.10.2Wang Mingyu2024-10-111-1/+1
| | | | | | | | | | Changelog: Fix deprecation warning from use of wheel.bdist_wheel. (From OE-Core rev: 40daadb626f92a9af5c82a0c0242f8f153c70de4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodome(x): upgrade 3.20.0 -> 3.21.0Wang Mingyu2024-10-113-6/+6
| | | | | | | (From OE-Core rev: ae519cb2809eb6a995fe2acc052d92a7da438b70) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pefile: upgrade 2023.2.7 -> 2024.8.26Wang Mingyu2024-10-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: Copyright year updated to 2024 Changelog: =========== - Close the data attribute before reassigning it - Floor division (//) does mathematical division with the floor function applied to the result. - Update new dvrt type and Load Config filed adapt to Windows11 - fix PE.get_data - Fix ambiguous string syntax for PEid parsing regexp - fixed a memory leak that caused the pe file to be access locked. - Exphash from sha256 to md5 to match imphash - More readable calls to superclass - Fix cache_adjust_FileAlignment to work with files not aligned to 0x200 - [StepSecurity] Apply security best practices - Create sets using curly brackets - Change IOError to OSError - Apply isort to sort all imports - Remove "OC Patch" comments - Update tox.ini Python versions - Use with statement to write to file - Remove distutils use - Use chaining comparison operators - Replace list comprehension with set comprehension - Use not in operator - Replace base class name with super() - Increase readability and consistency - Tiny comment improvements - Update oleaut32.py from oleaut32.dll - Improve parse_rich_header - Include ordinals for wsock32.dll - Update ws2_32.py from ws2_32.dll - Update pefile.py for typo - Add parsing for IMAGE_DEBUG_TYPE_EX_DLLCHARACTERISTICS (From OE-Core rev: 5cb8a606874d35f4e22e6ee9691bb3d9d281ce7c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.112.1 -> 6.112.4Wang Mingyu2024-10-111-1/+1
| | | | | | | | | | | | | Changelog: =========== - tweak the paths in @example(...) patches, so that both git apply and patch will work by default. - refactor internals of hypothesis.stateful.Bundle to have a more consistent representation internally. - fixe an internal error when the __context__ attribute of a raised exception leads to a cycle (From OE-Core rev: 87f033e8f86650a22c742c9c6f357469ebb29747) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbusmock: upgrade 0.32.1 -> 0.32.2Wang Mingyu2024-10-111-1/+1
| | | | | | | | | | | | Changelog: ============== - all templates: Drop wrong variant wrapping from all properties - tests: Skip TestNetworkManager::test_one_wifi_with_accesspoints with NM >= 1.49.3 (From OE-Core rev: ee2216cb840879c52705b670ce6c8a9bfaa0a412) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyproject-hooks: upgrade 1.0.0 -> 1.2.0Ross Burton2024-10-081-1/+1
| | | | | | | | | | | | | | - Improve interoperability with importlib.metadata, fixing a regression in setuptools compatibility in 1.1 (#199). - Clean up the _in_process directory inside the package from sys.path before imporing the backend (#193). - Add type annotations to the public API. - More careful handling of the backend-path key from pyproject.toml. (From OE-Core rev: 8913a719ab94de919ad60c85b2f8602b6c147351) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pefile: add recipe from meta-openembeddedMikko Rapeli2024-10-012-0/+31
| | | | | | | | | | It is needed by systemd ukify tool and uki.bbclass to generate UEFI boot binaries. Added to fast list in ptest-packagelists.inc. (From OE-Core rev: 4069c485046fe6d008dd0c48269f29d92146d923) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: Add "python:setuptools" to CVE_PRODUCTShunsuke Tokumoto2024-09-301-0/+2
| | | | | | | | | | | | | Since there are vulnerabilities that cannot be detected by the existing CVE_PRODUCT, add "python:setuptools" to CVE_PRODUCT. https://nvd.nist.gov/vuln/detail/CVE-2013-1633 https://nvd.nist.gov/vuln/detail/CVE-2022-40897 (From OE-Core rev: aa1c8d97efc6640a1cffa2459d9b20ad1f7309b0) Signed-off-by: Shunsuke Tokumoto <s-tokumoto@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-libarchive-c: fix tests with libarchive 3.7.5 onwardsRoss Burton2024-09-302-0/+42
| | | | | | | | | | Backport a patch from an upstream PR to disable a test that correctly causes errors in libarchive 3.7.5 onwards. (From OE-Core rev: 51356c6d6774894926c9a291b9313324cfd6b127) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: upgrade 3.48.2 -> 3.50.0Ross Burton2024-09-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add RDEPENDS on asyncio as per changelog. Changelog: =========== * tests: Fix event test errors when GTK is not installed :mr:'347' * Rename master branch to main * Drop support for Python 3.8 :mr:'300' * Add Override for Gio.DataInputStream :mr:'293' * Treat GParamSpec as any other fundamental type :mr:'268' * override connection.register_object to prevent an invocation object from leaking :mr:'219' * Various PyPy related fixes :mr:'299' * bind_property: Accept keyword arguments :mr:'309' * Various documentation improvements :mr:'342' :mr:'343' :mr:'338' :mr:'336' :mr:'335' :mr:'328' :mr:'329' :mr:'330' :mr:'325' :mr:'322' :mr:'312' * Python2 / GTK2 cleanups :mr:'338' :mr:'331' * asyncio integration with support to await Gio async functions :mr:'189' * meson: move from .egg-info to .dist-info/METADATA :mr:'306' * build: fixes for building with gobject-introspection 1.81 :mr:'344' (From OE-Core rev: 2f599132609cef9843b48262c2e1eae1a289f460) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-zipp: upgrade 3.20.1 -> 3.20.2Wang Mingyu2024-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== - Make no assertions about the number. It could be negative. - Make zipp.compat.overlay.zipfile hashable. - Merge https://github.com/jaraco/skeleton - Add Python 3.13 and 3.14 into the matrix. (jaraco/skeleton#146) - Fix an incompatibility (and source of merge conflicts) with projects using Ruff/isort. - Merge pull request #125 from saschanaz/patch-1 - Suppress F821 - Allow the workflow to be triggered manually. - Remove workaround for sphinx-contrib/sphinx-lint#83 - Include the trailing slash in disable_error_code(overload-overlap), also required for clean diffs. - Add support for linking usernames. - Add a degenerate nitpick_ignore for downstream consumers. Add a 'local' comment to delineate where the skeleton ends and the downstream begins. - Expand docs and tests for overlay. - Remove unexpected character \ufeff (From OE-Core rev: 14a2e7b917ea3c0ce1720360f792a64741a8a4bc) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-websockets: upgrade 13.0.1 -> 13.1Wang Mingyu2024-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - Clarify comment. - Wait until state is CLOSED to acces close_exc. - Improve exception handling during handshake. - Standard spelling on "an HTTP". - Run handler only when opening handshake succeeds. - Run spellcheck. - Add dedicated ConcurrencyError exception. - Improve isolation of tests of sync implementation. - Fix typo in convenience imports. - Add changelog for previous commits. - Improve error messages on HTTP parsing errors. - Log error when server receives bad request. - Close connection when client receives bad response. - Simplify handling of connection close during handshake. - Proof-read upgrade guide. - The new asyncio implementation has reached parity. - Follow redirects in the new asyncio implementation. - Switch from black to ruff for code formatting. - Prevent false positives with latest ruff. - Update FAQ after implementing reconnection. - Make make build the C extension by default. - Prevent a warning in twine upload. - Add automatic reconnection to the new asyncio implementation. (From OE-Core rev: 7b268b8af3cac9dbfc9301e375c8f1d13b676d7d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-scons: upgrade 4.8.0 -> 4.8.1Wang Mingyu2024-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - env.Dump() previously accepted a single optional "key" argument. - SCons 4.8.0 added an __all__ specifier at the top of the Variables module (Variables/__init__.py) to control what is made available in a star import. - Fix a problem with AppendUnique and PrependUnique where a value could be erroneously removed due to a substring match. - Fix handling of ListVariable when supplying a quoted choice containing a space character - On win32 platform, SCons 4.7.0 modified the determination of the output encoding of piped processes. - Improve wording of manpage "Functions and Environment Methods" section. - Make doc function signature style more consistent - tweaks to AddOption, DefaultEnvironment and Tool,. - sctypes is_* functions given explicit return types. (From OE-Core rev: dfecf06ffad1ba46e83668f1102a48b76a2dba45) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytz: upgrade 2024.1 -> 2024.2Wang Mingyu2024-09-301-1/+1
| | | | | | | | | | | | | | | Changelog: ========== - IANA 2024b - Squashed 'tz/' changes from 380c07cef..923e54bae - Stop testing unavailable and EOL Python 3.5 - Add support for Python 3.13 - Run other jobs if one fails (From OE-Core rev: aa5000f6077010feba6fa311a281900c87014cf4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycairo: upgrade 1.26.1 -> 1.27.0Wang Mingyu2024-09-301-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: ========== - Drop support for Python 3.8 - Add Windows wheels for Python 3.13 - Updated cairo in Windows wheels from 1.18.0 to 1.18.2 - Port PEP517/wheel build from setuptools to meson-python. This means setup.py is gone. System packagers should not switch to wheel builds and continue using meson directly. - meson: install the package metadata to .dist-info/METADATA instead of .egg-info - Drop arm64 Windows wheels again. pypa/cibuildwheel does not support cross compiling with meson-python. They might be added back in the future if GitHub Actions gains a native Windows runner with arm64 support. (From OE-Core rev: bb9c6f0987a29cbacb838d30432d6271ce2f954a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyasn1: upgrade 0.6.0 -> 0.6.1Wang Mingyu2024-09-301-1/+1
| | | | | | | | | | | | | Changelog: ========== - Added support for Python 3.13. - Cleaned Python 2-related code. - Removed bdist_wheel universal flag from setup.cfg. (From OE-Core rev: 7c3fef01e8e0d117dba82e57612f104e89c60ed9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-more-itertools: upgrade 10.4.0 -> 10.5.0Wang Mingyu2024-09-301-1/+1
| | | | | | | | | | | | | Changelog: =========== - Optimize all_equal recipe - Reduce groupby.next calls in all_equal - Fix types.UnionType (From OE-Core rev: 99ce47ff3606a44a1114d73ff4d4f77e711e0a3f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-idna: upgrade 3.8 -> 3.10Wang Mingyu2024-09-301-1/+1
| | | | | | | | | | | | Changelog: =========== - Deprecate setup.cfg in favour of pyproject.toml - Use ruff for code formatting (From OE-Core rev: 4f2720cc4db6fecba47dcba26a426ffc9b4279bf) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dtschema: upgrade 2024.5 -> 2024.9Wang Mingyu2024-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: ============= - Use type information for decoding DTB properties to their defined type. With this many of the fixups in the schema processing are dropped. - Restore prior behavior of matching schemas to fallback compatible strings. - Fix support for filtering with multiple patterns on dt-validate. - Clean-ups for I2C schemas. - Add an "assigned-clock-rates-u64" property to support frequencies above 4GHz - Add a 'test,' vendor prefix to exclude from undocumented compatible checks. This removes the documentation requirement for test cases. (From OE-Core rev: e6a31383143873726e8e47023d79fe72ce0e88d9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cffi: upgrade 1.17.0 -> 1.17.1Wang Mingyu2024-09-301-1/+1
| | | | | | | | | | | | | Changelog: =========== - Fix failing distutils.msvc9compiler imports under Windows - ffibuilder.emit_python_code() and ffibuiler.emit_c_code() accept file-like objects - ffiplatform calls are bypassed by ffibuilder.emit_python_code() and ffibuilder.emit_c_code() (From OE-Core rev: f3bbcfcb8f1db84a2d5e51172d776970222c5e88) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-build: upgrade 1.2.1 -> 1.2.2Wang Mingyu2024-09-301-1/+1
| | | | | | | | | | | | | | | | Changelog: =========== - Add editable to builder.get_requries_for_build's static types - Include artifact attestations in our release - Fix typing compatibility with typed pyproject-hooks - Mark more tests with network - Add more intersphinx links to docs - Make uv optional for tests (From OE-Core rev: c28457432fb723c036598e3c7f72c31d2c500fce) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.111.2 -> 6.112.1Trevor Gamblin2024-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html): 6.112.1 - 2024-09-13 This patch removes a now-incorrect internal assertion about numpy’s typing after recent numpy changes (currently only in numpy’s nightly release). 6.112.0 - 2024-09-05 This release adds support for variable-width bytes in our IR layer (issue #3921), which should mean improved performance anywhere you use binary(). If you maintain an alternative backend as part of our (for now explicitly unstable) Alternative backends for Hypothesis, this release changes the draw_* interface and may be a breaking change for you. ptest output: |root@qemux86-64:~# ptest-runner python3-hypothesis |START: ptest-runner |2024-09-24T13:22 |BEGIN: /usr/lib/python3-hypothesis/ptest |PASS: examples/test_binary_search.py:test_insert_is_sorted |PASS: examples/test_binary_search.py:test_is_minimal |PASS: examples/test_binary_search.py:test_inserts_into_same_place_twice |PASS: examples/test_rle.py:test_decodes_to_starting_sequence |PASS: examples/test_rle.py:test_duplicating_an_element_does_not_increase_length |============================================================================ |Testsuite summary |# TOTAL: 5 |# PASS: 5 |# SKIP: 0 |# XFAIL: 0 |# FAIL: 0 |# XPASS: 0 |# ERROR: 0 |DURATION: 1 |END: /usr/lib/python3-hypothesis/ptest |2024-09-24T13:22 |STOP: ptest-runner |TOTAL: 1 FAIL: 0 (From OE-Core rev: ffb54d761759f02ac4f5eaf374c04e6cdffdb43a) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: upgrade 8.3.2 -> 8.3.3Trevor Gamblin2024-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Changelog (https://docs.pytest.org/en/stable/changelog.html): Bug fixes #12446: Avoid calling @property (and other instance descriptors) during fixture discovery – by @asottile #12659: Fixed the issue of not displaying assertion failure differences when using the parameter --import-mode=importlib in pytest>=8.1. #12667: Fixed a regression where type change in ExceptionInfo.errisinstance caused mypy to fail. #12744: Fixed typing compatibility with Python 3.9 or less – replaced typing.Self with typing_extensions.Self – by @Avasam #12745: Fixed an issue with backslashes being incorrectly converted in nodeid paths on Windows, ensuring consistent path handling across environments. #6682: Fixed bug where the verbosity levels where not being respected when printing the “msg” part of failed assertion (as in assert condition, msg). #9422: Fix bug where disabling the terminal plugin via -p no:terminal would cause crashes related to missing the verbose option. – by @GTowers1 Improved documentation #12663: Clarify that the pytest_deselected hook should be called from pytest_collection_modifyitems hook implementations when items are deselected. #12678: Remove erroneous quotes from tmp_path_retention_policy example in docs. Miscellaneous internal changes #12769: Fix typos discovered by codespell and add codespell to pre-commit hooks. (From OE-Core rev: 51fb98c6da61ad4faf5b00316e7075f3bbee9bc7) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-trove-classifiers: upgrade 2024.7.2 -> 2024.9.12Trevor Gamblin2024-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog (https://github.com/pypa/trove-classifiers/releases): - Add Odoo 18 trove classifier (#187) ptest output: |root@qemux86-64:~# ptest-runner python3-trove-classifiers |START: ptest-runner |2024-09-24T12:45 |BEGIN: /usr/lib/python3-trove-classifiers/ptest |PASS: tests/test_classifiers.py:test_success[classifiers0-deprecated_classifiers0] |PASS: tests/test_classifiers.py:test_success[classifiers1-deprecated_classifiers1] |PASS: tests/test_classifiers.py:test_failure[classifiers0-deprecated_classifiers0-Top-level classifier 'Foo' is invalid] |PASS: tests/test_classifiers.py:test_failure[classifiers1-deprecated_classifiers1-Classifier 'Foo :: Bar' is missing] |PASS: tests/test_classifiers.py:test_failure[classifiers2-deprecated_classifiers2-Classifier 'Bing :: Bang' does not exist] |PASS: tests/test_classifiers.py:test_failure[classifiers3-deprecated_classifiers3-Classifier 'Foo :: Bar' in both valid and deprecated classifiers] |PASS: tests/test_classifiers.py:test_failure[classifiers4-deprecated_classifiers4-Classifiers starting with 'Private' are invalid] |PASS: tests/test_classifiers.py:test_failure[classifiers5-deprecated_classifiers5-Classifiers starting with 'Private' are invalid] |PASS: tests/test_classifiers.py:test_failure[classifiers6-deprecated_classifiers6-Classifiers starting with 'Private' are invalid] |PASS: tests/test_classifiers.py:test_failure[classifiers7-deprecated_classifiers7-Classifiers starting with 'Private' are invalid] |PASS: tests/test_classifiers.py:test_failure[classifiers8-deprecated_classifiers8-Classifiers starting or ending with whitespace are invalid] |PASS: tests/test_classifiers.py:test_failure[classifiers9-deprecated_classifiers9-Classifiers starting or ending with whitespace are invalid] |PASS: tests/test_classifiers.py:test_failure[classifiers10-deprecated_classifiers10-Classifiers containing ':' are invalid] |PASS: tests/test_classifiers.py:test_failure[classifiers11-deprecated_classifiers11-Classifiers containing ':' are invalid] |PASS: tests/test_classifiers.py:test_failure[classifiers12-deprecated_classifiers12-Classifiers containing ':' are invalid] |============================================================================ |Testsuite summary |# TOTAL: 15 |# PASS: 15 |# SKIP: 0 |# XFAIL: 0 |# FAIL: 0 |# XPASS: 0 |# ERROR: 0 |DURATION: 0 |END: /usr/lib/python3-trove-classifiers/ptest |2024-09-24T12:45 |STOP: ptest-runner |TOTAL: 1 FAIL: 0 (From OE-Core rev: f111507f9105e581f39ba1ad3f68865bfa820ac2) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: keep pip program nameDaniel McGregor2024-09-201-4/+0
| | | | | | | | | | Python 2.x support is long gone, and many tools expect to use pip by that name. Keep the pip name around again. (From OE-Core rev: 0259bc27842ddff8ffb83b6003cf4ec0273cafe1) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Upgrade 3.12.5 -> 3.12.6Divya Chellam2024-09-133-244/+9
| | | | | | | | | | | | | | | | Includes security fixes for CVE-2024-7592, CVE-2024-8088, CVE-2024-6232 and other bug fixes. Removed below patches, as the fix is included in 3.12.6 upgrade: 1. CVE-2024-7592.patch Release Notes: https://www.python.org/downloads/release/python-3126/ (From OE-Core rev: aa492b1fd5973c37b8fa2cd17d28199eba46afcc) Signed-off-by: Divya Chellam <divya.chellam@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "python3-setuptools: upgrade 72.1.0 -> 72.2.0"Richard Purdie2024-09-101-1/+1
| | | | | | | | | | | | This reverts commit 8fccef7a731f44e5d27653e06becb54cf770e5e5. The patch causes problems for systems using ccache. Revert until this is fixed. "Inherit ccache, build anything which uses python3-setuptools (e.g. python3-icu)." (From OE-Core rev: a7dafda0303e52965010fc428d950e10ff1bb940) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-maturin: Fix cross compilation issue for armv7l, mips64, ppcNiko Mauno2024-09-056-0/+438
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When bitbaking python3-rpds-py it built extension module as: site-packages/rpds/rpds.cpython-312-armv7l-linux-gnueabihf.so Which caused error on target: root@qemuarm:~# python3 -c "from rpds import HashTrieMap, HashTrieSet, List" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3.12/site-packages/rpds/__init__.py", line 1, in <module> from .rpds import * ModuleNotFoundError: No module named 'rpds.rpds' Where as it should have been: site-packages/rpds/rpds.cpython-312-arm-linux-gnueabihf.so Associated upstream bug report: https://github.com/PyO3/maturin/issues/2203 Associated upstream pull request: https://github.com/PyO3/maturin/pull/2204 Note - mitigation has not been tested with musl: https://github.com/PyO3/maturin/pull/2204#issuecomment-2323952320 (From OE-Core rev: 32a8a7379008cc6e367b7664c5b10b29f0bb8136) Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-zipp: upgrade 3.20.0 -> 3.20.1Wang Mingyu2024-09-041-1/+1
| | | | | | | | | | | Bugfix: - Replaced SanitizedNames with a more surgical fix for infinite loops, restoring support for names with special characters in the archive. (From OE-Core rev: 1c71b6b401bad423448d9edb4db4371e7bf605b6) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-websockets: upgrade 12.0 -> 13.0.1Wang Mingyu2024-09-041-1/+1
| | | | | | | | | | Changelog: https://github.com/python-websockets/websockets/blob/main/docs/project/changelog.rst (From OE-Core rev: a5a9eb1f27790d6f9997378955ef6f09eedab406) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pbr: upgrade 6.0.0 -> 6.1.0Wang Mingyu2024-09-043-12/+9
| | | | | | | | | | 0001-change-shebang-to-python3.patch refreshed for 6.1.0 (From OE-Core rev: 14e7455069137ec8ef2866fa3160e92f86fc71d8) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>