There doesn't appear to be a way to get the dependencies of a package from 
the API exposed in the Pkg module. I looked at the internals of the Pkg 
modules but didn't become enlightened. Specifically, I want to be able to 
get a list of dependencies for a given package and version.  It would also 
be helpful to know which versions of a dependent package can be used, but 
that is not crucial.

I found MetaTools.get_pkg in PackageEvaluator.jl which could do what I 
needed. However it's probably not the best idea for me to use an 
undocumented feature in a package that (surprisingly!) isn't in METADATA :).

Anyone have any suggestions on how to do this relatively safely?

Thanks!
Sam

Reply via email to