summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* python3: parallelize ptests, add test_cppext dependenciesTrevor Gamblin2023-07-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is based on a previous patch from Alex Kanavin (thanks Alex), but it retains our use of sed to parse the test output into a usable form. The intent was to use the test module's --junit-xml feature and parse the resulting log instead of using sed, but various errors were encountered when testing this method, so that will need further investigation before we can consider adopting it. Two missing ptest dependencies on python3-cgitb and python3-zipapp were already merged in a previous patch, so only gcc, g++, and binutils were left to add as ptest RDEPENDS. ptest output and runtime with this change: == Tests result: SUCCESS == 405 tests OK. 29 tests skipped: test_asdl_parser test_check_c_globals test_clinic test_curses test_devpoll test_gdb test_idle test_ioctl test_kqueue test_launcher test_msilib test_ossaudiodev test_readline test_smtpnet test_socketserver test_startfile test_tcl test_tix test_tk test_ttk_guionly test_ttk_textonly test_turtle test_urllib2net test_urllibnet test_winconsoleio test_winreg test_winsound test_xmlrpc_net test_zipfile64 Total duration: 5 min 3 sec [YOCTO #13298] (From OE-Core rev: 50a719d3002a4119e8b2be43aec8fe01aa0c2a40) 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-jsonpointer: upgrade to 2.4Ross Burton2023-07-102-65/+1
| | | | | | | | | Drop the merged patch. (From OE-Core rev: d4581006a2a05c289280bece02b9a44e409299b8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygments: upgrade 2.14.0 -> 2.15.1Tim Orling2023-07-101-2/+2
| | | | | | | | | | | | | | | | * Upstream has dropped setup.py * Inherit python_setuptools_build_meta instead of setuptools3 * Add self as maintainer, as this is a dependency for python3-sphinx Adds some new lexers, updates a few others. A handful of bug fixes. https://github.com/pygments/pygments/blob/2.15.1/CHANGES#L6 https://github.com/pygments/pygments/blob/2.15.1/CHANGES#L18 (From OE-Core rev: 22e2569ae4843071b2b48d026ca4742351baf6d1) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: add cgitb, zipapp ptest dependenciesTrevor Gamblin2023-07-101-5/+5
| | | | | | | | | | | | Without these, test_cgitb and test_zipapp both fail when running the python3 ptests. Also reorder the ${PN}-misc list to be alphabetical. (From OE-Core rev: 379c5fac766472da7c32937acc6fdf8363bdd935) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix missing comma in get_module_deps3.pyRoss Burton2023-07-101-1/+1
| | | | | | | | | | | | | Wes Tarro <wes.tarro@azuresummit.com> noticed a missing comma in a preplace() call, add it. That said, calling replace() with one argument results in a TypeError, so this is obviously dead code. (From OE-Core rev: 9b2e2c8d809e7ca34451ec9702b029a00dfb410b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.79.2 -> 6.80.0Tim Orling2023-07-101-1/+1
| | | | | | | | | | | | | | | | | | | Changes: * This release drops support for Python 3.7, which reached end of life on 2023-06-27. * Fixes occasional recursion-limit-exceeded errors when validating deeply nested strategies. Closes: issue #3671 * This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. https://hypothesis.readthedocs.io/en/latest/changes.html#v6-80-0 https://hypothesis.readthedocs.io/en/latest/changes.html#v6-79-4 https://hypothesis.readthedocs.io/en/latest/changes.html#v6-79-3 (From OE-Core rev: 550b8406a479c70206a81c4f24019cb8dadc49db) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-typing-extensions: upgrade 4.6.3 -> 4.7.0Tim Orling2023-07-101-1/+1
| | | | | | | | | | | | | | | | New features and bug fixes. NOTE: This is expected to be the last feature release supporting Python 3.7, which reaches its end of life on June 27, 2023. Version 4.8.0 will support only Python 3.8.0 and up. https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-470-june-28-2023 https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-470rc1-june-21-2023 (From OE-Core rev: a9a8aa9a33403fb8465b510e5b39417dc2ac72a1) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-urllib3: upgrade 2.0.2 -> 2.0.3Tim Orling2023-07-101-2/+2
| | | | | | | | | | | | | | | | | | | https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#203-2023-06-07 * Allowed alternative SSL libraries such as LibreSSL, while still issuing a warning as we cannot help users facing issues with implementations other than OpenSSL. (#3020) * Deprecated URLs which don't have an explicit scheme (#2950) * Fixed response decoding with Zstandard when compressed data is made of several frames. (#3008) * Fixed assert_hostname=False to correctly skip hostname check. (#3051) License-Update: Removed outdated reference to CONTRIBUTORS.txt (From OE-Core rev: 38464a98571d8c2c321b976fbf7963262531c25c) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest-subtests: upgrade 0.10.0 -> 0.11.0Tim Orling2023-07-101-2/+2
| | | | | | | | | | | | | | | | | | * inherit python_setuptools_build_meta since setup.py was dropped https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst#0110-2023-05-15 * Logging is displayed for failing subtests (#92) * Passing subtests no longer turn the pytest output to yellow (as if warnings have been issued) (#86). Thanks to Andrew-Brock for providing the solution. * Now the msg contents of a subtest is displayed when running pytest with -v (#6). (From OE-Core rev: 6e2990c871043f4c94b9a7838c56a8e189ea66a1) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography: update a patch to upstream's better followup fixAlexander Kanavin2023-06-283-30/+53
| | | | | | | (From OE-Core rev: 3a36043ab0e09213438671e980481c3a57bfb540) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-sphinx-rtd-theme: upgrade 1.2.1 -> 1.2.2Wang Mingyu2023-06-281-1/+1
| | | | | | | (From OE-Core rev: 6c47cbed6d727b46c0bacfcf55dd745c3d601c27) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-ruamel-yaml: upgrade 0.17.31 -> 0.17.32Wang Mingyu2023-06-281-1/+1
| | | | | | | | | | Changelog: - fix issue with scanner getting stuck in infinite loop (From OE-Core rev: 4a09cab4b66e3e48421ea377db0f53a3816dca96) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: upgrade 7.3.1 -> 7.4.0Wang Mingyu2023-06-281-1/+1
| | | | | | | | | | Changelog: https://docs.pytest.org/en/stable/changelog.html (From OE-Core rev: 272f6ac29246c67c8ed1ed685ab2c0631fc5fbe3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyparsing: upgrade 3.0.9 -> 3.1.0Wang Mingyu2023-06-281-1/+1
| | | | | | | | | | | | Changelog: ========== - Added 'tag_emitter.py' to examples. This example demonstrates how to insert tags into your parsed results that are not part of the original parsed text. (From OE-Core rev: 5a255078fd195d824d7480d385f70eb0bd31eb3a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycairo: upgrade 1.23.0 -> 1.24.0Wang Mingyu2023-06-281-1/+1
| | | | | | | | | | | | | | | | | | Changelog: ========== * Dropped Python 3.7 support * Bumped meson version requirement from 0.53.0 to 0.56.0 * Various cairo dependency updates for the Windows wheel build * examples: update to GTK4 :pr:'307' * examples: add a clip_image example :pr:'316' * docs: fix the build with Sphinx 6 :pr:'318' * Various code cleanups :pr:'306' * Added Python 3.12 Windows wheels (From OE-Core rev: d8e2684fab2e340e287bf73a2075bca36b1bbc1c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pluggy: upgrade 1.0.0 -> 1.2.0Wang Mingyu2023-06-281-1/+1
| | | | | | | | | | | | | | | Changelog: ========== #405: The new-style hook wrappers, added in the yanked 1.1.0 release, now require an explicit wrapper=True designation in the @hookimpl() decorator. #364: Python 3.6 is no longer supported. #260: Added "new-style" hook wrappers, a simpler but equally powerful alternative to the existing hookwrapper=True wrappers. #364: Python 3.11 and 3.12 are now officially supported. #394: Added the :meth:`~pluggy._callers._Result.force_exception` method to _Result. (From OE-Core rev: 5e9e7c60698ebcbe4a774283bad54c6bcf675a7f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-markupsafe: upgrade 2.1.2 -> 2.1.3Wang Mingyu2023-06-281-1/+1
| | | | | | | | | | | | | Changelog: ========= Implement format_map, casefold, removeprefix, and removesuffix methods. #370 Fix static typing for basic str methods on Markup. #358 Use Self for annotating return types. #379 (From OE-Core rev: f4c2415e55607e7ff2fb24f0791199145958d976) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-iso8601: upgrade 1.1.0 -> 2.0.0Wang Mingyu2023-06-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | added ------ Add just for development commands Add Python 3.12 support changed --------- Move changelog into CHANGELOG.md Freshen up README fixed ------ Fix test_fixedoffset_eq by adding an actual assertion removed -------- Drop Python 3.6 support (3.6 is end of life) (From OE-Core rev: c10fda975c305f9afda5f76e9fdd12a25d9d2340) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 6.6.0 -> 6.7.0Wang Mingyu2023-06-281-1/+1
| | | | | | | | | | Changelog: #453: When inferring top-level names that are importable for distributions in package_distributions, now symlinks to other directories are honored. (From OE-Core rev: bb1b9362c331606d2154b2d86168087fe4cb48d5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.75.7 -> 6.79.2Wang Mingyu2023-06-281-1/+1
| | | | | | | | | | Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html (From OE-Core rev: c1b19db36664d4d73fee106f199ce212e85e3e5d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatchling: upgrade 1.17.0 -> 1.18.0Wang Mingyu2023-06-281-1/+1
| | | | | | | | | | | | | | | | | | | | Changed: -------- Drop support for Python 3.7 Added: -------- Update the list of directories that are always excluded for builds Fixed: ------- Fix dev mode when the project has symlinks and file inclusion is defined with the packages or only-include options Change the name of generated PTH files for dev mode so they come first lexicographically and therefore load first (From OE-Core rev: 3fee779a6083ed39c31f1fb7d6486ab3921246d4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-typing-extensions: upgrade 4.6.2 -> 4.6.3Wang Mingyu2023-06-281-2/+2
| | | | | | | | | | | | | | | | | | License-Update:Sync LICENSE with CPython Changelog: ========== - Fix a regression introduced in v4.6.0 in the implementation of runtime-checkable protocols. - Sync the repository's LICENSE file with that of CPython. typing_extensions is distributed under the same license as CPython itself. - Skip a problematic test on Python 3.12.0b1. The test fails on 3.12.0b1 due to a bug in CPython, which will be fixed in 3.12.0b2. The typing_extensions test suite now passes on 3.12.0b1. (From OE-Core rev: ad3c337bc66b8022f71a9775a8b1b1b234d9c1c3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 1.24.3 -> 1.25.0Wang Mingyu2023-06-281-2/+2
| | | | | | | | | | | | | | | | License-Update: Copyright year updated to 2023. Changelog: =========== Support for MUSL, there are now MUSL wheels. Support the Fujitsu C/C++ compiler. Object arrays are now supported in einsum Support for inplace matrix multiplication (@=). (From OE-Core rev: bf7f1dbb504c57c756f8c48411aa5ac13ac5a1c3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: update 3.11.3 -> 3.11.4Alexander Kanavin2023-06-276-14/+14
| | | | | | | | (From OE-Core rev: f7f163ebe8c53de4314d04595c1fbcc7af2deccc) 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-cryptography-vectors: update 39.0.2 -> 41.0.1Alexander Kanavin2023-06-271-2/+2
| | | | | | | | | | Convert to python_setuptools_build_meta. (From OE-Core rev: f1e607a870e31e345355876b4f4d386456f53d01) 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-cryptography: update 39.0.2 -> 41.0.1Alexander Kanavin2023-06-275-153/+131
| | | | | | | | | | | | | | Drop 0002-Cargo.toml-edition-2018-2021.patch (issue fixed upstream) License-Update: PSF licensed code removed as of https://github.com/pyca/cryptography/commit/5e6476a4c6e094926a983dcf5cbe9488c30aeb53 (From OE-Core rev: 5c7ea0531bd099006c258b50c7b1747182123ae0) 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-dbusmock: only recommend python3-pygobjectRoss Burton2023-06-211-1/+2
| | | | | | | | | | | | | dbusmock doesn't actually hard-depend on pygobject, some of the templates use it but it isn't mandatory. Change the RDEPENDS to RRECOMMENDS, and only recommend if g-i is enabled. (From OE-Core rev: 943d438e2ebce5e76e03dd60ed78acdf9059a10a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-bcrypt: Use BFD linker when building testsKhem Raj2023-06-211-0/+1
| | | | | | | | | | | | | | Some of the tests use symbols from libpython3 e.g. PyBytes_FromStringAndSize but does not add it to linker cmdline, its perhaps cargo which should be fixed for that, this however is not something we can fix in OE. So switch to using bfd linker explicitly when building with ptests (From OE-Core rev: b4392ebb512fa48168a48fbff3e9140a8e1b7ec4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-sphinx: remove BSD-3-Clause from LICENSEAlexander Kanavin2023-06-161-1/+1
| | | | | | | | | | | License-Update: BSD-3-Clause code removed in https://github.com/sphinx-doc/sphinx/commit/a7f5d91c29d6f377b9fe7e926965c6f9d3e7b802 which was a part of 7.0.1 update (From OE-Core rev: d3e4aa691c44bdcfd40c6ed3947dc19991b88454) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyopenssl: upgrade 23.1.1 -> 23.2.0Alexander Kanavin2023-06-161-1/+1
| | | | | | | (From OE-Core rev: ae43bb968f6cc5c058fab4bfff4169f74ae3eff1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyasn1: upgrade 0.4.8 -> 0.5.0Alexander Kanavin2023-06-163-34/+5
| | | | | | | | | License-Update: copyright years (From OE-Core rev: d36e4228bd94ae9a9ca0feeaa9541ed5afafdd44) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 6.2.0 -> 6.6.0Alexander Kanavin2023-06-161-1/+1
| | | | | | | (From OE-Core rev: b26be993e34a83f137a1526323703a6949272e97) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-flit-core: upgrade 3.8.0 -> 3.9.0Alexander Kanavin2023-06-161-1/+1
| | | | | | | (From OE-Core rev: b930d3aeccc567227607316cd30ed8655aafc07c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-docutils: upgrade 0.19 -> 0.20.1Alexander Kanavin2023-06-161-2/+2
| | | | | | | | | License-Update: formatting (From OE-Core rev: 2c5d29c0d78a531a5e5a0b6f88ad773edf7b8bb2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-certifi: upgrade 2022.12.7 -> 2023.5.7Alexander Kanavin2023-06-161-1/+1
| | | | | | | (From OE-Core rev: 2f4258368a9f0c9ff1b7dd83d2164d12bfe79b97) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: upgrade 3.11.2 -> 3.11.3Alexander Kanavin2023-06-164-4/+4
| | | | | | | (From OE-Core rev: 7d5bb3a4690ef61a1fee21773b4717e829789e32) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-poetry-core: upgrade 1.5.2 -> 1.6.1Trevor Gamblin2023-06-071-2/+2
| | | | | | | | | | | | | Changelog: https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md Notably, the project replaced its use of tomlkit with tomli, so the LICENSEs and associated checksums had to be changed. (From OE-Core rev: 2e26af9c67ba0ceccdda3eb8340fddb95f3864ca) 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-webcolors: upgrade 1.12 -> 1.13Trevor Gamblin2023-06-071-3/+3
| | | | | | | | | | | | | | | | | | | | | Replaced the inherit of setuptools3 with python_setuptools_build_meta to make the new version build. Changelog (see https://webcolors.readthedocs.io/en/latest/changelog.html): - Supported Python versions are now 3.7, 3.8, 3.9, 3.10, and 3.11 - The codebase was significantly reorganized and modernized. Public API is unchanged. Imports should continue to be directly from the top-level webcolors module; attempting to import from submodules is not supported. - Now packaging declaratively via pyproject.toml with PEP 517 support from setuptools. (From OE-Core rev: 434aaf5e02332a54a17a2812969165f6f6b3674b) 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-typing-extensions: upgrade 4.5.0 -> 4.6.2Wang Mingyu2023-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ - Fix use of @deprecated on classes with __new__ but no __init__. - Fix regression in version 4.6.1 where comparing a generic class against a runtime-checkable protocol using isinstance() would cause AttributeError to be raised if using Python 3.7. - Change deprecated @runtime to formal API @runtime_checkable in the error message. - Fix regression in 4.6.0 where attempting to define a Protocol that was generic over a ParamSpec or a TypeVarTuple would cause TypeError to be raised. - typing_extensions is now documented at https://typing-extensions.readthedocs.io/en/latest/. - Add typing_extensions.Buffer, a marker class for buffer types, as proposed by PEP 688. Equivalent to collections.abc.Buffer in Python 3.12. - Backport two CPython PRs fixing various issues with typing.Literal: python/cpython#23294 and python/cpython#23383. Both CPython PRs were originally, and both were backported to Python >=3.9.1, but no earlier. - A side effect of one of the changes is that equality comparisons of Literal objects will now raise a TypeError if one of the Literal objects being compared has a mutable parameter. (Using mutable parameters with Literal is not supported by PEP 586 or by any major static type checkers.) - Literal is now reimplemented on all Python versions <= 3.10.0. - Backport CPython PR 26067, ensuring that isinstance() calls on protocols raise TypeError when the protocol is not decorated with @runtime_checkable. - Backport several significant performance improvements to runtime-checkable protocols that have been made in Python 3.12 (see python/cpython#74690 for details). - A side effect of one of the performance improvements is that the members of a runtime-checkable protocol are now considered "frozen" at runtime as soon as the class has been created. Monkey-patching attributes onto a runtime-checkable protocol will still work, but will have no impact on isinstance() checks comparing objects to the protocol. See "What's New in Python 3.12" for more details. - isinstance() checks against runtime-checkable protocols now use inspect.getattr_static() rather than hasattr() to lookup whether attributes exist (backporting python/cpython#103034). - Backport the ability to define __init__ methods on Protocol classes, a change made in Python 3.11 (originally implemented in python/cpython#31628 - Speedup isinstance(3, typing_extensions.SupportsIndex) by >10x on Python <3.12. - Add typing_extensions versions of SupportsInt, SupportsFloat, SupportsComplex, SupportsBytes, SupportsAbs and SupportsRound. These have the same semantics as the versions from the typing module, but isinstance() checks against the typing_extensions versions are >10x faster at runtime on Python <3.12. - Add __orig_bases__ to non-generic TypedDicts, call-based TypedDicts, and call-based NamedTuples. - Add typing_extensions.get_original_bases, a backport of types.get_original_bases, introduced in Python 3.12 (CPython PR python/cpython#101827, originally - This function should always produce correct results when called on classes constructed using features from typing_extensions. - Constructing a call-based TypedDict using keyword arguments for the fields now causes a DeprecationWarning to be emitted. This matches the behaviour of typing.TypedDict on 3.11 and 3.12. - Backport the implementation of NewType from 3.10 (where it is implemented as a class rather than a function). This allows user-defined NewTypes to be pickled. - Fix tests and import on Python 3.12, where typing.TypeVar can no longer be subclassed. - Add typing_extensions.TypeAliasType, a backport of typing.TypeAliasType from PEP 695. - Backport changes to the repr of typing.Unpack that were made in order to implement PEP 692 (backport of python/cpython#104048). (From OE-Core rev: a37154b9166323d05cca970ebb37bee0d5250893) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-trove-classifiers: upgrade 2023.5.2 -> 2023.5.24Wang Mingyu2023-06-021-1/+1
| | | | | | | | | | | Changelog: Add identifier "Programming Language :: Lua" (#145) (From OE-Core rev: e39aa7d116826a34900f4fcd2a4c38e81116c4fc) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-sphinx-rtd-theme: upgrade 1.2.0 -> 1.2.1Wang Mingyu2023-06-021-1/+1
| | | | | | | | (From OE-Core rev: 83019518bbd32c2c2fc753d3e9ec8c205682285a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-rust: upgrade 1.5.2 -> 1.6.0Wang Mingyu2023-06-021-1/+1
| | | | | | | | | | | | | | Changelog: ========== Prefer passing --crate-type option to cargo if "toolchain >= 1.64". #322 Fix a bug where rebuilding the library would cause any running processes using it to segfault. #295 Fix setup.cfg format for compatibility with "poetry==1.4.0". #319 (From OE-Core rev: 04cae5651275b233ec0ecd9c51ee0aaad951baa0) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-requests: upgrade 2.30.0 -> 2.31.0Wang Mingyu2023-06-021-1/+1
| | | | | | | | | | | | | | Changelog: ========== Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential forwarding of Proxy-Authorization headers to destination servers when following HTTPS redirects. (From OE-Core rev: 97bdf3baf6e612757863e05e84e3b79c4330d27b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodomex: upgrade 3.17 -> 3.18.0Wang Mingyu2023-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | Changelog: =========== New features --------------- * Added support for DER BOOLEAN encodings. * The library now compiles on Windows ARM64. Resolved issues --------------- * GH#722: "nonce" attribute was not correctly set for XChaCha20_Poly1305 ciphers. * GH#728: Workaround for a possible x86 emulator bug in Windows for ARM64. * GH#739: OID encoding for arc 2 didn't accept children larger than 39. * Correctly check that the scalar matches the point when importing an ECC private key. (From OE-Core rev: e11c8fe22ed3683d032b4a1d3c46f607c36edbf2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodome: upgrade 3.17 -> 3.18.0Wang Mingyu2023-06-022-5/+5
| | | | | | | | | | | | | | | | | | | | | | Changelog: =========== New features --------------- * Added support for DER BOOLEAN encodings. * The library now compiles on Windows ARM64. Resolved issues --------------- * GH#722: "nonce" attribute was not correctly set for XChaCha20_Poly1305 ciphers. * GH#728: Workaround for a possible x86 emulator bug in Windows for ARM64. * GH#739: OID encoding for arc 2 didn't accept children larger than 39. * Correctly check that the scalar matches the point when importing an ECC private key. (From OE-Core rev: 74ab9f3f90ca56fbef06b3f075b0120da052b379) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 1.24.2 -> 1.24.3Wang Mingyu2023-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== A total of 17 pull requests were merged for this release. #23206: BUG: fix for f2py string scalars (#23194) #23207: BUG: datetime64/timedelta64 comparisons return NotImplemented #23208: MAINT: Pin matplotlib to version 3.6.3 for refguide checks #23221: DOC: Fix matplotlib error in documentation #23226: CI: Ensure submodules are initialized in gitpod. #23341: TYP: Replace duplicate reduce in ufunc type signature with reduceat. #23342: TYP: Remove duplicate CLIP/WRAP/RAISE in __init__.pyi. #23343: TYP: Mark d argument to fftfreq and rfftfreq as optional... #23344: TYP: Add type annotations for comparison operators to MaskedArray. #23345: TYP: Remove some stray type-check-only imports of msort #23370: BUG: Ensure like is only stripped for like= dispatched functions #23543: BUG: fix loading and storing big arrays on s390x #23544: MAINT: Bump larsoner/circleci-artifacts-redirector-action #23634: BUG: Ignore invalid and overflow warnings in masked setitem #23635: BUG: Fix masked array raveling when order="A" or order="K" #23636: MAINT: Update conftest for newer hypothesis versions #23637: BUG: Fix bug in parsing F77 style string arrays. (From OE-Core rev: 38192c432204ec498cbdd1005ec2577f84e36018) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.71.0 -> 6.75.7Wang Mingyu2023-06-021-1/+1
| | | | | | | | | | | Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html (From OE-Core rev: 80005afefa000dd4016a63cb365735666f898d3d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatch-fancy-pypi-readme: upgrade 22.8.0 -> 23.1.0Wang Mingyu2023-06-021-1/+1
| | | | | | | | | | | Changelog: Add CLI support for hatch.toml. (From OE-Core rev: 9c1c6442d015e86fc07a154bed1e28ecde659f0e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbusmock: upgrade 0.28.7 -> 0.29.0Wang Mingyu2023-06-021-1/+1
| | | | | | | | | | | | | Changelog: ========== Support loading templates from XDG_DATA_DIRS iio-sensors-proxy: Throw proper D-Bus errors instead of Python Exception (From OE-Core rev: f32eb15fc3d310803bc99012039989d039b34959) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: upgrade 0.29.34 -> 0.29.35Wang Mingyu2023-06-022-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== * A garbage collection enabled subtype of a non-GC extension type could call into the deallocation function of the super type with GC tracking enabled. This could lead to crashes during deallocation if GC was triggered on the type at the same time. (Github issue :issue:'5432') * Some C compile failures and crashes in CPython 3.12 were resolved. * "except + nogil" was syntactically not allowed. "except +nogil" (i.e. defining a C++ exception handling function called "nogil") is now disallowed to prevent typos. (Github issue :issue:'5430') * A C compile failure in PyPy 3.10 was resolved. Patch by Matti Picus. (Github issue :issue:'5408') * Cython modules now use PEP-489 multi-phase init by default in PyPy 3.9 and later. Original patch by Matti Picus. (Github issue :issue:'5413') * API header files generated by different Cython versions can now be included in the same C file. (Github issue :issue:'5383') * Function signatures containing a type like 'tuple[()]' could not be printed. Patch by Lisandro Dalcin. (Github issue :issue:'5355') (From OE-Core rev: 73a1e908048374d6873497beacab9ae26b258332) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>