From: "Konrad Weihmann" <kweihmann@outlook.com>
To: openembedded-core@lists.openembedded.org
Subject: native python recipes using setuptools
Date: Tue, 16 Feb 2021 10:59:50 +0100 [thread overview]
Message-ID: <AM9PR09MB46427C15B7F9F7652EA41605A8879@AM9PR09MB4642.eurprd09.prod.outlook.com> (raw)
Hi,
I'm a bit puzzled at the moment - after
fd6a007efa7cb45101a66f294af81d9d33bb3fab in meta-openembedded I faced a
lot of changes in the behavior of native-only recipes (@RP yes the ones
that don't use BBCLASSEXTEND :-))
after this change I had a couple of dependency loops like
python3-my-recipe-native > python3 > ... > python3-my-recipe-native
and I could track it down to distutils3-base.bbclass [1].
There for all recipes no matter what the set (I guess BBCLASSEXTEND
magic will solves that in the end) "python3-native python3" is set in
DEPENDS.
My question is, is that intended behavior or would it make sense to be
more explicit here, like
DEPENDS += "python3-native"
DEPENDS_class-target += "python3"
?
Mainly this happens when a globally inherited class requests a native
python3 package via DEPENDS (a not too uncommon use case for me).
Thoughts?
Cheers
Konrad
[1]
https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/distutils3-base.bbclass#n1
next reply other threads:[~2021-02-16 9:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-16 9:59 Konrad Weihmann [this message]
2021-02-16 11:38 ` [OE-core] native python recipes using setuptools Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM9PR09MB46427C15B7F9F7652EA41605A8879@AM9PR09MB4642.eurprd09.prod.outlook.com \
--to=kweihmann@outlook.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.