[Debian-med-packaging] Bug#917421: cwltool: should probably recommend (not depend on) python3-prov

Jonas Smedegaard dr at jones.dk
Fri Dec 6 14:15:07 GMT 2019


Hi Michael,

Sorry for the late response,

Quoting Michael Crusoe (2019-08-26 07:33:01)
> On Thu, 27 Dec 2018 17:09:46 +0100 Jonas Smedegaard <dr at jones.dk> wrote:
> > If I understand the changelog entry for 1.0.20181217162649+dfsg-4 
> > release correctly - i.e. that python3-prov is used in all but exotic 
> > cases, but this library does not technically break when omitted, 
> > then it is the perfect use of "Recommends:".
> >
> > Please consider if more appropriate to declaring the relationship as 
> > a recommendation rather than a definitive dependency.
> 
> Dear Jonas,
> 
> Thank you for your report. Alas not having python3-prov installed causes
> too many errors as the provenance feature is currently woven throughout the
> cwltool codebase:
> 
> tests/test_anon_types.py:3: in <module>
>     from cwltool.command_line_tool import CommandLineTool
> cwltool/command_line_tool.py:38: in <module>
>     from .docker import DockerCommandLineJob
> cwltool/docker.py:22: in <module>
>     from .job import ContainerCommandLineJob
> cwltool/job.py:24: in <module>
>     from prov.model import PROV
> E   ModuleNotFoundError: No module named 'prov'
> 
> Is there a particular reason you'd like to avoid this dependency?

My reason for wanting to avoid python3-prov is that it pulls in 
python3-networksx and with that a bunch of quite large packages 
seemingly unrelated to most use cases of this tool.

On one fairly minimal system, installing python3-gov requires 489MB.  
Suppressing recommendations of python3-networksx instead requires 160MB.

Too bad these libraries are not optional :-(

See also bug#917420.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20191206/83973fad/attachment.sig>


More information about the Debian-med-packaging mailing list