Some libraries are incompatible with others. Fact of life. I propose a field incompatible-with in library.properties, analogues to depends and with the same semantic (several entries divided by commas), but with the opposite semantic: The library manager should refuse to install a library if any of the libraries in incompatible-with is present. Ideally there should be a granularity down to version too, but let's leave that out for the moment (there is no versions in depends either).
Only in this way it is possible to cleanly publish a completely compatible replacement for an existing library.
Additional context
Related
Some libraries are incompatible with others. Fact of life. I propose a field
incompatible-within library.properties, analogues todependsand with the same semantic (several entries divided by commas), but with the opposite semantic: The library manager should refuse to install a library if any of the libraries inincompatible-withis present. Ideally there should be a granularity down to version too, but let's leave that out for the moment (there is no versions independseither).Only in this way it is possible to cleanly publish a completely compatible replacement for an existing library.
Additional context
Related