[Debian-med-packaging] Samtools rec: dependencies are too aggressive.

Andreas Tille andreas at fam-tille.de
Tue Jun 9 10:41:35 BST 2020


Hi Alan,

thank you for your comments on samtools packaging.  In general it would
be prefered if you fire up reportbug to report issues like this since
the issue is documented in an easily accessible way and we can properly
close the issue.

On Mon, Jun 08, 2020 at 10:42:09PM +0000, Hoyle, Alan P wrote:
> I have been using samtools for many HTS workflows now, and I recently started building some Docker images that need to include it.
> 
> I noticed that apt-cache depends samtools lists as "Recommends" packages both cwltool and python.
> 
> I suggest that if someone knows they need cwltool (I've used it), they will install it separately.  I can see samtools as Recommends for cwltool given the frequency that HTS workflows would need it.

That's fixed in packaging git now:

    https://salsa.debian.org/med-team/samtools/-/commit/e8c62ffa10f390937a225fb4188fa9c31510379a

(If there would be a bug report I would tag it as "pending upload")

> Python is completely unrelated to samtools in my mind, except that it's a requirement for cwltool.

ACK.  That dependency was added 10 years ago.  Currently I can also not
find any Python dependency and thus I commited

    https://salsa.debian.org/med-team/samtools/-/commit/81ac71e9ddacb88279c35a913c81ba8f5118720a
 
> If anything, I think that those cwltool dependency can be changed from "Recommends" to "Suggests", and I think the python dependency could be removed entirely, given that cwltool already has python3 as a dependency.

I fully agree.  Thanks a lot for your comments.

> That way I wouldn't need to include --no-install-recommends whenever I apt-get install samtools.

Let me know if you want us to upload soon to help you immediately. 

Kind regards

       Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list