From: Ross Burton Date: Tue, 6 Jan 2026 14:57:55 +0000 (+0000) Subject: python3-hatchling: remove redundant logic X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1411281de211cc1c582cdaeb4cad83e5644d0247;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git python3-hatchling: remove redundant logic There's no need to remove the self-dependency as bitbake does that, and the assignment of PYTHONPATH is no longer needed as pypa-build does the right thing when invoking the in-tree hatchling. Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3-hatchling_1.28.0.bb b/meta/recipes-devtools/python/python3-hatchling_1.28.0.bb index b5a55a0790..6be0de39a5 100644 --- a/meta/recipes-devtools/python/python3-hatchling_1.28.0.bb +++ b/meta/recipes-devtools/python/python3-hatchling_1.28.0.bb @@ -6,12 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cbe2fd33fc9297692812fc94b7d27fd9" inherit pypi python_hatchling DEPENDS += "python3-pluggy-native python3-pathspec-native python3-packaging-native python3-editables-native python3-trove-classifiers-native" -DEPENDS:remove:class-native = "python3-hatchling-native" SRC_URI[sha256sum] = "4d50b02aece6892b8cd0b3ce6c82cb218594d3ec5836dbde75bf41a21ab004c8" -do_compile:prepend() { - export PYTHONPATH=src -} - BBCLASSEXTEND = "native nativesdk"