summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* python3-sphinx: upgrade 6.1.3 -> 7.0.1Wang Mingyu2023-06-021-2/+2
| | | | | | | | | | | | | | | License-Update: Remove smartypants from LICENSE Changelog: =========== #11411: Support Docutils 0.20. #11418: Clean up remaining references to sphinx.setup_command following the removal of support for setuptools. (From OE-Core rev: c823432d3941c85ca936a99da69be35220f01bd9) 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-ruamel-yaml: upgrade 0.17.21 -> 0.17.31Wang Mingyu2023-06-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= - added tag.setter on 'ScalarEvent' and on 'Node', that takes either a 'Tag' instance, or a str - fix issue 467, caused by Tag instances not being hashable - changed the internals of the tag property from a string to a class which allows for preservation of the original handle and suffix. This should result in better results using documents with %TAG directives, as well as preserving URI escapes in tag suffixes. - fix for issue 464: documents ending with document end marker without final newline fail to load - fix issue with inline mappings as value for merge keys - fix for 468, error inserting after accessing merge attribute on "CommentedMap" - fix for issue 461 pop + insert on same 'CommentedMap' key throwing error - Fix for error on edge cage for issue 459 - fix for regression while dumping wrapped strings with too many backslashes removed - rewrite of "CommentedMap.insert()". If you have a merge key in the YAML document for the mapping you insert to, the position value should be the one as you look at the YAML input. This fixes issue 453 where other keys of a merged in mapping would show up after an insert It also fixes a call to '.insert()' resulting into the merge key to move to be the first key if it wasn't already and it is also now possible to insert a key before a merge key (even if the fist key in the mapping). - fix (in the pure Python implementation including default) for issue 447. also brought up by brent on 'StackOverflow <https://stackoverflow.com/q/40072485/1307905>'__) - fix 458, error on plain scalars starting with word longer than width. - fix for ".update()" no longer correctly handling keyword arguments - fix issue 454: high Unicode (emojis) in quoted strings always escaped - fix issue with emitter conservatively inserting extra backslashes in wrapped quoted strings - fix issue 449 where the second exclamation marks got URL encoded and fixing PR - fix issue with indent != 2 and literal scalars with empty first line - updated __repr__ of CommentedMap, now that Python's dict is ordered -> no more ordereddict(list-of-tuples) - merge MR 4, handling OctalInt in YAML 1.1 - fix loading of '!!float 42' - line numbers are now set on 'CommentedKeySeq' and 'CommentedKeyMap' (which are created if you have a sequence resp. mapping as the key in a mapping) - plain scalars: put single words longer than width on a line of their own, instead of after the previous line - fix for folded scalar part of 421: comments after ">" on first line of folded scalars are now preserved (as were those in the same position on literal scalars). - added stacklevel to warnings - typing changed from Py2 compatible comments to Py3, removed various Py2-isms License-Update: Copyright year updated to 2023 (From OE-Core rev: a83a1f21c1c1637017d4046b32fc5e558f342add) 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-psutil: upgrade 5.9.4 -> 5.9.5Wang Mingyu2023-06-021-2/+2
| | | | | | | | | | License-Update: Fix license: extra open quote. (From OE-Core rev: c59d320d21620eb0788f87828a402aef4393f499) 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-pip: upgrade 23.0.1 -> 23.1.2Wang Mingyu2023-06-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: -Copyright changed from "(C) 2016 Jason R Coombs <jaraco@jaraco.com>" to "Jason R. Coombs" -The wrapping position has been adjusted Changelog: =========== - Upgrade setuptools to 67.7.2 - Revert #11487, as it causes issues with virtualenvs created by the Windows Store distribution of Python. (#11987) - Fix grammar by changing "A new release of pip available:" to "A new release of pip is available:" in the notice used for indicating that. (#11529) - Normalize paths before checking if installed scripts are on PATH. (#11719) - Correct the way to decide if keyring is available. (#11774) - More consistent resolution backtracking by removing legacy hack related to setuptools resolution (#11837) - Include AUTHORS.txt in pip's wheels. (#11882) - The uninstall and install --force-reinstall commands no longer call normalize_path() repeatedly on the same paths. Instead, these results are cached for the duration of an uninstall operation, resulting in improved performance, particularly on Windows. (#11889) - Fix and improve the parsing of hashes embedded in URL fragments. (#11936) - When package A depends on package B provided as a direct URL dependency including a hash embedded in the link, the --require-hashes option did not warn when user supplied hashes were missing for package B. (#11938) - Correctly report requested_extras in the installation report when extras are specified for a local directory installation. (#11946) - When installing an archive from a direct URL or local file, populate download_info.info.hashes in the installation report, in addition to the legacy download_info.info.hash key. (#11948) (From OE-Core rev: d859e35c533976d05bc7e74e05c3fc111654670f) 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>
* Revert "python3/ruby/shadow: Revert add libxcrypt-native dependency"Richard Purdie2023-05-291-1/+1
| | | | | | | | | | | | | This reverts commit c6198e1b1c3e3a3413b6ff9f014b40114f1850db. This reverts commit 167c2c9f15c1bfe401c0512e420a76fa1379c012. This reverts commit 65532fc751dc00e5568e256166f7b259d3a3c06c. The dependencies should not be a -native in the target case. Revert these whilst the proper patch is worked out. (From OE-Core rev: 54eccb76eb8ba2086a56a30dfbb8aba06b02865a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: add libxcrypt-native dependencyMarkus Volk2023-05-281-1/+1
| | | | | | | | | crypt.h is otherwise taken from the host machine (From OE-Core rev: c6198e1b1c3e3a3413b6ff9f014b40114f1850db) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-async: remove recipeRoss Burton2023-05-222-16/+0
| | | | | | | | | | | This is part of the same project as GitPython, but hasn't been used by gitdb (the sole user) since 2014. (From OE-Core rev: 22a4aba5c2799cb09e1cdff075f9fe92426ea438) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-trove-classifiers: upgrade 2023.4.29 -> 2023.5.2Trevor Gamblin2023-05-221-1/+1
| | | | | | | | (From OE-Core rev: 682f527fb78ce3cce7e981dac9d55dde4e920784) 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-hatchling: upgrade 1.14.1 -> 1.17.0Trevor Gamblin2023-05-221-1/+1
| | | | | | | | (From OE-Core rev: f656c8b3b05f1453d0a6401613d1340b758b7a4b) 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-gitdb: remove python3-async dependencyRoss Burton2023-05-222-25/+21
| | | | | | | | | | | | | | The dependency on the async module was removed back in 0.6.0 (November 2014). Whilst here, also merge the bb/inc and stop using PYTHON_PN, as we only support Python 3. (From OE-Core rev: 5fc09287ec8ca4332614eaa6b0dd5aabf10f6a31) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-manifest: turtle: new packageBartosz Golaszewski2023-05-221-0/+12
| | | | | | | | | | | | Extend the manifest with definitions for the turtle package from the Python standard library. Currently this package cannot be imported at run-time because python3-misc doesn't pull the required dependencies. (From OE-Core rev: 09476b2be0c8a155dc6494442cc3caca97782595) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-manifest: zipapp: new packageBartosz Golaszewski2023-05-221-0/+13
| | | | | | | | | | | | Extend the manifest with definitions for the zipapp package from the Python standard library. Currently this package cannot be imported at run-time because python3-misc doesn't pull the required dependencies. (From OE-Core rev: 30186af3a3c46d9349940d952a0d8d1826b0dd4a) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-manifest: cgitb: new packageBartosz Golaszewski2023-05-221-0/+17
| | | | | | | | | | | | Extend the manifest with definitions for the cgitb package from the Python standard library. Currently this package cannot be imported at run-time because python3-misc doesn't pull the required dependencies. (From OE-Core rev: b9428ccad6238e33dc7bb344e06f4f8cf73b2ef8) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: add missing run-time dependenciesBartosz Golaszewski2023-05-221-1/+4
| | | | | | | | | | Add missing RDEPENDS for this package. (From OE-Core rev: b6d6b4be79b3ee0837680296c9c90e18d35fbee1) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodome: add missing run-time dependenciesBartosz Golaszewski2023-05-221-0/+2
| | | | | | | | | | Add missing RDEPENDS for this package. (From OE-Core rev: d22713851eaafad78b8b6392a7bff15d34b7d09c) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodome: don't use PYTHON_PNBartosz Golaszewski2023-05-221-3/+3
| | | | | | | | | | We no longer support python2. Drop PYTHON_PN and use python3 explicitly. (From OE-Core rev: f7b4443a83570f8e8560a684a580084053ba3c52) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyproject-hooks: add missing run-time dependenciesBartosz Golaszewski2023-05-221-1/+4
| | | | | | | | | | Add missing RDEPENDS for this package. (From OE-Core rev: 2720189038338518abc791609b5962dcce4aa30c) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-rust: fix RDEPENDS and allow target buildBartosz Golaszewski2023-05-221-7/+10
| | | | | | | | | | | | Cargo and rustc can now be built for the target architecture. There's no reason to limit the setuptools rust extensions to native build only so make the RDEPENDS global. Also: add the missing ones. (From OE-Core rev: aa8001e9bff9f9dd92a4a1ce435f1ae452e104c9) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-sphinx-rtd-theme: add missing run-time dependenciesBartosz Golaszewski2023-05-221-1/+4
| | | | | | | | | | | | Add missing RDEPENDS for this package. Remove DEPENDS as this package doesn't really have any. (From OE-Core rev: ee64269ffe45a54b0ec2385bac5997b9b294c2c3) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-installer: add missing run-time dependenciesBartosz Golaszewski2023-05-221-0/+6
| | | | | | | | | | Add missing RDEPENDS for this package. (From OE-Core rev: 85ca038b00ce2406ae0e9bb66bee7e544d333537) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pathspec: add missing run-time dependenciesBartosz Golaszewski2023-05-221-0/+2
| | | | | | | | | | Add missing RDEPENDS for this package. (From OE-Core rev: 7d0e2a4fc168ae7642fdf93e600b87fd989caeca) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-tomli: add missing run-time dependenciesBartosz Golaszewski2023-05-221-0/+5
| | | | | | | | | | Add missing RDEPENDS for this package. (From OE-Core rev: ae6053858810b5b2e8e7f09f85a50246bed54dbc) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: fix run-time dependenciesBartosz Golaszewski2023-05-221-1/+1
| | | | | | | | | | | The main hypothesis module depends on pytest already so move it to global RDEPENDS from ptest-specific ones. (From OE-Core rev: 434f9473791f0159bf79df7731753ff91bdbe190) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-certifi: add missing run-time dependenciesBartosz Golaszewski2023-05-221-0/+2
| | | | | | | | | | Add missing RDEPENDS for this package. (From OE-Core rev: cc65a232164caee7bf05ab73a6cd519fd07a5d0a) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-attrs: add missing run-time dependenciesBartosz Golaszewski2023-05-221-0/+1
| | | | | | | | | | Add missing RDEPENDS for this package. (From OE-Core rev: 852fbb49d41dd31ce4e30d0a25081a5b12dcb29f) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-attrs: don't use PYTHON_PNBartosz Golaszewski2023-05-221-4/+4
| | | | | | | | | | We no longer support python2. Drop PYTHON_PN and use python3 explicitly. (From OE-Core rev: 877e55cd5d626c2ad06624992ff9e17a2b481acf) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-attrs: unify RDEPENDSBartosz Golaszewski2023-05-221-5/+1
| | | | | | | | | | | | | | The nativesdk and target RDEPENDS are the same and there's nothing that prohibits this package from build built for the native sysroot either. Use the global RDEPENDS instead of per-class assignments. While at it: order the dependencies alphabetically. (From OE-Core rev: aaaeffe8fca578abcbc19bbb306ff4a8b21bb59e) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: mandate gobject-introspection-data DISTRO_FEATURERoss Burton2023-05-221-1/+3
| | | | | | | | | | | PyGObject needs gobject-introspection to function, so add a distro features check. (From OE-Core rev: 723949d491991ec6e555f30d4b06a59fecbc1f35) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: remove explicit gobject-introspection DEPENDSRoss Burton2023-05-221-1/+1
| | | | | | | | | | The gobject-introspection inherit pulls in the dependency for us. (From OE-Core rev: 96825cc883ceaf68cc2f90cd619bb55b5c5a7850) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-requests: Upgrade to 2.30.0Khem Raj2023-05-111-1/+1
| | | | | | | | | | | | Adds supports for urllib3 2.0 and might break urllib3 1.x [1] [1] https://github.com/psf/requests/releases/tag/v2.30.0 (From OE-Core rev: 9f7d4942875d9c996e5f36e46f4b9e5e6d19c6ce) 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-calver: Add recipeTrevor Gamblin2023-05-113-0/+63
| | | | | | | | | | | | | calver is "a setuptools extension for automatically defining your Python package version as a calendar version." It is required for python3-trove-classifiers (another new recipe), which in turn is required for the upgrade of python3-hatchling from 1.13.0 to work. (From OE-Core rev: 79ed4fcad6bd49c269ada3ab99ca4548aaf34e99) 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-hatchling: upgrade 1.13.0 -> 1.14.1Trevor Gamblin2023-05-111-2/+2
| | | | | | | | | | This upgrade depends on python3-calver and python3-trove-classifiers, which have new recipes being submitted. (From OE-Core rev: 1cdec71577c19d9b1592e9521d6a653eb91dfb18) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-trove-classifiers: Add recipeTrevor Gamblin2023-05-112-0/+29
| | | | | | | | | | | | python3-trove-classifiers is "Canonical source for classifiers on PyPI.". It is required to update python3-hatchling from the current version (1.13.0) in oe-core, and depends on python3-calver (another new recipe). Also add ptests. (From OE-Core rev: 1b417898c296b5732eac14465ba459411ebe4902) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: use system expatRoss Burton2023-05-091-2/+2
| | | | | | | | | | | | | Instead of statically linking to an integrated expat which may not be updated to fix security issues, dynamically link to the system expat. (From OE-Core rev: 4c63942a47f6d10eda6ed6718bfcfc89396b7d67) (From OE-Core rev: 2621924191fa516c66eb42295ec4c68820c0ed17) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: clean up PACKAGECONFIGRoss Burton2023-05-091-4/+2
| | | | | | | | | | | | | | | There's no need to define the PACKAGECONFIG for each class when they're all identical (as native DISTRO_FEATURES are pruned before use). Also add a disabled case to the LTO configuration to be explicit. (From OE-Core rev: 00471d196768fcb4acaf1e2439fd90936d93fd98) (From OE-Core rev: 52232f8a6afef20ff4ef70367ecce74043210a46) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: use libedit instead of readlineRoss Burton2023-05-091-3/+3
| | | | | | | | | | | | | libedit has feature parity with readline but is more permissively licensed (BSD verses GPLv3), so switch to libedit by default. (From OE-Core rev: ce9a795fe720eb96a9a16e65862f9721163a5986) (From OE-Core rev: 685df78325435db2d67ceb1a96839e0adbb568d0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-attrs: upgrade 22.2.0 -> 23.1.0Tim Orling2023-05-091-2/+7
| | | | | | | | | | | | | | | | | | * Change inherit python_setuptools_build_meta to python_hatchling * Add DEPENDS: - python3-hatch-vcs-native - python3-hatch-fancy-pypi-readme-native Changes: https://www.attrs.org/en/stable/changelog.html (From OE-Core rev: 9577a327572acb5c32400f6983ade0c3f0e1b71d) (From OE-Core rev: 07e576b1798433a70e63f9bb12f4dce2a5220b0e) 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-urllib3: upgrade 1.26.15 -> 2.0.2Tim Orling2023-05-091-2/+3
| | | | | | | | | | | | | | | | | | | | | * Change inherit from setuptools3 to python_hatchling * Add RDEPENDS for python3-json Migration Guide: https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html Changes: https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#202-2023-05-03 https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#201-2023-04-30 https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#200-2023-04-26 (From OE-Core rev: bb33ddf5faa47274f9a2f3ca285f2ec3eb3588f5) (From OE-Core rev: df716c1039826510a5d03fcad972e7b3913368d0) 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>