[Debian-med-packaging] Bug#894903: Bug#894903: Bug#894903: please drop the runtime dependency on python3-distutils

Matthias Klose doko at debian.org
Sat Apr 7 12:48:12 BST 2018


On 07.04.2018 02:26, Sascha Steinbiss wrote:
> Hi,
> 
>>>> please drop the runtime dependency on python3-distutils, it's not needed anymore.
>>>>
>>>> http://launchpadlibrarian.net/363367629/ariba_2.11.0+ds-2_2.11.1+ds-2ubuntu1.diff.gz
>>>
>>> I admit I do not understand in how far this patch would change anything
>>> on thd distutils runtime dependency that was just added.  Sascha, could
>>> you please comment on this?
>>
>> Not sure about the patch either. But I'll look into removing the
>> dependency if it's unnecessary.
> 
> Well, if I remove the dependency, then the test still fails with:
> 
> autopkgtest [02:21:49]: test test-example: [-----------------------
> Traceback (most recent call last):
>   File "/usr/bin/ariba", line 3, in <module>
>     import ariba
>   File "/usr/lib/python3/dist-packages/ariba/__init__.py", line 56, in <module>
>     from ariba import *
>   File "/usr/lib/python3/dist-packages/ariba/mic_plotter.py", line 8, in <module>
>     import matplotlib
>   File "/usr/lib/python3/dist-packages/matplotlib/__init__.py", line 110, in <module>
>     import distutils.sysconfig
> ModuleNotFoundError: No module named 'distutils.sysconfig'
> autopkgtest [02:21:50]: test test-example: -----------------------]
> autopkgtest [02:21:50]: test test-example:  - - - - - - - - - - results - - - - - - - - - -
> test-example         FAIL non-zero exit status 1
> autopkgtest [02:21:50]: @@@@@@@@@@@@@@@@@@@@ summary
> test-example         FAIL non-zero exit status 1
> 
> …again, due to a missing distutils. Did I miss something?

This is in python3-matplatlib. Once the issue is fixed there, the runtime
dependency in ariba should be dropped.  See #894502.



More information about the Debian-med-packaging mailing list