diff options
author | Konrad Weihmann <kweihmann@outlook.com> | 2022-03-05 12:16:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-05 22:58:48 +0000 |
commit | 370ca1d1bd6eea7d4c0e92d243bdcb089f9af385 (patch) | |
tree | 8bade5a714d16742e0217b719853bc8941cfe33d /meta/classes | |
parent | b1a26ed85358936bb3db87e0528c1243fab9be35 (diff) | |
download | poky-370ca1d1bd6eea7d4c0e92d243bdcb089f9af385.tar.gz |
setuptools_build_meta: remove python dependency
when building additional native python tools that should be used
for additional tasks in python3 package (class-target), the dependency
on target class python creates a dependency loop:
python3-foo-native_1.2.3.bb:do_prepare_recipe_sysroot
python3-pep8-native_1.7.1.bb:do_populate_sysroot
python3-wheel_0.37.1.bb:do_populate_sysroot
python3-bar-native_0.1.2.bb:do_populate_sysroot
python3-pip_22.0.3.bb:do_populate_sysroot
python3-pyflakes-native_2.4.0.bb:do_populate_sysroot
python3_3.10.2.bb:do_populate_sysroot
python3-foo-native_1.2.3_1.2.0.bb:do_fetch
python3-setuptools_59.5.0.bb:do_populate_sysroot
resolve this by removing python3 from DEPENDS.
The correct dependencies are already injected by
setuptools-base class
(From OE-Core rev: bd9f9a369160164beade2c12f344b7f5c2b18427)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/setuptools_build_meta.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/setuptools_build_meta.bbclass b/meta/classes/setuptools_build_meta.bbclass index b1441e65dd..8f5479e922 100644 --- a/meta/classes/setuptools_build_meta.bbclass +++ b/meta/classes/setuptools_build_meta.bbclass | |||
@@ -1,6 +1,6 @@ | |||
1 | inherit pip_install_wheel setuptools3-base | 1 | inherit pip_install_wheel setuptools3-base |
2 | 2 | ||
3 | DEPENDS += "python3 python3-setuptools-native python3-wheel-native" | 3 | DEPENDS += "python3-setuptools-native python3-wheel-native" |
4 | 4 | ||
5 | setuptools_build_meta_do_configure () { | 5 | setuptools_build_meta_do_configure () { |
6 | mkdir -p ${S}/dist | 6 | mkdir -p ${S}/dist |