From: Ross Burton Date: Fri, 1 Aug 2025 14:27:09 +0000 (+0100) Subject: Revert "python_setuptools_build_meta: clean the build directory in configure" X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a532cb50151d773c1c351ffccf4d47a37f26f8aa;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git Revert "python_setuptools_build_meta: clean the build directory in configure" This is not needed: setuptools.build_meta does the build under a new temporary directory. This reverts commit ad488915b0e802f5525f9d857112e5513376fcaf. Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/python_setuptools_build_meta.bbclass b/meta/classes-recipe/python_setuptools_build_meta.bbclass index f09f7e9a91..c7b12e5309 100644 --- a/meta/classes-recipe/python_setuptools_build_meta.bbclass +++ b/meta/classes-recipe/python_setuptools_build_meta.bbclass @@ -7,7 +7,3 @@ inherit python_pep517 DEPENDS += "python3-setuptools-native python3-wheel-native" - -# This isn't nice, but is the best solutions to ensure clean builds for now. -# https://github.com/pypa/setuptools/issues/4732 -do_configure[cleandirs] = "${PEP517_SOURCE_PATH}/build"