python3-cython: upgrade 3.0.10 -> 3.0.11
PATCH 1/1 python3-cython: upgrade 3.0.10 -> 3.0.11
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)
---
.../{python3-cython_3.0.10.bb => python3-cython_3.0.11.bb} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename meta/recipes-devtools/python/{python3-cython_3.0.10.bb => python3-cython_3.0.11.bb} (93%)meta/recipes-devtools/python/python3-cython_3.0.11.bb renamed from meta/recipes-devtools/python/python3-cython_3.0.10.bb +3 -3
@@ -6,9 +6,9 @@ and the messy, low-level world of C." SECTION = "devel/python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c" -PYPI_PACKAGE = "Cython" +PYPI_PACKAGE = "cython" -SRC_URI[sha256sum] = "dcc96739331fb854dcf503f94607576cfe8488066c61ca50dfd55836f132de99" +SRC_URI[sha256sum] = "7146dd2af8682b4ca61331851e6aebce9fe5158e75300343f80c07ca80b1faff" inherit pypi setuptools3
@@ -45,7 +45,7 @@ cython_fix_sources () { ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Tempita/_tempita.c \ ${PKGD}${libdir}/${PYTHON_DIR}/site-packages/Cython*/SOURCES.txt; do if [ -e $f ]; then - sed -i -e 's#${WORKDIR}/Cython-${PV}#${TARGET_DBGSRC_DIR}#g' $f + sed -i -e 's#${WORKDIR}/cython-${PV}#${TARGET_DBGSRC_DIR}#g' $f fi done }
Signature · 1 line
2.39.2
Quoted 68 lines · Trevor Gamblin via lists.openembedded.org
The upstream package changed from uppercase to lowercase in "Cython", so adjust
PYPI_PACKAGEand the sed call incython_fix_sourcesto 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)Signed-off-by Trevor Gamblin <[email protected]>--- .../{python3-cython_3.0.10.bb => python3-cython_3.0.11.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-devtools/python/{python3-cython_3.0.10.bb =>python3-cython_3.0.11.bb} (93%)
meta/recipes-devtools/python/python3-cython_3.0.11.bb renamed from meta/recipes-devtools/python/python3-cython_3.0.10.bb +0
-0@@ -6,9 +6,9 @@ and the messy, low-level world of C." SECTION = "devel/python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM ="file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
meta/recipes-devtools/python/python3-cython_3.0.11.bb and the messy, low-level world of C." · line 9
Quoted 2 lines
meta/recipes-devtools/python/python3-cython_3.0.11.bb renamed from meta/recipes-devtools/python/python3-cython_3.0.10.bb +1
-1-PYPI_PACKAGE = "Cython" +PYPI_PACKAGE = "cython"
This would be the default behavior. So this line can simply be dropped. But we need to make sure the upstream version check still works for AUH/devtool latest-version. Sometimes the behavior is unexpected based on the pypi URLs/paths.
Quoted 36 lines
-SRC_URI[sha256sum] = "
dcc96739331fb854dcf503f94607576cfe8488066c61ca50dfd55836f132de99" +SRC_URI[sha256sum] = "7146dd2af8682b4ca61331851e6aebce9fe5158e75300343f80c07ca80b1faff"inherit pypi setuptools3
meta/recipes-devtools/python/python3-cython_3.0.11.bb renamed from meta/recipes-devtools/python/python3-cython_3.0.10.bb +0
-0@@ -45,7 +45,7 @@ cython_fix_sources () { ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Tempita/_tempita.c \
${PKGD}${libdir}/${PYTHON_DIR}/site-packages/Cython*/SOURCES.txt; doif [ -e $f ]; then- sed -i -e
's#${WORKDIR}/Cython-${PV}#${TARGET_DBGSRC_DIR}#g' $f
+ sed -i -e
's#${WORKDIR}/cython-${PV}#${TARGET_DBGSRC_DIR}#g' $f
fi
done
}
--
2.39.2-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#203171):
https://lists.openembedded.org/g/openembedded-core/message/203171
Mute This Topic: https://lists.openembedded.org/mt/107806931/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-