Ask Pkg to resolve oldest possible versions for dependencies

Krastanov
Thu, 26 Jan 2023 16:26:47 +0000
Package Management

The compat for many of my packages looks like LibraryA = 0.1,0.2,0.3,0.4,0.5,0.6. I am starting to worry that I have inadvertently started relying on features introduced on a latter version that I simply did not notice are not available in a version from 2 years ago that is still in the compat. Of course, I can start manually checking, but I would much rather have CI check it for me. Thus I need to figure out how to tell Pkg to install the oldest permitted versions of dependencies. Any idea how to do that?

I believe I have seen actual runtime failures due to this in the wild, e.g. Precompilation failure caused by package dependency version , which is what prompted me to worry about this with my packages.

1 post - 1 participant