Skip to contentSkip to conversation

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

PATCH New Ross Burton 1 participant 1 message Feb 12

lore
Share & tools
lore
#0 lore raw

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

We don't need to skip all of test_tags.py, just the two test cases that use manylinux.

---
 meta/recipes-devtools/python/python3-packaging_26.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/python/python3-packaging_26.0.bb +2 -2
index 1a1b58a13d..ff45cb5133 100644
@@ -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
Signature · 1 line
2.43.0