Public bug reported:

Currently, rustc-1.93 has a strict Depends relationship with
cargo-auditable, but since cargo-auditable is a strictly opt-in
feature, this dependency is far too restrictive. To quote the Debian
Policy Manual[1] states that Depends is only necessary if:
- The package is needed to provide significant functionality
- The postinst or prerm scripts require the package
- The postrm script requires the package for cleanup after removal

On the other hand, the Debian Policy Manual states the following
regarding Suggests:

> Using this field tells the packaging system and the user that the
> listed packages are related to this one and can perhaps enhance its
> usefulness, but that installing this one without them is perfectly
> reasonable.

This fits rustc-1.93's relationship with cargo-auditable perfectly --
cargo-auditable is needed to use a single, experimental, opt-in
feature, but it is wholly unnecessary for the vast majority of rustc
installations.

Additionally, rustc-1.93 must fail gracefully if cargo-auditable isn't
installed, because after moving cargo-auditable to Suggests we can't
guarantee that it'll be installed.

Fixing this bug is important because it would mean that we could make
rustc-1.93 the default without needing to wait on an MIR for
cargo-auditable.

[1]: https://www.debian.org/doc/debian-policy/ch-relationships.html

** Affects: rustc-1.93 (Ubuntu)
     Importance: High
         Status: Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143935

Title:
  cargo-auditable dependency should be Suggests

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rustc-1.93/+bug/2143935/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to