diff mbox series

python3-packaging: be more specific when skipping tests on musl

Message ID 20260210160738.296773-1-ross.burton@arm.com
State New
Headers show
Series python3-packaging: be more specific when skipping tests on musl | expand

Commit Message

Ross Burton Feb. 10, 2026, 4:07 p.m. UTC
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>
---
 meta/recipes-devtools/python/python3-packaging_26.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-packaging_26.0.bb b/meta/recipes-devtools/python/python3-packaging_26.0.bb
index 1a1b58a13d..ff45cb5133 100644
--- a/meta/recipes-devtools/python/python3-packaging_26.0.bb
+++ b/meta/recipes-devtools/python/python3-packaging_26.0.bb
@@ -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