From 99d0842f16aeb0c43f4674c60cb815c6438ed3bf Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Thu, 26 Jun 2025 08:25:12 -0700 Subject: python3-wheel: upgrade 0.45.1 -> 0.46.1; add ptest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add python3-packaging to RDEPENDS * Enable ptest: - Add to ptest-packagelists.inc PTESTS_FAST - inherit ptest-python-pytest - Add python3-setuptools to ptest RDEPENDS - One test is skipped, but it requires the "full" python3-flit, not just python3-flit-core. Comparing changes since 0.45.1: https://github.com/pypa/wheel/compare/0.45.1...0.46.1 Release notes [1]: 0.46.1 (2025-04-08) * Temporarily restored the wheel.macosx_libfile module (#659) 0.46.0 (2025-04-03) * Dropped support for Python 3.8 * Removed the bdist_wheel setuptools command implementation and entry point. The wheel.bdist_wheel module is now just an alias to setuptools.command.bdist_wheel, emitting a deprecation warning on import. * Removed vendored packaging in favor of a run-time dependency on it * Made the wheel.metadata module private (with a deprecation warning if it’s imported * Made the wheel.cli package private (no deprecation warning) * Fixed an exception when calling the convert command with an empty description field [1] https://wheel.readthedocs.io/en/stable/news.html (From OE-Core rev: 610ca66283b6a440a1cde4c26945392ed15ac3e0) Signed-off-by: Tim Orling Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-wheel_0.45.1.bb | 15 --------------- meta/recipes-devtools/python/python3-wheel_0.46.1.bb | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 15 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-wheel_0.45.1.bb create mode 100644 meta/recipes-devtools/python/python3-wheel_0.46.1.bb (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python3-wheel_0.45.1.bb b/meta/recipes-devtools/python/python3-wheel_0.45.1.bb deleted file mode 100644 index 8274e83747..0000000000 --- a/meta/recipes-devtools/python/python3-wheel_0.45.1.bb +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "The official binary distribution format for Python " -HOMEPAGE = "https://github.com/pypa/wheel" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7ffb0db04527cfe380e4f2726bd05ebf" - -SRC_URI[sha256sum] = "661e1abd9198507b1409a20c02106d9670b2576e916d58f520316666abca6729" - -inherit python_flit_core pypi - -BBCLASSEXTEND = "native nativesdk" - -# This used to use the bootstrap install which didn't compile. Until we bump the -# tmpdir version we can't compile the native otherwise the sysroot unpack fails -INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode" diff --git a/meta/recipes-devtools/python/python3-wheel_0.46.1.bb b/meta/recipes-devtools/python/python3-wheel_0.46.1.bb new file mode 100644 index 0000000000..058af2f0e7 --- /dev/null +++ b/meta/recipes-devtools/python/python3-wheel_0.46.1.bb @@ -0,0 +1,20 @@ +SUMMARY = "The official binary distribution format for Python " +HOMEPAGE = "https://github.com/pypa/wheel" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7ffb0db04527cfe380e4f2726bd05ebf" + +SRC_URI[sha256sum] = "fd477efb5da0f7df1d3c76c73c14394002c844451bd63229d8570f376f5e6a38" + +inherit python_flit_core pypi ptest-python-pytest + +RDEPENDS:${PN} += "python3-packaging" + +# One test is skipped but requires the "full" python3-flit, not just python3-flit-core +RDEPENDS:${PN}-ptest += "python3-setuptools" + +BBCLASSEXTEND = "native nativesdk" + +# This used to use the bootstrap install which didn't compile. Until we bump the +# tmpdir version we can't compile the native otherwise the sysroot unpack fails +INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode" -- cgit v1.2.3-54-g00ecf