summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-docutils: upgrade 0.17.1 -> 0.18wangmy2021-11-031-2/+2
| | | | | | | | | | | The exceptions to the "Public Domain Dedication" changed. -License-Update: Copyright year updated to 2021. (From OE-Core rev: 4ca6eb8d4f7209af70bba6f50d4acd105134fa51) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbusmock: upgrade 0.24.0 -> 0.24.1wangmy2021-11-031-1/+1
| | | | | | | | | | | | Do not register standard D-Bus service directories (Thanks Benjamin Berg) templates: Add IIO Sensors Proxy support (Thanks Marco Trevisan) Fix importlib module import (Thanks Marco Trevisan) Clean up code for most recent pylint version (From OE-Core rev: f290414f206904136c79ab6834c6c7ad7052c6d9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyparsing: upgrade 3.0.0 -> 3.0.4Alexander Kanavin2021-11-031-1/+1
| | | | | | | (From OE-Core rev: 6909ecaef580c43d2e439249b0134bf850448d93) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-gitdb: upgrade 4.0.7 -> 4.0.9Alexander Kanavin2021-11-033-5/+4
| | | | | | | (From OE-Core rev: b0de9c477dcc63a4b28a430b0a45cd63f731721b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: silence DeprecationWarnings in python3-configRoss Burton2021-11-031-2/+3
| | | | | | | | | | | | | | Our patched python3-config uses distutils, but that will emit a DeprecationWarning when imported. This isn't useful when using the output of python3-config to find include paths. This isn't a huge problem typically as the warning goes to stderr, but some build systems read both stdout and stderr. (From OE-Core rev: e25b8f5af70a094307dc5c0a25f213ae9570f349) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: do not supply unknown g-i optionsAlexander Kanavin2021-10-281-3/+10
| | | | | | | | | | | meson 0.60 turns unknown options into them hard errors, so instead of relying on g-i class (where the options are mandatory) add g-i dependencies explicitly. (From OE-Core rev: 9c0cc06a3d857124c0e1c1c9342f79ba5a3b10bc) 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 58.2.0 -> 58.3.0Alexander Kanavin2021-10-282-4/+4
| | | | | | | | (From OE-Core rev: 609afb2b408a4275fc4927886c53d337cef604e5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 21.3 -> 21.3.1Alexander Kanavin2021-10-281-1/+1
| | | | | | | | (From OE-Core rev: f95381108536e838fb66ba05657e579d2f85fad1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyparsing: update to 3.0.0Oleksandr Kravchuk2021-10-272-6/+3
| | | | | | | | (From OE-Core rev: ab8f974232972fdfbadded5479e54502e8d76dda) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-tomli: upgrade 1.2.1 -> 1.2.2Tim Orling2021-10-271-1/+1
| | | | | | | | | | | | | | | | | | | 1.2.2 * Fixed - Illegal characters in error messages were surrounded by two pairs of quotation marks * Improved - TOMLDecodeError.__module__ is now the public import path (tomli) instead of private import path (tomli._parser) - Eliminated an import cycle when typing.TYPE_CHECKING is True. This allows sphinx-autodoc-typehints to resolve type annotations. (From OE-Core rev: ab86f496fdead3dabe8b252a6cacaeb10ce03b5a) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.23.2 -> 6.24.0Tim Orling2021-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | 6.24.0 - 2021-10-23 * This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. * (did you know that gTLDs can be both added and removed?) 6.23.4 - 2021-10-20 * This patch adds an error for when shapes in xps.arrays() is not passed as either a valid shape or strategy. 6.23.3 - 2021-10-18 * This patch updates our formatting with shed. (From OE-Core rev: b7d90cf4fe2a021e8709a64bcae285ec81eb5ed8) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-manifest: -pprint RDEPENDS on -profileTim Orling2021-10-271-1/+2
| | | | | | | | | | | | | python3-profile includes dataclasses. pprint imports dataclasses: https://github.com/python/cpython/blob/3.10/Lib/pprint.py#L38 (From OE-Core rev: 900d7c3a8f68e9ce751a0b5cc839b8838fdebf3f) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyyaml: upgrade 5.4.1 -> 6.0Tim Orling2021-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now uses "vendored" distutils from setuptools by default rather than from Python stdlib. Changes ======= * https://github.com/yaml/pyyaml/pull/327 -- Change README format to Markdown * https://github.com/yaml/pyyaml/pull/483 -- Add a test for YAML 1.1 types * https://github.com/yaml/pyyaml/pull/497 -- fix float resolver to ignore `.` and `._` * https://github.com/yaml/pyyaml/pull/550 -- drop Python 2.7 * https://github.com/yaml/pyyaml/pull/553 -- Fix spelling of “hexadecimal” * https://github.com/yaml/pyyaml/pull/556 -- fix representation of Enum subclasses * https://github.com/yaml/pyyaml/pull/557 -- fix libyaml extension compiler warnings * https://github.com/yaml/pyyaml/pull/560 -- fix ResourceWarning on leaked file descriptors * https://github.com/yaml/pyyaml/pull/561 -- always require `Loader` arg to `yaml.load()` * https://github.com/yaml/pyyaml/pull/564 -- remove remaining direct distutils usage (From OE-Core rev: 2abc7a612a71b3594f3183fbb824a708269ae694) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: _distutils/sysconfig fixTim Orling2021-10-232-1/+38
| | | | | | | | | | | | | | | | | | Add patch to append STAGING_LIBDIR python-sysconfigdata to sys.path so that packages which set SETUPTOOLS_USE_DISUTILS='local' cross-compile properly with python3-setuptools-native. Fixes: ModuleNotFoundError: No module named '_sysconfigdata' References: https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html#porting-from-distutils (From OE-Core rev: f6fb99c53f779966fc902a629d0a8bbd9f84c6be) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 58.0.4 -> 58.2.0Alexander Kanavin2021-10-232-3/+3
| | | | | | | | (From OE-Core rev: 0235e0bea0692d641c7118ddae5a08a9610d76dd) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: upgrade 3.40.1 -> 3.42.0Alexander Kanavin2021-10-231-1/+1
| | | | | | | | (From OE-Core rev: b65725375868e9acbe317c3bfbe989d3da300c50) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jinja2: upgrade 3.0.1 -> 3.0.2Alexander Kanavin2021-10-231-1/+1
| | | | | | | | (From OE-Core rev: 6814a2286ee6931c8c4a590b71a90436d57e80e0) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: update 21.2.4 -> 21.3Alexander Kanavin2021-10-232-26/+13
| | | | | | | | | | Adjust patch as file is removed from source tree. (From OE-Core rev: e6fc7d2825d6c26f5dc65e38f3313cd9b3556238) 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-smmap: update to 5.0.0Oleksandr Kravchuk2021-10-182-5/+2
| | | | | | | (From OE-Core rev: 63a235d86edb5ca628c8601ed06fb04da3186141) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-scm: upgrade 6.0.1 -> 6.3.2Tim Orling2021-10-181-8/+8
| | | | | | | | | | | | | | RDEPENDS on python3-tomli instead of python3-toml Cleanup RDEPENDS (common vs. class-target) For changes, see: https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.rst#632 (From OE-Core rev: db2f3df621ada3f4a87136279fc8015f81a6ad0c) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-tomli: add recipe for 1.2.1Tim Orling2021-10-181-0/+20
| | | | | | | | | | | | | | | | | | | | A lil' TOML parser This is a runtime dependency for setuptools-scm upgrade as well as for several other Python Packaging Authority (pypa) tools that will be replacing distutils and setuptools in the future. Upstream does not have a setup.py, but rather relies on flit_core to build. This introduces a circular dependency, as flit_core has a runtime dependency on tomli. Borrow a setup.py from Gentoo until a better solution is found by upstream Python Packaging Authority (pypa). (From OE-Core rev: 86430833b463d606ffc345ad6b7e51840dc9f9ba) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: BBCLASSEXTEND nativesdkTim Orling2021-10-181-1/+1
| | | | | | | | | | | | python3-setuptools-scm RDEPENDS on it for nativesdk Fixes: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2766/steps/13/logs/warnings (From OE-Core rev: c984ef67f8dff27e0ce24628f28d196cdc76055e) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: DEPENDS on python3-setuptools-nativeTim Orling2021-10-181-2/+2
| | | | | | | | | | | | | Not python3-setuptools-scm-native Upgrade to python3-setuptools-scm introduces a circular dependency. Drop python3-six from RDEPENDS as this was removed in 20.5 (From OE-Core rev: 58e1f76a37d649e648dd9d436abbf4d3bfaea0ab) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodome: upgrade 3.10.1 -> 3.11.0zhengruoqin2021-10-163-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3.11.0 (8 October 2021) Resolved issues GH#512: Especially for very small bit sizes, Crypto.Util.number.getPrime() was occasionally generating primes larger than given the bit size. Thanks to Koki Takahashi. GH#552: Correct typing annotations for PKCS115_Cipher.decrypt(). GH#555: decrypt() method of a PKCS#1v1.5 cipher returned a bytearray instead of bytes. GH#557: External DSA domain parameters were accepted even when the modulus (p) was not prime. This affected Crypto.PublicKey.DSA.generate() and Crypto.PublicKey.DSA.construct(). Thanks to Koki Takahashi. New features Added cSHAKE128 and cSHAKE256 (of SHA-3 family). Thanks to Michael Schaffner. GH#558: The flag RTLD_DEEPBIND passed to dlopen() is not well supported by address sanitizers. It is now possible to set the environment variable PYCRYPTDOME_DISABLE_DEEPBIND to drop that flag and allow security testing. (From OE-Core rev: 5dd1c7eb074d8b0089163f8283751676c756d2bc) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Update now reproducibile builds are the defaultRichard Purdie2021-10-141-9/+5
| | | | | | | | | Now reproducible builds are the default move the qemu-usermode check to anon python code so that invalid configurations are detected. (From OE-Core rev: 6c195acb400efeeebdacdd8d081b35f7417a694c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: update 3.9.7 -> 3.10.0Alexander Kanavin2021-10-1410-83/+159
| | | | | | | | | | | | | | | | | | | | | | | native and target 0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch replaced by native-only 0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch which is more reboust against upstream changes, and keeps target code unmodified. This however necessitated adding 0001-sysconfig.py-use-platlibdir-also-for-purelib.patch to avoid hardcoding 'lib' on target builds as libdir. Drop chunk from 0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch as upstream now uses sysconfig directly inside distutils. Add 0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch and 0001-multiprocessing-disable-a-failing-test.patch to address ptest failures. License-Update: copyright years, case corrections. (From OE-Core rev: 72a75043a946f7db01d3ec04c8889e055f542cca) 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-pytest: upgrade 6.2.4 -> 6.2.5Tim Orling2021-10-142-67/+1
| | | | | | | | | | | | | | | | | | | Drop pluggy-1.0 patch; fixed upstream pytest 6.2.5 (2021-08-29) Trivial/Internal Changes #8494: Python 3.10 is now supported. #9040: Enable compatibility with pluggy 1.0 or later. References: https://github.com/pytest-dev/pytest/pull/8494 https://github.com/pytest-dev/pytest/pull/9040 (From OE-Core rev: cd83fa054d133eb2b189ad3f0a743cc72001e064) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-zipp: upgrade 3.5.0 -> 3.6.0Tim Orling2021-10-141-1/+1
| | | | | | | | | | | | | | | | | | v3.6.0 #78: Only Path is exposed in the public API. v3.5.1 #77: Remove news file intended only for CPython. References: https://github.com/jaraco/zipp/issues/78 https://github.com/jaraco/zipp/issues/77 (From OE-Core rev: 682db790542212e921eb6d874c2915ac815ee9bd) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-more-itertools: upgrade 8.9.0 -> 8.10.0Tim Orling2021-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8.10.0 Changes to existing functions - The type stub for iter_except was improved (thanks to MarcinKonowalczyk) Other changes: - Type stubs now ship with the source release (thanks to saaketp) - The Sphinx docs were improved (thanks to MarcinKonowalczyk) 8.9.0 New functions - interleave_evenly (thanks to mbugert) - repeat_each (thanks to FinalSh4re) - chunked_even (thanks to valtron) - map_if (thanks to sassbalint) - zip_broadcast (thanks to kalekundert) Changes to existing functions - The type stub for chunked was improved (thanks to PhilMacKay) - The type stubs for zip_equal and zip_offset were improved (thanks to maffoo) - Building Sphinx docs locally was improved (thanks to MarcinKonowalczyk) (From OE-Core rev: 981014d7122270ceca961e7f88a2b6d1aa322361) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 4.6.4 -> 4.8.1Tim Orling2021-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | v4.8.1 #348: Restored support for EntryPoint access by item, deprecating support in the process. Users are advised to use direct member access instead of item-based access: - ep[0] -> ep.name - ep[1] -> ep.value - ep[2] -> ep.group - ep[:] -> ep.name, ep.value, ep.group v4.8.0 #337: Rewrote EntryPoint as a simple class, still immutable and still with the attributes, but without any expectation for namedtuple functionality such as _asdict. v4.7.1 #344: Fixed regression in packages_distributions when neither top-level.txt nor a files manifest is present. v4.7.0 #330: In packages_distributions, now infer top-level names from .files() when a top-level.txt (Setuptools-specific metadata) is not present. References: https://github.com/python/importlib_metadata/issues/348 https://github.com/python/importlib_metadata/issues/337 https://github.com/python/importlib_metadata/issues/344 https://github.com/python/importlib_metadata/issues/330 (From OE-Core rev: 21d72ace8f9486bd1b478e28d53da64087d790fa) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.15.0 -> 6.23.2Tim Orling2021-10-141-1/+1
| | | | | | | | | | | For changes, see: https://hypothesis.readthedocs.io/en/latest/changes.html#v6-23-2 (From OE-Core rev: b01db599d754f7fe654ae4edfc076333b54bbce5) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: minor cleanupOleksandr Kravchuk2021-10-111-23/+23
| | | | | | | | (From OE-Core rev: 7c1525bfd7b56db5e78e5459e2e415799675a13c) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: update to 58.0.4Oleksandr Kravchuk2021-10-111-1/+1
| | | | | | | | (From OE-Core rev: 0dbf98b2a23b1af3e017256be305817d9267028f) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbusmock: update to 0.24.0Oleksandr Kravchuk2021-10-111-1/+1
| | | | | | | | (From OE-Core rev: e1222dab5f4426e702d9cea05da51eff1d12c9fc) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-git: update to 3.1.24Oleksandr Kravchuk2021-10-111-1/+1
| | | | | | | | (From OE-Core rev: cf38a27efeac5b6bdee42f9f4c88867c250a0561) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: update to 3.9.7Oleksandr Kravchuk2021-10-111-1/+1
| | | | | | | | (From OE-Core rev: 9612bb0639c13571e661f208aa7b28789953d9ec) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-more-itertools: upgrade 8.8.0 -> 8.9.0wangmy2021-10-111-1/+1
| | | | | | | | (From OE-Core rev: 665c8ee52a3d1c636a72df5668da397d9c636454) 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: Drop broken pyc filesRichard Purdie2021-10-041-0/+1
| | | | | | | | The underlying py files are editted so delete the now incorrect pyc files. (From OE-Core rev: c4a6d4bfb34a2dd9c50859d5b8bd9c6fe227ca81) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstatesig: Add processing for full build paths in sysroot filesRichard Purdie2021-10-041-0/+8
| | | | | | | | | | | | | | | | | | | | | Some files in the populate_sysroot tasks have hardcoded paths in them, particularly if they are postinst-useradd- files or crossscripts. Add some filtering logic to remove these paths. This means that the hashequiv "outhash" matches correcting in more cases allowing for better build artefact reuse. To make this work a new variable is added SSTATE_HASHEQUIV_FILEMAP which maps file globbing to replacement patterns (paths or regex) on a per sstate task basis. It is hoped this shouldn't be needed in many cases. We are in the process to developing QA tests which will better detect issues in this area to allow optimal sstate reuse. (From OE-Core rev: d9852ffbbe728dac33dc081538a08af98f52fd4a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Fix sysroot reproducibilityJoshua Watt2021-10-012-1/+5
| | | | | | | | | | | | | | | Fixes the reformatting of the sysconfigdata to be reproducible in the sysroot as well as in the package. During this a bug was uncovered in the way that the data was reformatted where it appears that python cannot parse a single line of code over 40000 characters. To work around this, pass a maximum with of "1" to pprint instead of sys.maxsize which will cause it to wrap as often as possible and should keep it reproducible. (From OE-Core rev: 2def2c145c303f27d93ba73876d4c6b214f18166) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix multilib qa issueMingli Yu2021-09-161-2/+2
| | | | | | | | | | | | | | | Enable tk in PACKAGECONFIG as below in conf/local.conf. PACKAGECONFIG_append_pn-python3 = " tk" $ bitbake lib32-python3 ERROR: lib32-python3-3.9.6-r0 do_package_qa: QA Issue: /usr/lib/python3.9/lib-dynload/_tkinter.cpython-39-i386-linux-gnu.so contained in package lib32-python3-tkinter requires libtk8.6.so, but no providers found in RDEPENDS_lib32-python3-tkinter? [file-rdeps] ERROR: lib32-python3-3.9.6-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. So add MLPREFIX prefix to fix the above issue. (From OE-Core rev: 4a839d7c66e4589050ce3f145a8c7cf820e6b35d) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: fix license statementRoss Burton2021-09-031-1/+1
| | | | | | | | | | | This is licensed as Apache OR BSD, not AND. Also use the precise license BSD-2-Clause. (From OE-Core rev: b7b406287dc05ae7228ef66dbada71c439bce4fb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: allow python3-pluggy >=1.0.0Tim Orling2021-08-272-0/+66
| | | | | | | | | | | | | | | | | | Fixes ptest failures in python3-jinja2. Backport patch from upstream, for now. Modify upstream patch to use toml and not tomli. We will add the new recipe for python3-tomli when we have an upgrade to python3-pytest. Remove this when we upgrade pytest to a version containing the commit: fbba504cd5e1a74d528a41a11a7b82297cd7da74 (From OE-Core rev: b4cfb0b0dab6bc7f43bab04cdf4f16c145be0223) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pluggy: upgrade 0.13.1 -> 1.0.0Tim Orling2021-08-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * All ptests pass on qemux86-64 pluggy 1.0.0 (2021-08-25) Deprecations and Removals #116: Remove deprecated implprefix support. Decorate hook implementations using an instance of HookimplMarker instead. The deprecation was announced in release 0.7.0. #120: Remove the deprecated proc argument to call_historic. Use result_callback instead, which has the same behavior. The deprecation was announced in release 0.7.0. #265: Remove the _Result.result property. Use _Result.get_result() instead. Note that unlike result, get_result() raises the exception if the hook raised. The deprecation was announced in release 0.6.0. #267: Remove official support for Python 3.4. #272: Dropped support for Python 2. Continue to use pluggy 0.13.x for Python 2 support. #308: Remove official support for Python 3.5. #313: The internal pluggy.callers, pluggy.manager and pluggy.hooks are now explicitly marked private by a _ prefix (e.g. pluggy._callers). Only API exported by the top-level pluggy module is considered public. #59: Remove legacy __multicall__ recursive hook calling system. The deprecation was announced in release 0.5.0. Features #282: When registering a hookimpl which is declared as hookwrapper=True but whose function is not a generator function, a PluggyValidationError exception is now raised. Previously this problem would cause an error only later, when calling the hook. In the unlikely case that you have a hookwrapper that returns a generator instead of yielding directly, for example: def my_hook_real_implementation(arg): print("before") yield print("after") @hookimpl(hookwrapper=True) def my_hook(arg): return my_hook_implementation(arg) change it to use yield from instead: @hookimpl(hookwrapper=True) def my_hook(arg): yield from my_hook_implementation(arg) #309: Add official support for Python 3.9. (From OE-Core rev: 4cb9623933e3daeb754c06263167be61100f6c0a) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: upgrade 1.1.4 -> 1.1.5Alexander Kanavin2021-08-261-1/+1
| | | | | | | (From OE-Core rev: 55e168eb2961dc4c1ae99a3ddee31b36d84c8fa9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 57.1.0 -> 57.4.0Alexander Kanavin2021-08-232-2/+2
| | | | | | | (From OE-Core rev: 406504d81c77c211bf44210696392fc00c8dc559) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygments: upgrade 2.9.0 -> 2.10.0Alexander Kanavin2021-08-231-1/+1
| | | | | | | (From OE-Core rev: e1eb444524d53f160491809da79791888e186255) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 21.2.1 -> 21.2.4Alexander Kanavin2021-08-231-1/+1
| | | | | | | (From OE-Core rev: 80ff47cc2f19996b4109f0a2396e61fdcfede5cf) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-git: upgrade 3.1.18 -> 3.1.20Alexander Kanavin2021-08-231-1/+1
| | | | | | | (From OE-Core rev: 4c0840f9d8c576ce39e46069f50ad0c2454bd1e5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: upgrade 0.29.23 -> 0.29.24Alexander Kanavin2021-08-232-1/+2
| | | | | | | (From OE-Core rev: 8ae1c8e5b3ca9f05df9bfe49961347f118203c0f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>