On Tue, Nov 23, 2021 at 06:40:13PM +0100, Konrad Weihmann wrote:
> Hi all,
> 
> recently more and more python module (preferably downloaded from
> pypi) do not contain a setup.py anymore.
> 
> I remember there were attempts to use https://github.com/pypa/build
> instead, but to me it always boiled down to a huge chicken and egg
> issue, as the tool itself has quite a large dependency list [1].
> 
> Lately I've seen rather hackish approaches to the issue [2].
> Is this the way we need to go?

I believe the commit log in [2] clearly explains why it is done in such 
a hacky way due to a circular dependency.


> If so, wouldn't it make sense to create some bb-helper-class for it
> (I'm willing to give it a try).
> 
> Did anyone had a in-depth talk with pypa upstream about that and
> what was the outcome of that discussion?

Since OpenEmbedded is not alone here and other source distros are having 
similar issues (the hacky solution [2] is actually borrowed from Gentoo), 
I'd say there are discussions or at least inquiries with upstream pypa... 
Would be nice if anyone had any pointers to those, though.


> [1] https://github.com/pypa/build/blob/main/setup.cfg
> [2] 
> https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/python?id=6cc9954c6bac9e3c19b2b0f26a69b629a8ee7273

-- 
Regards,
Denys Dmytriyenko <[email protected]>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1361): 
https://lists.openembedded.org/g/openembedded-architecture/message/1361
Mute This Topic: https://lists.openembedded.org/mt/87264004/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-architecture/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to