[Python-apps-team] Bug#900833: beets: autopkgtests failing due to output to stderr
Daniel Watkins
oddbloke at ubuntu.com
Tue Jun 5 17:59:40 BST 2018
Package: beets
Version: 1.4.7-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu cosmic ubuntu-patch
Dear Maintainer,
With the removal of X-Python3-Versions, `py3versions -r` now emits
output to stderr, causing autopkgtests to fail. Without
X-Python3-Versions, `py3versions -r` falls back to `py3versions
--supported` (which is, in fact, what the stderr message is telling us).
This patch simply updates the code to use that call directly.
Thanks for considering the patch.
-------------- next part --------------
diff -Nru beets-1.4.7/debian/tests/unittests beets-1.4.7/debian/tests/unittests
--- beets-1.4.7/debian/tests/unittests 2018-05-31 07:07:19.000000000 -0700
+++ beets-1.4.7/debian/tests/unittests 2018-06-05 09:40:26.000000000 -0700
@@ -5,7 +5,7 @@
export LC_ALL=C.UTF-8
export PYTHONPATH=/usr/share/beets
-pythons="$(py3versions -r)"
+pythons="$(py3versions --supported)"
cp -a test $AUTOPKGTEST_TMP
cd "$AUTOPKGTEST_TMP"
More information about the Python-apps-team
mailing list