Re: Request to join DPMT
* Michael Schutte , 2013-07-29, 10:31: I have agreed with Jakub to take over python-docutils and I'm currently preparing the first revision of the 0.11 release. I'd therefore like to be added to the Modules Team. My username on Alioth is michi. Welcome to the team! :-) -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130802105355.ga4...@jwilk.net
Re: python3.3 status
python3.3 is the default python3. We're going straight to dropping python3.2 from supported python3 versions. binNMUs were already done for morse- simulator,postgresql-9.1,yafaray,and znc after python3.3 became default. These issues still remain: > libguestfs - No longer FTBFS on amd64, but does on i386, #710545, now > builds for all python3 versions pytango - FTBFS on s390 -> #711761, patch sent upstream, waiting for > feedback. Once python3-defaults 3.3.2-4 is installed everywhere, we can proceed: > > > > morse-simulator - NMUed for #712014 - will need binNMU after python3.3 > > > > is default > > > > boost1.* - Will need binNMU > > > > file- No effect on the transition #709269 > > > pycxx - Will need sourceful update after python3.3 is default Once I have an updated ben to look at, I'll have a full binNMU list for dropping python3.2 support. Scott K -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1381234.iUqLIRTDSM@scott-latitude-e6320
dh-python in unstable
dh-python is already in unstable \o/ To build/install python3-foo or pypy-foo binary packages, you can use this in debian/rules: %: dh $@ --with python2,python3,pypy --buildsystem=pybuild or if you don't want to play with .install files: export PYBUILD_DESTDIR_python2=debian/python-foo/ export PYBUILD_DESTDIR_python2-dbg=debian/python-foo-dbg/ export PYBUILD_DESTDIR_python3=debian/python3-foo/ export PYBUILD_DESTDIR_python3-dbg=debian/python3-foo-dbg/ export PYBUILD_DESTDIR_pypy=debian/pypy-foo/ %: dh $@ --with python2,python3,pypy --buildsystem=pybuild See pybuild(1) and dh_pypy(1) for more info. Note that adding dh-python to Build-Depends enables multiarch support in dh_python2 -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130802131535.ga22...@p1otr.com
Re: dh-python in unstable
On Fri, Aug 2, 2013 at 15:15:36 +0200, Piotr Ożarowski wrote: > Note that adding dh-python to Build-Depends enables multiarch support in > dh_python2 What does that mean? Cheers, Julien -- Julien Cristau Logilab http://www.logilab.fr/ Informatique scientifique & gestion de connaissances -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130802132340.gb15...@crater2.logilab.fr
Re: dh-python in unstable
On Fri, Aug 02, 2013 at 03:15:36PM +0200, Piotr Ożarowski wrote: > Note that adding dh-python to Build-Depends enables multiarch support in > dh_python2 What does this change exactly? -- WBR, wRAR -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130802132401.ga28...@belkar.wrar.name
Re: dh-python in unstable
[Julien Cristau, 2013-08-02] > On Fri, Aug 2, 2013 at 15:15:36 +0200, Piotr Ożarowski wrote: > > > Note that adding dh-python to Build-Depends enables multiarch support in > > dh_python2 > > What does that mean? that means dh_python2 will rename /usr/lib/python2.7/dist-packages/foo/bar.so /usr/lib/python2.7/dist-packages/foo/bar_d.so into /usr/lib/python2.7/dist-packages/foo/bar..so /usr/lib/python2.7/dist-packages/foo/bar._d.so -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130802133957.ga22...@p1otr.com
Re: dh-python in unstable
On Fri, Aug 2, 2013 at 15:39:57 +0200, Piotr Ożarowski wrote: > [Julien Cristau, 2013-08-02] > > On Fri, Aug 2, 2013 at 15:15:36 +0200, Piotr Ożarowski wrote: > > > > > Note that adding dh-python to Build-Depends enables multiarch support in > > > dh_python2 > > > > What does that mean? > > that means dh_python2 will rename > >/usr/lib/python2.7/dist-packages/foo/bar.so >/usr/lib/python2.7/dist-packages/foo/bar_d.so > > into > >/usr/lib/python2.7/dist-packages/foo/bar..so >/usr/lib/python2.7/dist-packages/foo/bar._d.so So it will rename stuff or not based on the Build-Depends field? That seems... wrong. Cheers, Julien -- Julien Cristau Logilab http://www.logilab.fr/ Informatique scientifique & gestion de connaissances -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130802135651.gc15...@crater2.logilab.fr
Re: dh-python in unstable
[Julien Cristau, 2013-08-02] > So it will rename stuff or not based on the Build-Depends field? That > seems... wrong. it will use dh-python's dh_python2 which includes this feature -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130802140209.gb22...@p1otr.com
Re: dh-python in unstable
* Julien Cristau , 2013-08-02, 15:56: So it will rename stuff or not based on the Build-Depends field? That seems... wrong. Worse, it doesn't even try to parse Build-Depends. The relevant logic appears to be: if [ -f /usr/share/dh-python/dh_python2 ] &&\ grep -q dh-python ./debian/control 2>/dev/null then exec /usr/share/dh-python/dh_python2 $@ else exec /usr/share/python/dh_python2 $@ fi -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130802142400.ga3...@jwilk.net
Re: dh-python in unstable
On Fri, Aug 2, 2013 at 16:24:00 +0200, Jakub Wilk wrote: > * Julien Cristau , 2013-08-02, 15:56: > >So it will rename stuff or not based on the Build-Depends field? > >That seems... wrong. > > Worse, it doesn't even try to parse Build-Depends. The relevant > logic appears to be: > > if [ -f /usr/share/dh-python/dh_python2 ] &&\ > grep -q dh-python ./debian/control 2>/dev/null > then > exec /usr/share/dh-python/dh_python2 $@ > else > exec /usr/share/python/dh_python2 $@ > fi > kill me now... Cheers, Julien -- Julien Cristau Logilab http://www.logilab.fr/ Informatique scientifique & gestion de connaissances -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130802143005.gd15...@crater2.logilab.fr
Re: dh-python in unstable
[Jakub Wilk, 2013-08-02] > * Julien Cristau , 2013-08-02, 15:56: > >So it will rename stuff or not based on the Build-Depends field? > >That seems... wrong. > > Worse, it doesn't even try to parse Build-Depends. The relevant logic > appears to be: > > if [ -f /usr/share/dh-python/dh_python2 ] &&\ > grep -q dh-python ./debian/control 2>/dev/null > then > exec /usr/share/dh-python/dh_python2 $@ > else > exec /usr/share/python/dh_python2 $@ > fi eh, I forgot to replace the one from experimental with a regexp, anyway, if you have a better idea, I'm all ears (and installing python3 package with `apt-get install python` was already proposed :P) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130802143615.gc22...@p1otr.com
Re: dh-python in unstable
On Fri, Aug 2, 2013 at 6:36 PM, Piotr Ożarowski wrote: > eh, I forgot to replace the one from experimental with a regexp, > anyway, if you have a better idea, I'm all ears > (and installing python3 package with `apt-get install python` > was already proposed :P) Why not just drop python-defaults' own dh_python2 and always use dh-python's one (like done for dh_python3)? -- Dmitry Shachnev -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cakimphxomwebhzkdiusctf8ytmvpvrfmvmrgzyfsjchmp8-...@mail.gmail.com
Re: dh-python in unstable
[Dmitry Shachnev, 2013-08-02] > On Fri, Aug 2, 2013 at 6:36 PM, Piotr Ożarowski wrote: > > eh, I forgot to replace the one from experimental with a regexp, > > anyway, if you have a better idea, I'm all ears > > (and installing python3 package with `apt-get install python` > > was already proposed :P) > > Why not just drop python-defaults' own dh_python2 and always use > dh-python's one (like done for dh_python3)? that would require source uploads in all packages that use dh_python2. pybuild is so cool that migration will happen anyway :) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130802150723.ga24...@p1otr.com
Re: dh-python in unstable
On Aug 02, 2013, at 03:15 PM, Piotr Ożarowski wrote: >dh-python is already in unstable \o/ Yay! And thanks! >To build/install python3-foo or pypy-foo binary packages, >you can use this in debian/rules: > > %: > dh $@ --with python2,python3,pypy --buildsystem=pybuild > >or if you don't want to play with .install files: > > export PYBUILD_DESTDIR_python2=debian/python-foo/ > export PYBUILD_DESTDIR_python2-dbg=debian/python-foo-dbg/ > export PYBUILD_DESTDIR_python3=debian/python3-foo/ > export PYBUILD_DESTDIR_python3-dbg=debian/python3-foo-dbg/ > export PYBUILD_DESTDIR_pypy=debian/pypy-foo/ I wonder if it wouldn't be possible to calculate default values for all of these. E.g. if you had: export PYBUILD_NAME=foo I think the rest could be pretty much figured out, at least for the common cases. Is that worth it? > %: > dh $@ --with python2,python3,pypy --buildsystem=pybuild > >See pybuild(1) and dh_pypy(1) for more info. So we'll finally be able to simplify the recommendations in the style guide to not have to add all those overrides? That would be really fantastic. (I'm going to try to convert some of my packages over to pybuild and see how it goes.) -Barry -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130802111901.0797f50c@anarchist
Re: dh-python in unstable
[Barry Warsaw, 2013-08-02] > On Aug 02, 2013, at 03:15 PM, Piotr Ożarowski wrote: > > export PYBUILD_DESTDIR_python2=debian/python-foo/ > > export PYBUILD_DESTDIR_python2-dbg=debian/python-foo-dbg/ > > export PYBUILD_DESTDIR_python3=debian/python3-foo/ > > export PYBUILD_DESTDIR_python3-dbg=debian/python3-foo-dbg/ > > export PYBUILD_DESTDIR_pypy=debian/pypy-foo/ > > I wonder if it wouldn't be possible to calculate default values for all of > these. E.g. if you had: > > export PYBUILD_NAME=foo > > I think the rest could be pretty much figured out, at least for the common > cases. Is that worth it? good idea, I'll add --name and PYBUILD_NAME > > %: > > dh $@ --with python2,python3,pypy --buildsystem=pybuild > > > >See pybuild(1) and dh_pypy(1) for more info. > > So we'll finally be able to simplify the recommendations in the style guide to > not have to add all those overrides? That would be really fantastic. yes -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130802154238.gb24...@p1otr.com
Re: dh-python in unstable
This left me puzzling for a bit: $> sudo apt-get install dh-python ... The following packages have unmet dependencies: dh-python : Depends: python3 (>= 3.2.3-3~) but it is not going to be installed E: Unable to correct problems, you have held broken packages. $> apt-cache policy python3 python3: Installed: 3.2.3-7 Candidate: 3.3.2-3 Version table: 3.3.2-11 0 300 http://debian.lcs.mit.edu/debian/ experimental/main amd64 Packages 3.3.2-4 0 600 http://debian.lcs.mit.edu/debian/ sid/main amd64 Packages 3.3.2-3 0 900 http://debian.lcs.mit.edu/debian/ jessie/main amd64 Packages *** 3.2.3-7 0 100 /var/lib/dpkg/status 3.2.3-6 0 100 http://debian.lcs.mit.edu/debian/ wheezy/main amd64 Packages $> dpkg --compare-versions 3.2.3-3~ lt 3.2.3-7 && echo "yes - yarik is sane" || echo "go to the doctor" yes - yarik is sane Until I have looked at apt-cache show: Replaces: python3 (<< 3.3.2-10~) Depends: python3 (>= 3.2.3-3~) Breaks: python3 (<< 3.3.2-10~) Probably it is also worth complaining against apt regarding the message, but may be Depends here could/should be boosted to the same version of python3? Do you think it would be feasible to have a backport of dh-python e.g. for wheezy with corresponding diverts avoiding conflicts here or indeed python3 (>= 3.2.3-3~) is required for some functionality (haven't looked inside)? On Fri, 02 Aug 2013, Piotr Ożarowski wrote: > dh-python is already in unstable \o/ > To build/install python3-foo or pypy-foo binary packages, > you can use this in debian/rules: > %: > dh $@ --with python2,python3,pypy --buildsystem=pybuild > or if you don't want to play with .install files: > export PYBUILD_DESTDIR_python2=debian/python-foo/ > export PYBUILD_DESTDIR_python2-dbg=debian/python-foo-dbg/ > export PYBUILD_DESTDIR_python3=debian/python3-foo/ > export PYBUILD_DESTDIR_python3-dbg=debian/python3-foo-dbg/ > export PYBUILD_DESTDIR_pypy=debian/pypy-foo/ > %: > dh $@ --with python2,python3,pypy --buildsystem=pybuild > See pybuild(1) and dh_pypy(1) for more info. > Note that adding dh-python to Build-Depends enables multiarch support in > dh_python2 -- Yaroslav O. Halchenko, Ph.D. http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org Senior Research Associate, Psychological and Brain Sciences Dept. Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 WWW: http://www.linkedin.com/in/yarik -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130802195759.gd17...@onerussian.com
Re: dh-python in unstable
[Yaroslav Halchenko, 2013-08-02] > Do you think it would be feasible to have a backport of dh-python e.g. for > wheezy with corresponding diverts avoiding conflicts here or indeed python3 > (>= > 3.2.3-3~) is required for some functionality (haven't looked inside)? "3.2.3-3~" is generated by dh_python3 (all packages that need byte-compilation get it), dh-python itself requires Python >= 3.2 (see X-Python3-Version in debian/control). One of the main reasons to create dh-python source package was to make backports a lot easier. I tested dh-python on Wheezy, I even bacported pypy and python3.3 to Wheezy to test it even better so bpo upload is definitely on my TODO list. -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130802212215.ga2...@p1otr.com