If I inherit python_poetry_core on my bitbake recipe file, and install it into my yocto image, will my python script get all its dependencies and work? Or I still need to add the dependencies to RDEPENDS? How about virtualenvs?
On 25 Feb 2023, at 07:14, minecraft2048 via lists.yoctoproject.org <minecraft2048=gmail.com@...> wrote:
If I inherit python_poetry_core on my bitbake recipe file, and install it into my yocto image, will my python script get all its dependencies and work? Or I still need to add the dependencies to RDEPENDS? How about virtualenvs?
The Python build tool, be it poetry or flit or setuptools, will do a build in the environment that the recipe has defined: only the dependencies in DEPENDS, no virtualenv.
The point being that we control the environment and know exactly what versions of what packages are in it.