summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* python3-maturin: upgrade 1.7.0 -> 1.7.1Wang Mingyu2024-09-042-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | Changelog ========= - Update clap_complete_command to v0.6.1 - Fix platform tags when cross-compiling universal2 - Fix Typo in Migration Guide - Fix rust 1.80 clippy errors - Don't check .gitignore files in parent directories - Replace --skip-auditwheel with --auditwheel option - Remove install_requires and setup_requires from setup.py - Use modern stripping option - Move project metadata from setup.py to pyproject.toml - Update manylinux/musllinux policies to the latest main - use just licenses as the license directory in a wheel - Forward cargo package --list warnings - Add current package context to source dist error - Place source dist readmes next to Cargo.toml (From OE-Core rev: 48e00b925648dc394bf3ba08324b333b44a5ec0b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-idna: upgrade 3.7 -> 3.8Wang Mingyu2024-09-041-1/+1
| | | | | | | | | | | | | | Changelog: ========== - Fix regression where IDNAError exception was not being produced for certain inputs. - Add support for Python 3.13, drop support for Python 3.5 as it is no longer testable. - Documentation improvements - Updates to package testing using Github actions (From OE-Core rev: 23075f8fd3144338cac1e3ad0b6b81d2376d2d4b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-certifi: upgrade 2024.7.4 -> 2024.8.30Wang Mingyu2024-09-041-1/+1
| | | | | | | (From OE-Core rev: 864b7b4affae0bf6a57cbdd2f2e4a07c1468705b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Backport fixes for CVE-2024-7592Khem Raj2024-09-012-0/+232
| | | | | | | | (From OE-Core rev: 340867efbbf517393c12466d0490f96ef7c45642) 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-pyparsing: upgrade 3.1.2 -> 3.1.4Trevor Gamblin2024-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog (https://github.com/pyparsing/pyparsing/releases): 3.1.4 - Fixed a regression introduced in pyparsing 3.1.3, addition of a type annotation that referenced re.Pattern. Since this type was introduced in Python 3.7, using this type definition broke Python 3.6 installs of pyparsing 3.1.3. PR submitted by Felix Fontein, nice work! 3.1.3 - Added new Tag ParserElement, for inserting metadata into the parsed results. This allows a parser to add metadata or annotations to the parsed tokens. The Tag element also accepts an optional value parameter, defaulting to True. See the new tag_metadata.py example in the examples directory. Example: # add tag indicating mood end_punc = "." | ("!" + Tag("enthusiastic"))) greeting = "Hello" + Word(alphas) + end_punc result = greeting.parse_string("Hello World.") print(result.dump()) result = greeting.parse_string("Hello World!") print(result.dump()) prints: ['Hello', 'World', '.'] ['Hello', 'World', '!'] - enthusiastic: True - Added example mongodb_query_expression.py, to convert human-readable infix query expressions (such as a==100 and b>=200) and transform them into the equivalent query argument for the pymongo package ({'$and': [{'a': 100}, {'b': {'$gte': 200}}]}). Supports many equality and inequality operators - see the docstring for the transform_query function for more examples. - Fixed issue where PEP8 compatibility names for ParserElement static methods were not themselves defined as staticmethods. When called using a ParserElement instance, this resulted in a TypeError exception. Reported by eylenburg (#548). To address a compatibility issue in RDFLib, added a property setter for the ParserElement.name property, to call ParserElement.set_name. Modified ParserElement.set_name() to accept a None value, to clear the defined name and corresponding error message for a ParserElement. Updated railroad diagram generation for ZeroOrMore and OneOrMore expressions with stop_on expressions, while investigating #558, reported by user Gu_f. Added <META> tag to HTML generated for railroad diagrams to force UTF-8 encoding with older browsers, to better display Unicode parser characters. - Fixed some cosmetics/bugs in railroad diagrams: fixed groups being shown even when show_groups=False show results names as quoted strings when show_results_names=True only use integer loop counter if repetition > 2 - Some type annotations added for parse action related methods, thanks August Karlstedt (#551). - Added exception type to trace_parse_action exception output, while investigating SO question posted by medihack. - Added set_name calls to internal expressions generated in infix_notation, for improved railroad diagramming. - delta_time, lua_parser, decaf_parser, and roman_numerals examples cleaned up to use latest PEP8 names and add minor enhancements. - Fixed bug (and corresponding test code) in delta_time example that did not handle weekday references in time expressions (like "Monday at 4pm") when the weekday was the same as the current weekday. - Minor performance speedup in trim_arity, to benefit any parsers using parse actions. - Added early testing support for Python 3.13 with JIT enabled. (From OE-Core rev: 320d54ab73071fd58667e672a3d5415fc8bd5e29) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.111.1 -> 6.111.2Trevor Gamblin2024-08-301-1/+1
| | | | | | | | | | | | Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html) 6.111.2 - 2024-08-24 - This patch contains some internal code cleanup. There is no user-visible change. (From OE-Core rev: 0c8b7df87ab5dca0618ddf5acdcd3e8eedc1163f) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-scons: update 4.7.0 -> 4.8.0Alexander Kanavin2024-08-282-38/+4
| | | | | | | | | Manpages are no longer installed, and so the patch isn't needed. (From OE-Core rev: 267b3c0c155addf77370a6355b6fdbb004d66240) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyyaml: update 6.0.1 -> 6.0.2Alexander Kanavin2024-08-282-58/+2
| | | | | | | | | With this release, cython 3.x is finally officially supported. (From OE-Core rev: 4ea0c1eb42624ea142dd3d319d2bf750eb1af764) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyopenssl: update 24.1.0 -> 24.2.1Alexander Kanavin2024-08-281-2/+2
| | | | | | | (From OE-Core rev: d92205cddc27c154ad3b11ab265f8ad3633f0fa6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: 24.0 -> 24.2Alexander Kanavin2024-08-282-14/+8
| | | | | | | | | License-update: formatting, newly added trustore is under MIT. (From OE-Core rev: 8b4717f6ef03e33f37ebf90bea10ac04ee501064) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-license-expression: update 30.3.0 -> 30.3.1Alexander Kanavin2024-08-281-1/+2
| | | | | | | (From OE-Core rev: 57b25a2995b1b1501b89003c3bc88b1032ac9f6a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-webcolors: upgrade 1.13 -> 24.8.0Alexander Kanavin2024-08-231-2/+2
| | | | | | | | | License-Update: copyright years (From OE-Core rev: 4e96b886e0e84ecb5f19e73dea444883257da25f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-uritools: upgrade 4.0.2 -> 4.0.3Alexander Kanavin2024-08-231-2/+2
| | | | | | | | | License-Update: copyright years (From OE-Core rev: 807babe5392d3db02b237b17ad5ae773265c26de) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dtschema: upgrade 2024.4 -> 2024.5Alexander Kanavin2024-08-231-1/+1
| | | | | | | (From OE-Core rev: 2dfb0dc128a1a3470c8eb43fb684df9e4589e1e7) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 72.1.0 -> 72.2.0Wang Mingyu2024-08-211-1/+1
| | | | | | | | | | | | Changelog: - Support for Pathlike objects in data files and extensions - native support for C++ compilers - removed unused get_msvcr() (From OE-Core rev: 8fccef7a731f44e5d27653e06becb54cf770e5e5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-lxml: upgrade 5.2.2 -> 5.3.0Wang Mingyu2024-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | Changelog: =========== * GH#421: Nested "CDATA" sections are no longer rejected but split on output to represent "]]>" correctly. * LP#2060160: Attribute values serialised differently in "xmlfile.element()" and "xmlfile.write()". * LP#2058177: The ISO-Schematron implementation could fail on unknown prefixes. * LP#2067707: The "strip_cdata" option in "HTMLParser()" turned out to be useless and is now deprecated. * Binary wheels use the library versions libxml2 2.12.9 and libxslt 1.1.42. * Windows binary wheels use the library versions libxml2 2.11.8 and libxslt 1.1.39. * Built with Cython 3.0.11. (From OE-Core rev: 850831bc33ff6cd50f17c8c45f1e9de6a0cddebb) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.110.1 -> 6.111.1Wang Mingyu2024-08-211-1/+1
| | | | | | | | | | | | | | Changelog: ========== -improves shrinking in cases involving 'slips' from one strategy to another. -reduces the range of :class:'python:datetime.datetime' generated by : func:'~hypothesis.extra.django.from_model' in order to avoid https://code.djangoproject.com/ticket/35683. (From OE-Core rev: d92f2fc4a2ee242d12bee37764fdac07446b851d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-babel: upgrade 2.15.0 -> 2.16.0Wang Mingyu2024-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= - CLDR: Upgrade to CLDR 45 - Lists: Support list format fallbacks - Messages: Initial support for reading mapping configuration as TOML - CLDR: Do not allow substituting alternates or drafts in derived locales - Core: Allow falling back to modifier-less locale data - Core: Allow use of importlib.metadata for finding entrypoints - Dates: Avoid crashing on importing localtime when TZ is malformed - Messages: Allow parsing .po files that have an extant but empty Language header - Messages: Fix --ignore-dirs being incorrectly read - Messages: Make pgettext search plurals when translation is not found - Replace deprecated ast.Str with ast.Constant - Test on Python 3.13 beta releases - Normalize package name to lower-case in setup.py - Add a mention to the docs that format_skeleton(..., fuzzy=True) may raise - Two hyperlinks (to CLDR) and some typos (From OE-Core rev: 84a3c529fd41af3c5967ee56b4cbb37e626c8c15) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: skip readline limited history testsTrevor Gamblin2024-08-152-0/+42
| | | | | | | | | | | | | Python 3.12.5 is failing a newer ptest for reading/writing limited history when editline (default) is set in PACKAGECONFIG. Skip it for now until a proper fix (if any) is determined. A bug has been opened upstream: https://github.com/python/cpython/issues/123018 (From OE-Core rev: de569ddffd5ea36b70c56df21dec9c892e5dee7d) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: upgrade 3.12.4 -> 3.12.5Trevor Gamblin2024-08-151-1/+1
| | | | | | | | | | Changelog: https://docs.python.org/release/3.12.5/whatsnew/changelog.html (From OE-Core rev: d9e2ebd6b24b802d1d4cd38b3b910e068c308809) 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-setuptools-rust: upgrade 1.9.0 -> 1.10.1Tim Orling2024-08-151-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set PYPI_PACKAGE = "setuptools_rust" * Cleanup SRC_URI as we do not need old tarball link anymore and PYPI_SRCURI should be the default. https://github.com/PyO3/setuptools-rust/compare/v1.9.0...v1.10.1 1.10.1 (2024-08-04) * Fixed - Fix regression in 1.10.0 where editable builds would be built in release mode 1.10.0 (2024-08-03) * Packaging - Extend macOS build flags to iOS, tvOS and watchOS. #436 - Support Python 3.13. #446 * Changed - Add SETUPTOOLS_RUST_PEP517_USE_BASE_PYTHON environment variable to use the base interpreter path when running inside a virtual environment to avoid recompilation when switching between virtual environments. #429 - Delay import of dependencies until use to avoid import errors during a partially complete install when multiple packages are installing at once. #437 - Deprecate --build-temp argument to build_rust command (it does nothing). #457 (From OE-Core rev: 14c67686cc306a4d5796a933fcb3cd3f27f2a2c9) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-attrs: upgrade 23.2.0 -> 24.2.0Tim Orling2024-08-153-78/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Drop 0001-test_funcs-skip-test_unknown-for-pytest-8.patch fixed upstream in https://github.com/python-attrs/attrs/pull/1249 * Drop 0001-conftest.py-disable-deadline.patch upstream wanted to try doubling the deadline time https://github.com/python-attrs/attrs/pull/1252 from 200 ms default to 400 ms (we saw some times a bit greater than 200 ms) https://www.attrs.org/en/stable/changelog.html 24.2.0 - 2024-08-06 * Deprecations - Given the amount of warnings raised in the broader ecosystem, we’ve decided to only soft-deprecate the hash argument to @define / @attr.s. Please don’t use it in new code, but we don’t intend to remove it anymore. #1330 * Changes - attrs.converters.pipe() (and its syntactic sugar of passing a list for attrs.field()’s / attr.ib()’s converter argument) works again when passing attrs.setters.convert to on_setattr (which is default for attrs.define). #1328 - Restored support for PEP 649 / 749-implementing Pythons – currently 3.14-dev. #1329 24.1.0 - 2024-08-03 * Backwards-incompatible Changes - attrs.evolve() doesn’t accept the inst argument as a keyword argument anymore. Pass it as the first positional argument instead. #1264 - attrs.validators.provides() has been removed. The removed code is available as a gist for convenient copy and pasting. #1265 - All packaging metadata except from __version__ and __version_info__ has been removed from the attr and attrs modules (for example, attrs.__url__). - Please use importlib.metadata or importlib-metadata instead. #1268 - The generated __eq__ methods have been sped up significantly by generating a chain of attribute comparisons instead of constructing and comparing tuples. This change arguably makes the behavior more correct, but changes it if an attribute compares equal by identity but not value, like float('nan'). #1310 * Deprecations - The repr_ns argument to attr.s is now deprecated. It was a workaround for nested classes in Python 2 and is pointless in Python 3. #1263 - The hash argument to @attr.s, @attrs.define, and make_class() is now deprecated in favor of unsafe_hash, as defined by PEP 681. #1323 * Changes - Allow original slotted functools.cached_property classes to be cleaned by garbage collection. Allow super() calls in slotted cached properties. #1221 - Our type stubs now use modern type notation and are organized such that VS Code’s quick-fix prefers the attrs namespace. #1234 - Preserve AttributeError raised by properties of slotted classes with functools.cached_properties. #1253 - It is now possible to wrap a converter into an attrs.Converter and get the current instance and/or the current field definition passed into the converter callable. - Note that this is not supported by any type checker, yet. #1267 - attrs.make_class() now populates the __annotations__ dict of the generated class, so that attrs.resolve_types() can resolve them. #1285 - Added the attrs.validators.or_() validator. #1303 - The combination of a __attrs_pre_init__ that takes arguments, a kw-only field, and a default on that field does not crash anymore. #1319 - attrs.validators.in_() now transforms certain unhashable options to tuples to keep the field hashable. - This allows fields that use this validator to be used with, for example, attrs.filters.include(). #1320 - If a class has an inherited method called __attrs_init_subclass__, it is now called once the class is done assembling. - This is a replacement for Python’s __init_subclass__ and useful for registering classes, and similar. #1321 (From OE-Core rev: b8c45e8accdb7d74646fa15b775034eb3dcbdcd1) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: fix upstream check againAlexander Kanavin2024-08-151-0/+1
| | | | | | | | (From OE-Core rev: f729b7717ff39347ecc11ace884d6a44d96e2112) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-zipp: upgrade 3.19.2 -> 3.20.0Tim Orling2024-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | https://github.com/jaraco/zipp/compare/v3.19.1...v3.20.0 v3.20.0 * Features - Made the zipfile compatibility overlay available as zipp.compat.overlay. v3.19.3 * Bugfixes - Also match directories in Path.glob. (#121) v3.19.2 - No significant changes. (From OE-Core rev: 85d86591886d17b507cb9cc76ebfc8d3322aa86a) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>