diff mbox series

python3-hatchling: remove redundant logic

Message ID 20260106145755.522769-1-ross.burton@arm.com
State Under Review
Headers show
Series python3-hatchling: remove redundant logic | expand

Commit Message

Ross Burton Jan. 6, 2026, 2:57 p.m. UTC
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 <ross.burton@arm.com>
---
 meta/recipes-devtools/python/python3-hatchling_1.28.0.bb | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

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"