In the Project.toml
of package A
, I would like to restrict compatibility for package B
that is not a dependency.
(why I am doing this)
The motivation is following up on an array index ordering change of MCMCDiagnosticTools.jl which is not a direct dependency of DynamicHMC.jl, but the latter has a utility function for stacking posteriors in this order and I don’t want users to accidentally end up with incompatible arrays.
The following works:
[extras]
B = "uuid of B"
[compat]
B = "the.version"
but I am not sure if it is the indended API, I find [extras]
to be somewhat underdocumented.