[Debian-med-packaging] Bug#884040: Suspected change in test dependencies - where is "discover" (Was: [Help] Re: Bug#884040: python-matplotlib-venn FTBFS: test failure)

Juhani Numminen juhaninumminen0 at gmail.com
Fri Dec 15 15:22:09 UTC 2017


Andreas Tille kirjoitti 12.12.2017 klo 17:10:
> Hi again,
> 
> On Mon, Dec 11, 2017 at 09:27:57AM +0100, Andreas Tille wrote:
>>
>> On Sun, Dec 10, 2017 at 09:05:07PM +0200, Adrian Bunk wrote:
>>> =============================== warnings summary ===============================
>>> None
>>>   [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.
>>
>> I've fixed this in Git[1]
>>  
>>> -- Docs: http://doc.pytest.org/en/latest/warnings.html
>>> ========================== 1 warnings in 0.00 seconds ==========================
>>> ERROR: file not found: discover
>>
> 
> I tried to build on local host (not in a pbuilder chroot) and than this
> issue does not occure.  Seems I need to add a new Build-Depends for
> whatever reason.  Any hint which one?  I parsed the package pool for
> anything Python related containing a file "discover" / "discover.py" but
> besides many hits there was no real helpful one.

Hello,

In debian/rules, are the arguments to dh_auto_test still needed? The error went
away when I removed said arguments, like so:

 override_dh_auto_test:
     xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" \
-        dh_auto_test -- --test --system=custom --test-args='cp -a README.rst {home_dir}/build && cd {home_dir}/build && {interpreter} $(CURDIR)/setup.py test && rm README.rst'
+        dh_auto_test


Regards,
Juhani



More information about the Debian-med-packaging mailing list