[pkg-tasktools] Bug#873345: bugwarrior: Fix hard-coded reference to python3.5

Steve Langasek steve.langasek at canonical.com
Sat Aug 26 20:36:24 UTC 2017


Package: bugwarrior
Version: 1.5.1-1
Severity: serious
Tags: patch
Justification: FTBFS
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu artful ubuntu-patch

bugwarrior 1.5.1-1 has a hard-coded reference to python3.5 in debian/rules. 
The transition to python3.6 is already in progress in Debian unstable, and
this will imminently become a build failure in unstable because python3-all
will no longer depend on python3.5.

   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir test_home
HOME=`pwd`/test_home LC_ALL=C.UTF-8 python3.5 -m nose
/bin/sh: 1: python3.5: not found
debian/rules:11: recipe for target 'override_dh_auto_test' failed

python3.5 has already been dropped from Ubuntu, so I've applied the attached
patch and uploaded there.

Since bugwarrior does build-depend on python3-all rather than on python3,
it's possible you want to do something with py3versions here instead in
order to test against all currently supported versions of python3.  However,
this is only relevant a small percentage of the release cycle, so is IMHO of
lesser importance than just making the package buildable.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru bugwarrior-1.5.1/debian/rules bugwarrior-1.5.1/debian/rules
--- bugwarrior-1.5.1/debian/rules	2017-08-21 03:40:46.000000000 -0700
+++ bugwarrior-1.5.1/debian/rules	2017-08-26 13:24:00.000000000 -0700
@@ -9,7 +9,7 @@
 
 override_dh_auto_test:
 	mkdir test_home
-	HOME=`pwd`/test_home LC_ALL=C.UTF-8 python3.5 -m nose
+	HOME=`pwd`/test_home LC_ALL=C.UTF-8 python3 -m nose
 
 override_dh_auto_clean:
 	-rm -rf test_home


More information about the pkg-tasktools-discuss mailing list