Once we have these `install_from_XX` interfaces locked down, I'd like to introduce unit tests for each function, as well as for `parse_sources`. It's awesome that you've introduced additional end-to-end tests, but this will be difficult to maintain without more granular unit tests.

It might be a good idea to split these out into a separate `install-from-sources` file.