Partial compatibility bounds

We’ve been making slow progress towards a full private registry setup…

  1. We registered our packages
  2. We tagged all of them
  3. We put some compatibility bounds on some packages

Am I right that step 3 is a terrible mistake? If I understand correctly, as soon as we add a bound on some dependency D which didn’t have a bound before, the package resolver is in an undesirable state (A@new_version is restricted appropriately, but A@old_version is compatible with all versions of D past and future)

If I’m reading things right, the recommended cure is:

  1. https://github.com/bcbi/RetroCap.jl
  2. GitHub - JuliaRegistries/CompatHelper.jl: Automatically update the [compat] entries for your Julia package's dependencies

Did I miss anything?

Cédric

2 Likes

Yeah RetroCap is designed to fix this exact issue.

3 Likes