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>
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>
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>
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>
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>
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>
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>
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 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>
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>
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>
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>