Changelog:
we now support @example(...).xfail(), with the same (optional) condition, reason, and raises arguments as pytest.mark.xfail().
(From OE-Core rev: 31c0a609e2af33a7734337ebb9e2377556506fdc)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
Add macos-max-compat option to the wheel target that is enabled by default to
support the latest version 22.0 of the packaging library
(From OE-Core rev: bbd64ef85cae2440de4d0554c2cb4115a2fbfc14)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
==========
blue5-obex template: Fix OBEX PullAll
power_profiles template: Fix Actions property type
README: Explain container tests and how to debug them
(From OE-Core rev: 44165fb25e83be6c7952de25c2b07b1442727088)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
==========
Features added
--------------
* The "cythonize" and "cython" commands have a new option "-M" / "--depfile"
to generate ".dep" dependency files for the compilation unit. This can be used
by external build tools to track these dependencies.
The "cythonize" option was already available in Cython :ref:'0.29.27'.
Bugs fixed
----------
* "const" fused types could not be used with memory views.
Patch by Thomas Vincent. (Github issue :issue:'1772')
* "wstr" usage was removed in Python 3.12 and later (PEP-623).
(Github issue :issue:'5145')
* A type check assertion for Cython functions failed in debug Python builds.
(Github issue :issue:'5031')
* Fixed various compiler warnings.
Patches by Lisandro Dalcin et al. (Github issues :issue:'4948', :issue:'5086')
* Fixed error when calculating complex powers of negative numbers.
(Github issue :issue:'5014')
* Corrected a small mis-formatting of exception messages on Python 2.
(Github issue :issue:'5018')
* The "PyUnicode_AsUTF8AndSize()" C-API function was missing from the CPython declarations.
(Github issue :issue:'5163')
* A performance problem in the compiler was resolved when nesting conditional expressions.
(Github issue :issue:'5197')
* Test suite problems with recent NumPy and CPython versions were resolved.
(Github issues :issue:'5183', :issue:'5190')
Other changes
-------------
* The undocumented, untested and apparently useless syntax
"from somemodule cimport class/struct/union somename" was deprecated
in anticipation of its removal in Cython 3. The type
modifier is not needed here and a plain "cimport" of the name will do.
(Github issue :issue:'4905')
* Properly disable generation of descriptor docstrings on PyPy since they cause crashes.
It was previously disabled, but only accidentally via a typo.
Patch by Matti Picus. (Github issue :issue:'5083')
* The "cpow" directive of Cython 3.0 is available as a no-op.
(Github issue :issue:'5016')
(From OE-Core rev: 4c5b05d92d691447d493ce87f32f4af907410c39)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
=========
* #3594: Added "htmlcov" to FlatLayoutModuleFinder.DEFAULT_EXCLUDE -- by :user:'demianbrecht'
* #3667: Added a human-readable error description when ".egg-info" directory is not writeable -- by :user:'droodev'
* #3713: Fixed incomplete "getattr" statement that caused problems when accessing
undefined attribute.
(From OE-Core rev: 1f3602a771c4f68dc5d052a9099d20f5741414d2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the bootstrap sequence for pypa/build is just
python3-packaging, and python3-pyproject-hooks, we can use build instead
of picobuild.
The only change visible outside of this class is that the variable
PEP517_PICOBUILD_OPTS is now PEP517_BUILD_OPTS, but I'm only aware of one
recipe that used that variable.
(From OE-Core rev: 202c2e3c9481a8841af2556862a76e27d703246d)
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>
This is the PEP517 build frontend blessed by the Python Packaging
Authority, and now that Python 3.11 has been released and enough
packages have ported to flit, it can be used without a huge bootstraping
problem.
(From OE-Core rev: 00254501b9b024032032c9fb068d957de4ef7dde)
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>
This used to be known as python3-pep517 and is a key library used to
build modern Python code.
It is currently vendored into python3-picobuild but I plan to remove
that.
(From OE-Core rev: 877c4d5e4cd5ceb71d2ecfdc35a625f50752bec0)
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 recipe can use the more commonly used PACKAGESPLITFUNCS instead
of PACKAGEBUILDPKGD which is likely to be removed soon, there should be
no change in behaviour.
(From OE-Core rev: b060a8a7e4c35f8404525f462189390e2dce81e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unfortunately, sysconfig is used by:
- setuptools to find out where to install new headers
- autoconf-archive to find where Python.h is
In the first case we want the target location, in the second case we want
the sysroot location. The second case is not yet used in the wild
(as projects such as gpgpme are using outdated distutils-based m4 macros),
but it will become a problem once python 3.12 is out, and
said projects are forced to migrate to sysconfig. Let's deal with it
then in a more careful manner, and hopefully convince upstream that
there is a general problem too.
(From OE-Core rev: 499b152bf63749be18fc252978a6cc632254b325)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Transition to python_setuptools_build_meta.
(From OE-Core rev: 3e12b39760ec92d45241f44945c4fd1a93cd9de2)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch:
the patch has been rejected upstream (see the bug), and does quite a
bit more than just fix the mips softfloat problem. If the problem
still exists, then the fix needs to be re-done, and re-submitted.
The other two patches have been merged upstream.
License-Update: http->https
(From OE-Core rev: 9b6e8c173162798428cf8627b596ca81cd8ab855)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this, sysconfig would report the target location, which is not
what we want in cross-builds. This is used in particular by
latest autoconf-archive m4 macros, which have migrated from
(removed in py 3.12) distutils to setuptools.
(From OE-Core rev: df8303ab2f0ca4b694b845016c8d7e0279a48fe7)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix failing builds due to a reproducibility issue by adding a patch to sort
globbing, submitted upstream.
[YCOTO #14993]
[YCOTO #14994]
(From OE-Core rev: ad6cc43ca99d8629365fcff790becbc7103da9ec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I'm building a SDK (bitbake task: populate_sdk) for WPE/WebKit
development [1] and I need the tools below to be extended with the class
nativesdk. They work fine on the SDK after this change.
The needs are because:
1) gperf and unifdef are required by the WebKit build system at build
time.
2) gi-docgen is required by the WebKit build system when CMake option
'ENABLE_DOCUMENTATION' is enabled, and gi-docgen itself depends on
the following python modules that also need to enable nativesdk:
python3-markdown, python3-smartypants and python3-typogrify
[1]
See:
- https://github.com/Igalia/meta-webkit/pull/436
- https://bugs.webkit.org/show_bug.cgi?id=249604
(From OE-Core rev: 6cb38fd632a161bea7b9a04de400d8be8d565b07)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>