Package: src:appdirs Version: 1.4.3-2 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past)
Note: Using the ftbfs tag since it seems to be the closest thing we have for this. Appdirs failed a recent autopkgtest and this is one of the blockers for python3-defaults migration. It failed because python3.7 was installed in the chroot and the current autopkgtest doesn't handle that. Autopkgtests should be run for all supported versions. The attached patch should solve it (untested on this package, but I've tested the approach on others with the same problem). Despite being in the form of an NMU diff, I do not plan to NMU now. If we get to the point where this is one of a few remaining blockers or if the maintianers ask me to handle it, then I will. Please let me know (not cc'ed to the bug, so either include -submitter or email me directly). Here's the exact failure: autopkgtest [09:16:17]: test python3: cp -r test "$AUTOPKGTEST_TMP" && cd "$AUTOPKGTEST_TMP" && for py in $(py3versions -vi); do "python$py" -m unittest discover -v; done autopkgtest [09:16:17]: test python3: [----------------------- /usr/bin/python3.7: No module named unittest autopkgtest [09:16:18]: test python3: -----------------------] autopkgtest [09:16:18]: test python3: - - - - - - - - - - results - - - - - - - - - - python3 FAIL non-zero exit status 1 Scott K
diff -Nru appdirs-1.4.3/debian/changelog appdirs-1.4.3/debian/changelog --- appdirs-1.4.3/debian/changelog 2020-02-26 15:13:19.000000000 -0500 +++ appdirs-1.4.3/debian/changelog 2020-03-18 15:30:59.000000000 -0400 @@ -1,3 +1,10 @@ +appdirs (1.4.3-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix autopkgtest to reliably run with multiple python3 versions installed + + -- Scott Kitterman <sc...@kitterman.com> Wed, 18 Mar 2020 15:30:59 -0400 + appdirs (1.4.3-2) unstable; urgency=medium * Move repository to salsa.debian.org diff -Nru appdirs-1.4.3/debian/tests/control appdirs-1.4.3/debian/tests/control --- appdirs-1.4.3/debian/tests/control 2020-02-26 15:06:10.000000000 -0500 +++ appdirs-1.4.3/debian/tests/control 2020-03-18 15:30:59.000000000 -0400 @@ -3,7 +3,7 @@ Restrictions: allow-stderr Features: test-name=pypy -Test-Command: cp -r test "$AUTOPKGTEST_TMP" && cd "$AUTOPKGTEST_TMP" && for py in $(py3versions -vi); do "python$py" -m unittest discover -v; done -Depends: python3-appdirs +Test-Command: cp -r test "$AUTOPKGTEST_TMP" && cd "$AUTOPKGTEST_TMP" && for py in $(py3versions -vs); do "python$py" -m unittest discover -v; done +Depends: python3-all, python3-appdirs Restrictions: allow-stderr Features: test-name=python3