When using --from-commit, the robot doesn't seem to be able to find easyconfig files for dependencies, despite them being available in that same commit.
Example, using EasyBuild v4.9.1 (cfr. EESSI/software-layer#585 (comment)):
$ eb --from-commit 04ccd901a613631b00ccbe504d6d66d6a6c2febb PyTorch-bundle-2.1.2-foss-2023a.eb -D
== Temporary log file in case of crash /tmp/eb-mqsf3w04/easybuild-_o_vpmst.log
ERROR: Missing dependencies: SentencePiece/0.2.0-foss-2023a, SoX/14.4.2-foss-2023a (no easyconfig file or existing module found)
Yet, an easyconfig file for SentencePiece v0.2.0 that can be used to resolve the dependency when using the foss/2023a toolchain`is available in that commit, see https://github.com/easybuilders/easybuild-easyconfigs/blob/04ccd901a613631b00ccbe504d6d66d6a6c2febb/easybuild/easyconfigs/s/SentencePiece/SentencePiece-0.2.0-GCC-12.3.0.eb