Upstream has solved the absolute path problem differently by taking
paths relative to the top of the module. This appears to solve the
problem, at least I've not found any cases where it breaks.
Drop my patch, and backport the relevant commit from upstream.
(From OE-Core rev: 47f7808dd93e50fb3ecddbf980e40e51dd7376cb)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change recipes that depend on python3-cython-native to inherit cython
instead.
(From OE-Core rev: 8217b61c3838d4a43b63b78c5121d657f52b4b2b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cython generates C source code that contains mentions to the original
.py files, which results in build paths being embedded inside the
binaries.
Implement prefix remapping to change these build paths to point at the
target debug directory, so that we don't leak build paths and have
reproducible builds.
This patch is currently not submitted upstream, but will be shortly and
I expect it to evolve before being merged.
(From OE-Core rev: cdbe8ef6b744f8e485c4bc77897ad545457ea51e)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream package changed from uppercase to lowercase in "Cython", so
adjust PYPI_PACKAGE and the sed call in cython_fix_sources to match.
Changelog (https://github.com/cython/cython/releases/tag/3.0.11-1):
Features added
--------------
* The C++11 ``emplace*`` methods were added to ``libcpp.deque``.
Patch by Somin An. (Github issue :issue:`6159`)
Bugs fixed
----------
* The exception check value of functions declared in pxd files was not always applied in 3.0.10.
(Github issue :issue:`6122`)
* A crash on exception deallocations was fixed.
(Github issue :issue:`6022`)
* A crash was fixed when assigning a zero-length slice to a memoryview.
Patch by Michael Man. (Github issue :issue:`6227`)
* ``libcpp.optional.value()`` could crash if it raised a C++ exception.
Patch by Alexander Condello. (Github issue :issue:`6190`)
* The return type of ``str()`` was mishandled, leading to crashes with ``language_level=3``.
(Github issue :issue:`6166`)
* ``bytes.startswith/endswith()`` failed for non-bytes substrings (e.g. ``bytearray``).
(Github issue :issue:`6168`)
* Fused ctuples crashed Cython.
(Github issue :issue:`6068`)
* A compiler crash was fixed when using extension types in fused types.
(Github issue :issue:`6204`)
* The module cleanup code was incorrect for globally defined memory view slices.
(Github issue :issue:`6276`)
* Some adaptations were made to enable compilation in Python 3.13.
(Github issues :issue:`5997`, :issue:`6182`, :issue:`6251`)
(From OE-Core rev: a505dfa0489de57bc07ffec2b7fa8c5486013393)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>