On Fri, Feb 26, 2010 at 08:50:06PM +0100, Sandro Tosi wrote: > On Fri, Feb 26, 2010 at 15:06:51 -0430, Miguel Landaeta wrote: > > This seems easy to fix, but I don't find a correct way to > > switch to python2.6. I have been waiting for python2.6 as > > default version for ages and still it is not the default > > version... > > What I do is: > > - setup a separate pbuilder chroot, in my case > /home/morph/deb/pbuilder/base_python2.6default.tgz > - sudo pbuilder --login --save-after-login --basetgz > /home/morph/deb/pbuilder/base_python2.6default.tgz > - change /usr/share/python/debian_defaults and set python2.6 as default > - change the symlinks /usr/bin/python* to point to 2.6 > - exit from the pbuilder chroot and --build the package with that --basetgz.
Thanks for the info Sandro. I really should have RTFM. I did something similar to that: I installed python2.6, changed /usr/bin/python symlink and edited /usr/share/python/debian_defaults. After fixing some buggy lines in debian/rules, I still can't build namebench because of some python-support error. I don't know if I should file a bug in python-support or keep waiting and waiting for proper python2.6 support. Anyway, below is the relevant part of my build log, maybe someone know how to override this problem with python-support: make[1]: Leaving directory `/home/miguel/src/namebench/ftbfs/namebench-1.1+dfsg' dh_installcatalogs dh_installcron dh_installdebconf dh_installemacsen dh_installifupdown dh_installinfo dh_pysupport dh_pysupport: The default python version is greater than all supported versions make: *** [binary] Error 9 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 > PS: let's thank the python maintainers for not having provided an > environment where to test such problems and for waiting more and more > for the switch.... Totally, what is it still needed to make the switch? I am really willing to help to complete this switch. Regards, -- Miguel Landaeta, miguel at miguel.cc secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/ "Faith means not wanting to know what is true." -- Nietzsche _______________________________________________ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/python-modules-team