summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* python3-bcrypt: enable build of unit testsFrederic Martinsons2023-05-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | The source code of bcrypt extension doesn't define any tests but it is to show the ptest-cargo usage Below is the updated test suite output for the recipe (cut): PASS: tests/test_bcrypt.py:test_invalid_params[password-$2b$04$cVWp4XaNU8a4v1uMRum2SO-513-10-ValueError] PASS: tests/test_bcrypt.py:test_invalid_params[password-$2b$04$cVWp4XaNU8a4v1uMRum2SO-20-0-ValueError] PASS: tests/test_bcrypt.py:test_2a_wraparound_bug ============================================================================ Testsuite summary running 0 tests test result: ok$<2>. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s root@qemux86-64:/usr/lib/python3-bcrypt/ptest# (From OE-Core rev: 7388fec005b94d8e3827afcdf0de1e5b05ea1346) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-psutil: Drop nativesdk class extension due to breakageRichard Purdie2023-05-031-1/+1
| | | | | | | | | | | | | | | We're seeing warnings like: WARNING: Nothing RPROVIDES 'nativesdk-procps' (but virtual:nativesdk:XXX/python3-psutil_5.9.4.bb RDEPENDS on or otherwise requires it) WARNING: Nothing RPROVIDES 'nativesdk-python3-psutil-dev' (but virtual:nativesdk:XXX/python3-psutil_5.9.4.bb RDEPENDS on or otherwise requires it) WARNING: Nothing RPROVIDES 'nativesdk-python3-psutil' (but virtual:nativesdk:XXX/python3-psutil_5.9.4.bb RDEPENDS on or otherwise requires it) which means this likely has never been working in the first place. Drop it until it is needed and fixed to work. (From OE-Core rev: e1c9cbe8b14c259c30df375d3f8c1bd9b3a818fa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: add missing tomllib RDEPENDSRoss Burton2023-05-031-0/+1
| | | | | | | | | | Pytest can call tomllib (for example, when running the python3-cryptography tests), so add it as a RDEPENDS. (From OE-Core rev: 2bc8c7135045cea2d95990df7df96f271a609758) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: upgrade 7.2.2 -> 7.3.1Wang Mingyu2023-04-201-1/+1
| | | | | | | | | | | Changelog: https://docs.pytest.org/en/stable/changelog.html (From OE-Core rev: 596b7242bc0730d24689fa1556aa0e1f66cde840) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: upgrade 23.0 -> 23.1Wang Mingyu2023-04-201-1/+1
| | | | | | | | | | | | | | | | | | Changelog: =========== Parse raw metadata Import underlying parser functions as an underscored variable Improve error for local version label with unsupported operators Add dedicated error for specifiers with incorrect .* suffix Replace spaces in platform names with underscores Relax typing of _key on _BaseVersion Handle prefix match with zeros at end of prefix correctly (From OE-Core rev: ecd541b4290932d2b547376e8dc04863634f11a7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dtschema: upgrade 2023.1 -> 2023.4Wang Mingyu2023-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== Schemas: - Add missing PCI descriptions and properties - Add I2C clock stretching property - Add 'firmware-name' property - Add UEFI chosen properties - Enable cache schema Meta-schemas: - Improve checking non-patterns in patternProperties - Allow 'not' at top-level of schemas - Relax meta-schema checks on referenced schemas Tools: - Handle examples with 'interrupt-controller' node (From OE-Core rev: 997715fcb7fc3c9c8d1a5d886857772098bd511c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-build: add missing run-time dependenciesBartosz Golaszewski2023-04-141-1/+10
| | | | | | | | | | | | python3-build has several run-time dependencies that are missing from the recipe. This makes it impossible to use the module in self-hosted images. Add missing RDEPENDS. (From OE-Core rev: f4a4de1dc3521695c14dfc206fa4cd0e10c250aa) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-manifest: add ensurepipBartosz Golaszewski2023-04-141-0/+23
| | | | | | | | | | | Add the pip bootstrapping module from the standard library to the manifest. This module is a run-time requirement of python3-build. (From OE-Core rev: 7013ddda8f249377c00bc4efb40c34dd5fcfe15a) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-manifest: add tomllibBartosz Golaszewski2023-04-141-0/+17
| | | | | | | | | | Add the TOML parsing module from the standard library to the manifest. (From OE-Core rev: b6f2ca4713447710f5ce29261d1009c3574af721) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: add missing run-time dependenciesBartosz Golaszewski2023-04-141-0/+1
| | | | | | | | | | python3-profile is required by python3-packaging at run-time. (From OE-Core rev: 5281d5f8a9111413ed8d09360185aca7fe1f23a5) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyproject-hooks: add missing run-time dependenciesBartosz Golaszewski2023-04-141-0/+2
| | | | | | | | | | JSON module is required at run-time by pyproject-hooks. (From OE-Core rev: f886fe227fe91d0d1566e3ddb01856d7e67a8a2d) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/recipes: ensure all recipes have a SUMMARYAlexander Kanavin2023-04-1327-27/+27
| | | | | | | | | | | DESCRIPTION is optional for now; writing good component descriptions is not easy (but appreciated). (From OE-Core rev: 9ce4f9248db3db70732d886a18ea355f321bd49d) 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-setuptools: upgrade 67.6.0 -> 67.6.1Wang Mingyu2023-04-132-2/+2
| | | | | | | | | | | | | Changelog: ========== #3865: Fixed _WouldIgnoreField warnings for scripts and gui_scripts, when entry-points is not listed in dynamic. #3875: Update code generated by validate-pyproject to use v0.12.2. This should fix default license patterns when pyproject.toml is used. (From OE-Core rev: 8c8170871cc2ab770fb52bb5ab08a9d723975d68) 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>