These tests expect glibc to be the system C library
ignore them for musl

Signed-off-by: Khem Raj <raj.k...@gmail.com>
---
 meta/recipes-devtools/python/python3-packaging_24.1.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-packaging_24.1.bb 
b/meta/recipes-devtools/python/python3-packaging_24.1.bb
index 20bcd55fbad..f8465d9fdb7 100644
--- a/meta/recipes-devtools/python/python3-packaging_24.1.bb
+++ b/meta/recipes-devtools/python/python3-packaging_24.1.bb
@@ -25,6 +25,10 @@ do_install_ptest() {
     rm -f ${D}${PTEST_PATH}/tests/manylinux/build.sh
 }
 
+do_install_ptest:append:libc-musl() {
+    sed -i -e '/^pytest/ s|$| --deselect 
tests/test_manylinux.py::test_is_manylinux_compatible_old 
--ignore=tests/test_tags.py|' ${D}${PTEST_PATH}/run-ptest
+}
+
 RDEPENDS:${PN}-ptest = "\
     python3-ctypes \
     python3-pretend \
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#206085): 
https://lists.openembedded.org/g/openembedded-core/message/206085
Mute This Topic: https://lists.openembedded.org/mt/109104794/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to