similarity index 78%
rename from meta/recipes-devtools/python/python3-packaging_25.0.bb
rename to meta/recipes-devtools/python/python3-packaging_26.0.bb
@@ -3,21 +3,20 @@ HOMEPAGE = "https://github.com/pypa/packaging"
LICENSE = "Apache-2.0 | BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91"
-SRC_URI[sha256sum] = "d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f"
+SRC_URI[sha256sum] = "00243ae351a257117b6a241061796684b084ed1c516a08c48a3f7e147a9d80b4"
SRC_URI += "file://run-ptest.in"
inherit pypi python_flit_core ptest
-BBCLASSEXTEND = "native nativesdk"
-
# Bootstrap the native build
DEPENDS:remove:class-native = "python3-build-native"
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 ?= ""
-SKIPLIST:libc-musl = "--deselect tests/test_manylinux.py::test_is_manylinux_compatible_old --ignore=tests/test_tags.py"
+SKIPLIST:append:libc-musl = " --deselect tests/test_manylinux.py::test_is_manylinux_compatible_old --ignore=tests/test_tags.py"
do_compile:class-native () {
python_flit_core_do_manual_build
@@ -41,3 +40,5 @@ RDEPENDS:${PN}-ptest = "\
# The ptest package contains prebuilt test binaries
INSANE_SKIP:${PN} = "already-stripped"
INSANE_SKIP:${PN}-ptest = "arch"
+
+BBCLASSEXTEND = "native nativesdk"
Skip the testcase test_pylock.py as this depends on tomli_w, which isn't currently part of core. Upstream changelog: Features: * PEP 751: support pylock * PEP 794: import name metadata * Support for writing metadata to a file * Support __replace__ on Version * Support positional pattern matching for Version and SpecifierSet Behavior adaptations: * PEP 440 handling of prereleases for Specifier.contains, SpecifierSet.contains, and SpecifierSet.filter * Handle PEP 440 edge case in SpecifierSet.filter * Adjust arbitrary equality intersection preservation in SpecifierSet * Return False instead of raising for .contains with invalid version * Support arbitrary equality on arbitrary strings for Specifier and SpecifierSet's filter and contains method. * Only try to parse as Version on certain marker keys, return False on unequal ordered comparisons Signed-off-by: Ross Burton <ross.burton@arm.com> --- ...n3-packaging_25.0.bb => python3-packaging_26.0.bb} | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) rename meta/recipes-devtools/python/{python3-packaging_25.0.bb => python3-packaging_26.0.bb} (78%)