Skip to content

pmb.parse: show which package require the missing package

When a dependency is not found it now shows all the pacakges that require that dependency in the error message.

Before:

RuntimeError: Could not find dependency 'so:libpython3.9.so.1.0' in any aports folder or APKINDEX. See: <https://postmarketos.org/depends>

As you can see figuring out which of the 500 deps requires this libpython requires a crystall ball.

After:

RuntimeError: Could not find dependency 'so:libpython3.9.so.1.0' in any aports folder or APKINDEX. Required by: py3-gst. See: <https://postmarketos.org/depends>

Merge request reports