Package: dh-python
Version: 2.20160818
Severity: wishlist

Dear maintainer,

My package ocrmypdf uses py.test, but it needs pytest-runner to
successfully run the tests if the package is not already installed.
pybuild's current support for invoking py.test fails if ocrmypdf is not
yet installed.

I am currently using this:

    override_dh_auto_test:
        python3 setup.py test

plus a build-dependency on python3-pytest-runner, but I am not sure
whether this is the standard way to invoke pytest-runner.  Some further
discussion is here.[1]

Thanks.

[1] 
https://github.com/jbarlow83/OCRmyPDF/commit/325cc0beca8f268744779f5aa5e17061626e440f

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 4.5.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dh-python depends on:
pn  python3:any  <none>

dh-python recommends no packages.

Versions of packages dh-python suggests:
ii  libdpkg-perl  1.18.10

-- no debconf information

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply via email to