switch to using Pkg.resolve()