]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python3-packaging: be more specific when skipping tests on musl
authorRoss Burton <ross.burton@arm.com>
Thu, 12 Feb 2026 14:07:30 +0000 (14:07 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Feb 2026 18:05:10 +0000 (18:05 +0000)
We don't need to skip all of test_tags.py, just the two test cases that
use manylinux.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-packaging_26.0.bb

index 1a1b58a13df7daaa533c3c1e892a1cac5e21998f..ff45cb51338e219c5883cd8c1ef95e4f83aa49aa 100644 (file)
@@ -15,8 +15,8 @@ RDEPENDS:${PN} += "python3-profile"
 
 # This test needs tomli_w which isn't currently in meta/
 SKIPLIST = "--ignore=tests/test_pylock.py"
-# https://github.com/pypa/packaging/issues/850
-SKIPLIST:append:libc-musl = " --deselect tests/test_manylinux.py::test_is_manylinux_compatible_old --ignore=tests/test_tags.py"
+# Tests don't handle manylinux+musl (https://github.com/pypa/packaging/issues/850)
+SKIPLIST:append:libc-musl = " --deselect=tests/test_manylinux.py::test_is_manylinux_compatible_old --deselect=tests/test_tags.py::TestManylinuxPlatform --deselect=tests/test_tags.py::TestSysTags"
 
 do_compile:class-native () {
     python_flit_core_do_manual_build