Package: python3-jupyter-client
Version: 7.3.1-1
Severity: normal
Tags: patch
X-Debbugs-Cc: Julien Puydt <[email protected]>

The autopkgtest command is currently:

Test-Command: env HOME=$AUTOPKGTEST_TMP pytest-3 jupyter_client

which only tests the default Python 3 version.

It could simply be:

Test-Command: pytest-3 jupyter_client

as HOME is expected to be sane in autopkgtest environments.
(ci.debian.net uses LXC, and that's set up sensibly).

If the dependencies specify python3-pytest (>= 6.2.5-3), which has
/usr/bin/pytest, then this can become

Test-Command: pytest jupyter_client

Or if you want to test it under every supported version of Python, you
could do this instead, depending on python3-all in
debian/tests/control:

Test-Command: set -e
 ; for py in $(py3versions -s)
 ; do echo "Testing with $py:"
 ; $py -m pytest jupyter_client
 ; done

Best wishes,

   Julian

Reply via email to