summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* python3-pytz: upgrade 2022.7.1 -> 2023.3Wang Mingyu2023-04-131-1/+1
| | | | | | | | (From OE-Core rev: 932612c1034848f9d5da5b264a5859c02257d582) 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-pyopenssl: upgrade 23.0.0 -> 23.1.1Wang Mingyu2023-04-131-1/+1
| | | | | | | | | | | | | | | | Changelog: =========== - Worked around an issue in OpenSSL 3.1.0 which caused X509Extension.get_short_name to raise an exception when no short name was known to OpenSSL. #1204. - cryptography maximum version has been increased to 40.0.x. - Add OpenSSL.SSL.Connection.DTLSv1_get_timeout and OpenSSL.SSL.Connection.DTLSv1_handle_timeout to support DTLS timeouts #1180. (From OE-Core rev: 0015bd07542ceaba8fa533d5179ffab0162259e0) 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-pygobject: upgrade 3.42.2 -> 3.44.1Wang Mingyu2023-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== Fix tests with glib 2.76 !240 Note: PyGObject is in need of more maintainers, please read https://www.bassi.io/articles/2022/12/02/on-pygobject/ Note: This is an unstable release. Drop support for Python 3.6 !184 meson: bump minimum version to 0.53.0 and update subprojects !227 gimodule: fix floating state of python objects created with g_object_new !129 Gtk.Template: Accept PathLike objects as a filename !195 info: Show which type/object callables are bound to !194 IntrospectionModule: handle two threads loading type at same time !149 Port to Py_TRASHCAN_BEGIN !226 Other cleanups/improvements: !181 !173 This release also includes all changes from 3.42.1 and 3.42.2 (From OE-Core rev: d725ef02a36d497e7ed44c61f9b72f9212f0521a) 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-pathspec: upgrade 0.11.0 -> 0.11.1Wang Mingyu2023-04-131-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: ========== Bug fixes: ---------- Issue #74: Include directory should override exclude file. Improvements: ------------- Pull #75: Fix partially unknown PathLike type. Convert os.PathLike to a string properly using os.fspath. (From OE-Core rev: cf79bc6c5cec0026ef3f56b6f4eb67499df0c60a) 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-markdown: upgrade 3.4.1 -> 3.4.3Wang Mingyu2023-04-131-1/+1
| | | | | | | | | | | | | | | | Changelog: ========= Restore console script (#1327). Improve standalone * and _ parsing (#1300). Consider <html> HTML tag a block-level element (#1309). Officially support Python 3.11. Switch from setup.py to pyproject.toml. (From OE-Core rev: f0e963faf34e223a8d7b31a792dc00b063910aa6) 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-installer: upgrade 0.6.0 -> 0.7.0Wang Mingyu2023-04-131-1/+1
| | | | | | | | (From OE-Core rev: 18d511f1f03b5f33e791b1e9c97ef136df3ebf0c) 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-importlib-metadata: upgrade 6.0.0 -> 6.2.0Wang Mingyu2023-04-131-1/+1
| | | | | | | | | | | | | | | | | Changelog: =========== - #384: PackageMetadata now stipulates an additional get method allowing for easy querying of metadata keys that may not be present. - #428: packages_distributions now honors packages and modules with Python modules that not .py sources (e.g. .pyc, .so). - #434: Expand protocol for PackageMetadata.get_all to match the upstream implementation of email.message.Message.get_all in python/typeshed#9620. (From OE-Core rev: e3991141939e5e2393cf36edd02ef3765cacd330) 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.68.2 -> 6.71.0Wang Mingyu2023-04-131-1/+1
| | | | | | | | | | | Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html (From OE-Core rev: c9f5b3557311db4ec0a6aefca5d634c9c1fef996) 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.33 -> 0.29.34Wang Mingyu2023-04-132-1/+1
| | | | | | | | | | | | | | | | Bugs fixed ========== - A refence leak of the for-loop list/tuple iterable was resolved if the for-loop's else: branch executes a break for an outer loop. - Some C compile failures in CPython 3.12 were resolved. - Some old usages of the deprecated Python imp module were replaced with importlib. - Some issues with depfile generation were resolved. (From OE-Core rev: 4589082930c86aa4a24003c79cd99d6e414cbf44) 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: fix-up -tests runtime dependenciesMark Asselstine2023-04-131-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | The psutil.tests module makes use of gcc, other tools and a minimal set of headers and build tools. If these are missing you will see ====================================================================== ERROR: psutil.tests.test_process.TestProcess.test_weird_environ ---------------------------------------------------------------------- Traceback (most recent call last): File "./psutil/tests/test_process.py", line 1452, in test_weird_environ create_exe(path, c_code=code) File "./psutil/tests/__init__.py", line 831, in create_exe raise ValueError("gcc is not installed") ValueError: gcc is not installed along with other errors related to the missing tools and headers. Add the missing RDEPENDS for the -tests package such that simply adding the -tests package to an image will be all that is needed. (From OE-Core rev: c50135a3893d8bb7736b0ab34d960026fbbc7012) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-bcrypt-crates.inc: regenerate with updated bbclassMartin Jansa2023-04-061-49/+49
| | | | | | | | | | | | | | | * it's needed for compatibility with updated fetcher from: https://patchwork.yoctoproject.org/project/bitbake/patch/20230405122125.3358972-1-enrico.scholz@sigma-chemnitz.de/ * easiest way to regenerate these is: echo > meta/recipes-devtools/python/python3-bcrypt-crates.inc bitbake -c update_crates python3-bcrypt git commit (From OE-Core rev: ccef8f0b0d6e4e8b099953df3cf092b1545aca20) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography-crates.inc: regenerate with updated bbclassMartin Jansa2023-04-061-66/+66
| | | | | | | | | | | | | | | * it's needed for compatibility with updated fetcher from: https://patchwork.yoctoproject.org/project/bitbake/patch/20230405122125.3358972-1-enrico.scholz@sigma-chemnitz.de/ * easiest way to regenerate these is: echo > meta/recipes-devtools/python/python3-cryptography-crates.inc bitbake -c update_crates python3-cryptography git commit (From OE-Core rev: bf6a3cd70d13f05f0e2af2b54635214690a68a78) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: depend on gobject-introspectionPetr Kubizňák2023-04-041-1/+1
| | | | | | | | | | When g-i feature is disabled, the gobject-introspection package dependency is not pulled in but pygobject has a hard dependency on it. (From OE-Core rev: 7fae697c6889e17dd47415808a7173670b507047) Signed-off-by: Petr Kubizňák <kubiznak@2n.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Fix failing sysconfig.py test on x86(64 bit) using lib64 as baselib ↵Wentao Zhang2023-04-032-0/+40
| | | | | | | | | | | | | | | | | | | | | | | by updating test_sysconfig for posix_user purelib Steps to trigger the failed test: Edit local.conf to add something as follows: BASELIB = "lib64" IMAGE_INSTALL:append = " python3-tests". bitbake core-image-sato runqemu qemux86-64 nographic slirp Reproducer: $python3 -m test test_sysconfig sysconfig.py use platlibdir for purelib. Update test_sysconfig.test_user_similar() for the posix_user scheme: "purelib" doesn't use sys.platlibdir. (From OE-Core rev: 755321362e994a6a37a0f554b1aea56823de924e) Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography: add crates checksumsFrederic Martinsons2023-03-301-0/+67
| | | | | | | | (From OE-Core rev: 37e5ec204396f59ab5e796ea4a815eaecd12f9b1) 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-bcrypt: add crates checksumsFrederic Martinsons2023-03-301-49/+100
| | | | | | | | (From OE-Core rev: 086bdc7c4eab5f026c0c5adf446cb6d1657f086b) 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-scons: upgrade to v4.5.2Martin Jansa2023-03-261-1/+1
| | | | | | | | | | | | * fixes: https://github.com/SCons/scons/issues/4321 which caused e.g. iotifity to fail in do_compile (From OE-Core rev: 5b022730053cdf62db57f497014ed85e2f7057b6) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonpointer: rewrite testingRoss Burton2023-03-213-2/+68
| | | | | | | | | | | | | | | The tests installed by jsonpointer use unittest not pytest, so update the dependencies. Use the unittest runner in python3-unittest-automake-output to get the correct output. Apply a patch so the test suite doesn't run twice. (From OE-Core rev: 595086756c6f24762e08cde9f9ed3e1056976d98) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-webcolors: use python3-unittest-automake-outputRoss Burton2023-03-212-1/+2
| | | | | | | | | Instead of using sed to reformat the output use this new module. (From OE-Core rev: 88b320cfb38b69b2d9035d2300359ff3d0dbd598) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-wcwidth: use python3-unittest-automake-outputRoss Burton2023-03-212-2/+3
| | | | | | | | | Instead of using sed to reformat the output use this new module. (From OE-Core rev: 7da8728e0b566bb326092b88140c2d8207893738) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>