All of lore.kernel.org
 help / color / mirror / Atom feed
* Python 3 internal package dependencies
@ 2017-06-08  6:47 Craig McQueen
  2017-06-08  8:50 ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Craig McQueen @ 2017-06-08  6:47 UTC (permalink / raw)
  To: yocto@yoctoproject.org

I found that the Python 3 internal package dependencies are incompletely specified. For example, I wanted to install python3-asyncio for my Python program to use. But when I tried to run it, it was missing some other Python 3 packages that asyncio depended on. I ended up making a Python 3 bbappend file with the following:

RDEPENDS_${PN}-asyncio += "${PN}-selectors"
RDEPENDS_${PN}-misc += "${PN}-multiprocessing"
RDEPENDS_${PN}-io += "${PN}-shell"
RDEPENDS_${PN}-shell += "${PN}-compression"

This just solved my immediate needs; I'm sure it's incomplete.

Is it worth trying to improve the internal package RDEPENDS in the Python 3 recipe, or is it better for recipes for Python apps to just manually list all the sub-dependencies as needed?

-- 
Craig McQueen



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-12  7:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-08  6:47 Python 3 internal package dependencies Craig McQueen
2017-06-08  8:50 ` Burton, Ross
2017-06-08 11:02   ` Alexander Kanavin
2017-06-08 11:12     ` Burton, Ross
2017-06-12  7:27     ` Anders Darander

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.