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>
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:
================
Bugs fixed
----------
* Several incompatibilities with CPython 3.11 were resolved.
(Github issues #4411, #4414, #4415, #4416, #4420, #4428, #4473, #4479, #4480)
* Some C compiler warnings were resolved.
(Github issue #4439)
* C++ "std::move()" should only be used automatically in MSVC versions that support it.
(Github issue #4191)
* The "Py_hash_t" type failed to accept arbitrary "index" values.
(Github issue #2752)
* Avoid copying unaligned 16-bit values since some platforms require them to be aligned.
Use memcpy() instead to let the C compiler decide how to do it.
(Github issue #4343)
* Cython crashed on invalid truthiness tests on C++ types without "operator bool".
(Github issue #4348)
* The declaration of "PyUnicode_CompareWithASCIIString()" in "cpython.unicode" was incorrect.
(Github issue #4344)
(From OE-Core rev: 8d8faad71e05703362d4004cc9ecdb93c08398ec)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`
[YOCTO #13471]
(From OE-Core rev: 7290b773486da3888f848abf0dba747f2d9f42e1)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>