[Python-modules-team] Bug#900999: the autopkg test loops around pyversion -d / py3versions -d

Matthias Klose doko at debian.org
Thu Jun 7 22:27:03 BST 2018


Package: src:libcloud
Version: 2.3.0-1

you are trying to loop over all supported python versions? that would be 
pyversions -s, but otoh the test dependencies don't include python3-all / 
python-all.

$ cat debian/tests/upstream
#!/bin/sh

set -e

PYTHON2S=`pyversions -d`
PYTHON3S=`py3versions -d`

cp libcloud/test/secrets.py-dist libcloud/test/secrets.py

for PY in $PYTHON2S; do
     $PY setup.py test 2>&1;
done

for PY in $PYTHON3S; do
     $PY setup.py test 2>&1;
done



More information about the Python-modules-team mailing list