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>
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>
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>
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>
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-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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Instead of using sed to reformat the output use this new module.
(From OE-Core rev: 6be840f36c7ac06527714f7f083162eda4c14adf)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of using sed to reformat the output use this new module.
(From OE-Core rev: d83b60647bcbd32f57796085ed5f8e19c30e576a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of using sed to reformat the output use this new module.
(From OE-Core rev: adfaaba9389e1e8459e58a3cab0f2bebc623c4f5)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of using sed to reformat the output use this new module. The
tests also need the statistics module so add this missing dependency.
(From OE-Core rev: 68cc7d5343ee3617fd708954f55f0f2fc29390b3)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of using sed to reformat the output use this new module.
(From OE-Core rev: def25193748fac40c4120e9a6e8861ae4c7ae760)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of using sed to reformat the output use this new module.
(From OE-Core rev: 5ad1c8beebc09754b5c7fc637102553398a50fbd)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of using sed to reformat the output use this new module.
This shows that the previous sed expression wasn't sufficient because it
didn't handle tests throwing an error, and now the bench/ tests fail
because we don't have pytest-benchmark. These tests are more of a
benchmark than a unit test, so just skip them.
Also show a skip message instead of nothing if the tests were skipped
due to a lack of memory.
(From OE-Core rev: f22b60676159f729c081ba62fba4642629daa914)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of using sed to reformat the output use this new module.
(From OE-Core rev: 6d81a8eeb42695c1d908a2ef9d60606c4eb7cf8f)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of using sed to reformat the output use this new module.
(From OE-Core rev: 66907e95cf1e174c76ee8c495af1596cc1f63718)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This package contains modules for both unittest and pytest that alter
the output to look like automake's 'make check' output, for better
integration with ptest.
(From OE-Core rev: 961e4f3fc786715fc136fa446686972a4a95a3d5)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python3-modules package should depend on zoneinfo, and gdbm if it
was enabled.
(From OE-Core rev: 0e0a5a635f44931dd490ae6a99548f05bd5205a8)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tests need a broad set of locales and timezones to be installed.
(From OE-Core rev: 372233d7ad22e45aa31db0d6c0e989393f116dfe)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>