[yocto] Autogenerate python dependencies after do_fetch

Alan Martinovic alan.martinovic at senic.com
Tue May 8 08:00:30 PDT 2018


Hi,
I just want to see if someone has encountered this problem before.

I have a Yocto repository with a custom layer that has a recipe for
my custom python app (which is in its own repository).

The python app has all the requirements defined in setup.py
and those have been manually added to the recipe.

The problem arises when the python app gets a dependency
update. For example:

    Starting state:
    App dependency in setup.py -> soco 0.12
    Dependency version in Yocto -> 0.12

    Intermediate step [runtime broken]:
    App dependency in setup.py -> soco 0.12
    Dependency version in Yocto -> 0.14

    Final step [runtime fixed again]:
    App dependency in setup.py -> soco 0.14
    Dependency version in Yocto -> 0.14

Feels like an unfortunate cyclic dependency.

One of the methods that come to mind is to have
automatic generation of dependencies in the recipe
 after do_fetch has happened...

Perhaps someone has a better idea :) ?


More information about the yocto mailing list