Ian Jackson [2011-10-17 22:07 +0100]:
> I'll see if I can do a test.  But if someone else gets there first
> and sends a tested patch that would be great :-).

I tested adt-run and adt-virt-null with python2.7 in two different
packages, running fine.

Minor python versions should generally not break existing code, so I
don't think we need to be overly cautious here. Also, 2.7 is going to
be the last 2.x version anyway, with python3 being out for a while
now.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -Nru autopkgtest-2.0.1ubuntu1/debian/changelog 
autopkgtest-2.0.1ubuntu2/debian/changelog
--- autopkgtest-2.0.1ubuntu1/debian/changelog   2011-11-09 08:58:22.000000000 
+0100
+++ autopkgtest-2.0.1ubuntu2/debian/changelog   2011-11-11 16:16:02.000000000 
+0100
@@ -1,3 +1,11 @@
+autopkgtest (2.0.1ubuntu2) precise; urgency=low
+
+  * Fix hashbang lines to use python instead of python2.6, and update
+    debian/control to only depend on python (>= 2.6) instead of python2.6.
+    See Debian #644332.
+
+ -- Martin Pitt <martin.p...@ubuntu.com>  Fri, 11 Nov 2011 16:15:18 +0100
+
 autopkgtest (2.0.1ubuntu1) precise; urgency=low
 
   * adt-run: Fix "NameError: global name 'f' is not defined" crash. Forwarded
diff -Nru autopkgtest-2.0.1ubuntu1/debian/control 
autopkgtest-2.0.1ubuntu2/debian/control
--- autopkgtest-2.0.1ubuntu1/debian/control     2011-11-09 08:58:24.000000000 
+0100
+++ autopkgtest-2.0.1ubuntu2/debian/control     2011-11-11 16:15:43.000000000 
+0100
@@ -9,7 +9,7 @@
 
 Package: autopkgtest
 Architecture: all
-Depends: python2.6
+Depends: python (>= 2.6)
 Conflicts: autodebtest (<< 0.5.3)
 Replaces: autodebtest (<< 0.5.3)
 Recommends: apt-utils
diff -Nru autopkgtest-2.0.1ubuntu1/runner/adt-run 
autopkgtest-2.0.1ubuntu2/runner/adt-run
--- autopkgtest-2.0.1ubuntu1/runner/adt-run     2011-11-09 08:54:08.000000000 
+0100
+++ autopkgtest-2.0.1ubuntu2/runner/adt-run     2011-11-11 16:14:23.000000000 
+0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.6
+#!/usr/bin/python
 #
 # adt-run is part of autopkgtest
 # autopkgtest is a tool for testing Debian binary packages
diff -Nru autopkgtest-2.0.1ubuntu1/virt-subproc/adt-virt-chroot 
autopkgtest-2.0.1ubuntu2/virt-subproc/adt-virt-chroot
--- autopkgtest-2.0.1ubuntu1/virt-subproc/adt-virt-chroot       2011-07-30 
18:59:22.000000000 +0200
+++ autopkgtest-2.0.1ubuntu2/virt-subproc/adt-virt-chroot       2011-11-11 
16:14:49.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.6
+#!/usr/bin/python
 #
 # adt-virt-chroot is part of autopkgtest
 # autopkgtest is a tool for testing Debian binary packages
diff -Nru autopkgtest-2.0.1ubuntu1/virt-subproc/adt-virt-null 
autopkgtest-2.0.1ubuntu2/virt-subproc/adt-virt-null
--- autopkgtest-2.0.1ubuntu1/virt-subproc/adt-virt-null 2011-07-30 
18:59:22.000000000 +0200
+++ autopkgtest-2.0.1ubuntu2/virt-subproc/adt-virt-null 2011-11-11 
16:14:53.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.6
+#!/usr/bin/python
 #
 # adt-virt-null is part of autopkgtest
 # autopkgtest is a tool for testing Debian binary packages
diff -Nru autopkgtest-2.0.1ubuntu1/virt-subproc/adt-virt-schroot 
autopkgtest-2.0.1ubuntu2/virt-subproc/adt-virt-schroot
--- autopkgtest-2.0.1ubuntu1/virt-subproc/adt-virt-schroot      2011-07-30 
18:59:22.000000000 +0200
+++ autopkgtest-2.0.1ubuntu2/virt-subproc/adt-virt-schroot      2011-11-11 
16:14:58.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.6
+#!/usr/bin/python
 #
 # adt-virt-schroot is part of autopkgtest
 # autopkgtest is a tool for testing Debian binary packages
diff -Nru autopkgtest-2.0.1ubuntu1/virt-subproc/adt-virt-xenlvm 
autopkgtest-2.0.1ubuntu2/virt-subproc/adt-virt-xenlvm
--- autopkgtest-2.0.1ubuntu1/virt-subproc/adt-virt-xenlvm       2011-07-30 
18:59:22.000000000 +0200
+++ autopkgtest-2.0.1ubuntu2/virt-subproc/adt-virt-xenlvm       2011-11-11 
16:15:06.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.6
+#!/usr/bin/python
 #
 # adt-virt-xenlvm is part of autopkgtest
 # autopkgtest is a tool for testing Debian binary packages

Attachment: signature.asc
Description: Digital signature

Reply via email to