Source: python-jellyfish Version: 0.8.9-1 Severity: normal Tags: patch I just noticed a bug in my packages which affects python-jellyfish too: the autopkgtests script debian/tests/py3 doesn't actually test anything, as py3versions -r only gives an error message and no python binaries when called from anywhere other than the root of the source code tree.
The current script changes directory before calling py3versions, causing this behaviour. The fix is to call the cd after calling py3versions, for example changing the body of the script to read: cp -r testdata "$AUTOPKGTEST_TMP" for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" echo "Testing with $py:" $py -m pytest --pyargs jellyfish.test done or: python3_versions=$(py3versions -r 2>/dev/null) cp -r testdata "$AUTOPKGTEST_TMP" cd "$AUTOPKGTEST_TMP" for py in $python3_versions ; do echo "Testing with $py:" $py -m pytest --pyargs jellyfish.test done Best wishes, Julian