Commit 7b1b40888 ("docker: T5003: Use Debian package for yq, fix pip installs, fix open-vmdk build") removed the apkg installed package via pip. Use pipx run then building the libyang package.