Add a way of querying the dependency versions
For lhcb-simulation/lbmcsubmit!115 though it'll have other uses (e.g. https://github.com/root-project/root/issues/14793#issuecomment-1999462389).
For lhcb-simulation/lbmcsubmit!115 though it'll have other uses (e.g. https://github.com/root-project/root/issues/14793#issuecomment-1999462389).