Re: How to handle a testing only python package dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Markus,

On Thu, Aug 15, 2019 at 03:24:19AM +0800, Markus Mohrhard <markus.mohrhard@xxxxxxxxxxxxxx> wrote:
> What is our policy about python packages that are actually not needed for
> an installed LibreOffice?

I think most build-time dependencies are simply mandated by configure,
and then either provided manually or via lode (think of doxygen, gperf,
etc.)

> My current solution would be to add an explicit ImportError check in the
> script and tell the person calling the script to install the package. As
> this is mostly something for a few selected QA team members this seems like
> an acceptable solution.
> 
> Any other solutions/opinions?

Sounds good to me. It's similar to e.g. bin/find-unneeded-includes,
where the few ones who actually use it will take care of installing the
underlying dependency and others are not forced to install it.

Regards,

Miklos

Attachment: signature.asc
Description: Digital signature

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux