remove obsolete workaround (https://github.com/python/cpython/commit/33d95c6facdfda3c8c0feffa7a99184e4abc2f63)
PATCH 1/2 remove obsolete workaround (https://github.com/python/cpython/commit/33d95c6facdfda3c8c0feffa7a99184e4abc2f63)
From: Ross Burton <[email protected]>
--- meta/recipes-devtools/python/python3-numpy_1.26.0.bb | 9 --------- 1 file changed, 9 deletions(-)
meta/recipes-devtools/python/python3-numpy_1.26.0.bb +0 -9
@@ -30,15 +30,6 @@ do_compile:prepend() { export NPY_DISABLE_SVML=1 } -# Unfortunately the following pyc files are non-deterministc due to 'frozenset' -# being written without strict ordering, even with PYTHONHASHSEED = 0 -# Upstream is discussing ways to solve the issue properly, until then let's -# just not install the problematic files. -# More info: http://benno.id.au/blog/2013/01/15/python-determinism -do_install:append() { - rm ${D}${PYTHON_SITEPACKAGES_DIR}/numpy/typing/tests/data/pass/__pycache__/literal.cpython* -} - FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a ${PYTHON_SITEPACKAGES_DIR}/numpy/random/lib/*.a" # install what is needed for numpy.test()
Signature · 1 line
2.34.1
PATCH 2/2 python3-numpy: remove unused CLEANBROKEN
From: Ross Burton <[email protected]>
CLEANBROKEN isn't used by setuptools3, so remove it.
Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-devtools/python/python3-numpy_1.26.0.bb | 2 -- 1 file changed, 2 deletions(-)
meta/recipes-devtools/python/python3-numpy_1.26.0.bb +0 -2
@@ -24,8 +24,6 @@ inherit ptest setuptools3 github-releases S = "${WORKDIR}/numpy-${PV}" -CLEANBROKEN = "1" - do_compile:prepend() { export NPY_DISABLE_SVML=1 }
Signature · 1 line
2.34.1
This was meant to have a better commit message, v2 coming shortly
Ross
Quoted 40 lines · Ross Burton via lists.openembedded.org
From: Ross Burton <[email protected]>
---
meta/recipes-devtools/python/python3-numpy_1.26.0.bb | 9 ---------1 file changed, 9 deletions(-)meta/recipes-devtools/python/python3-numpy_1.26.0.bb +0
-9@@ -30,15 +30,6 @@ do_compile:prepend() { export NPY_DISABLE_SVML=1 } -# Unfortunately the following pyc files are non-deterministc due to 'frozenset' -# being written without strict ordering, even with PYTHONHASHSEED = 0 -# Upstream is discussing ways to solve the issue properly, until then let's -# just not install the problematic files. -# More info: http://benno.id.au/blog/2013/01/15/python-determinism -do_install:append() { - rm ${D}${PYTHON_SITEPACKAGES_DIR}/numpy/typing/tests/data/pass/__pycache__/literal.cpython* -} -FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a ${PYTHON_SITEPACKAGES_DIR}/numpy/random/lib/*.a"
# install what is needed for numpy.test()Signature · 10 lines
2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#188595): https://lists.openembedded.org/g/openembedded-core/message/188595 Mute This Topic: https://lists.openembedded.org/mt/101708818/6875888 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-