Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: pu
In Wheezy, we inadvertently failed to include /usr/bin/python2. Since the freeze/release, it's become clearer that the use of /usr/bin/python2 in third party scripts is increasing. Leaving aside the sanity of this approach, it is the upstream Python recommendation to provide it and Debian's lack of it is causing problems for users. While this doesn't directly affect running any packages in the archive, since the fix is so simple/low risk, I think we ought to go ahead and provide it for Wheezy to make life easier for users trying to use externally developed scripts. Use of /usr/bin/python2 is spreading more rapidly than I had expected. We did a survey, and it appears that Debian is the only major distro not providing it in their current stable release (even CentOS/RHEL have added it to their python2.6 packages). I know, "but the users ..." can get annoying, but I think this is one case where it actually applies. Scott K
diff -Nru python-defaults-2.7.3/debian/changelog python-defaults-2.7.3/debian/changelog --- python-defaults-2.7.3/debian/changelog 2013-02-08 16:26:43.000000000 -0500 +++ python-defaults-2.7.3/debian/changelog 2013-09-28 15:36:47.000000000 -0400 @@ -1,3 +1,11 @@ +python-defaults (2.7.3-4+deb7u1) stable; urgency=low + + * Add symlink for /usr/bin/python2 (Closes: #723182) + - This was inadvertently omitted during Wheezy development, but is already + fixed in jessie (the fix proposed here is identical) + + -- Scott Kitterman <sc...@kitterman.com> Sat, 28 Sep 2013 15:30:14 -0400 + python-defaults (2.7.3-4) unstable; urgency=low [ Dmitry Shachnev ] diff -Nru python-defaults-2.7.3/debian/rules python-defaults-2.7.3/debian/rules --- python-defaults-2.7.3/debian/rules 2012-06-30 14:31:59.000000000 -0400 +++ python-defaults-2.7.3/debian/rules 2013-09-28 15:30:07.000000000 -0400 @@ -166,9 +166,12 @@ : # provide the python and python.1 defaults mkdir -p debian/python-minimal/usr/bin ln -sf python$(VER) debian/python-minimal/usr/bin/python + ln -sf python$(VER) debian/python-minimal/usr/bin/python2 mkdir -p debian/python-minimal/usr/share/man/man1 ln -sf python$(VER).1.gz \ debian/python-minimal/usr/share/man/man1/python.1.gz + ln -sf python$(VER).1.gz \ + debian/python-minimal/usr/share/man/man1/python2.1.gz : # mkdir -p debian/python-minimal/usr/share/python