Bug#888307: devscripts: reproducible-check is missing python3-xdg as a dependency

Mattia Rizzolo mattia at debian.org
Thu Jan 25 12:26:07 UTC 2018


On Wed, Jan 24, 2018 at 09:55:18PM +0100, Nicolas Sévelin-Radiguet wrote:
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
>     Install devscripts package without recommended nor suggested packages
>     
>    * What was the outcome of this action?
>     $ reproducible-check 
>     Traceback (most recent call last):
>       File "/usr/bin/reproducible-check", line 29, in <module>
>         from xdg.BaseDirectory import xdg_cache_home
>     ModuleNotFoundError: No module named 'xdg'
>     
>    * What outcome did you expect instead?
>    reproducible-check to work properly
> 
> Installing python3-xdg solves the issue. You should consider it as a dependency of the devscripts package.
> python3-xdg is currently a recommended package.

Nope, the policy used in devscripts to discern between what to put as
dependency and what to put as a recommendation is based on the
"important" and "common usage" of the tools requiring it.
reproducible-check is after all a minor script within the whole
devscripts, so it will stay in Recommends only.

I'll add a check on reproducible-check to avoid the traceback and
instead provide an error message with instructions to install
python3-xdg, as it's done in other programs.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20180125/578ca71d/attachment.sig>


More information about the devscripts-devel mailing list