RegistryCI.jl icon indicating copy to clipboard operation
RegistryCI.jl copied to clipboard

Disallow package in compat when its absent in deps

Open vdayanand opened this issue 4 years ago • 1 comments

For eg: https://github.com/JuliaRegistries/General/blob/master/G/GalacticOptim/Compat.toml adds a restriction on Zygote for GalacticOptim v0.1.0 even though its not a dependency.

vdayanand avatar Aug 06 '20 17:08 vdayanand

I think this is often OK; for example, you can use compat to restrict the versions of test-only dependencies, which can be important for tests to pass! And a package might happen to know it is incompatible with another package even if they don't depend on each other.

ericphanson avatar Apr 19 '21 11:04 ericphanson