Hi,

On 11/22/24 05:49, Gioele Barabucci wrote:

Unrelated to the apt proposal, how come dpkg-divert is being used here by gpgv-from-sq instead of using the what-is-python/python-is-pythonX approach of just shipping a symlink?

Because there is no coordination between gpgv and gpgv-sq packages, and dependent packages should have no reason to care. gpgv-sq unilaterally claims compatibility, and if something breaks as a result, that is a bug in gpgv-sq, because the interface of gpgv is defined by the g10code implementation.

The python-is-pythonX approach is much simpler, fully declarative (as in: the future state of the system is statically described by the content of the package, not at runtime), and removes the need for the maintscripts to know about the other implementations.

The python-is-pythonX approach is for *incompatible* changes, where depending packages have a need to specify which version they expect to use, and introducing indirect conflicts is acceptable because it cannot be avoided.

   Simon

Reply via email to