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

2017-12-15 Thread Juhani Numminen
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



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

2017-12-15 Thread Andreas Tille
On Fri, Dec 15, 2017 at 05:22:09PM +0200, Juhani Numminen wrote:
> 
> 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

Thanks a lot, that's it.  Very helpful!

Andreas.

-- 
http://fam-tille.de