Re: python 2.2 to python 2.3 transition

2003-08-10 Thread Donovan Baarda
On Sun, Aug 10, 2003 at 02:58:21PM +0200, Matthias Klose wrote: > Donovan Baarda writes: > > Does anyone want me to contibute some code to try and do this? I think > > the "python-central" stuff has most of the code to handle this, it just > > needs a little bit of tweaking. > > sure, that would b

Re: python 2.2 to python 2.3 transition

2003-08-10 Thread Donovan Baarda
On Sun, Aug 10, 2003 at 09:45:29PM +0200, Josselin Mouette wrote: > Le dim 10/08/2003 ? 16:12, Lars Wirzenius a ?crit : > > Depending on Python 2.3 when a package works fine with 2.1 and 2.2 as > > well is not a good solution in my opinion. It prevents, for example, > > being able to use the packag

Re: python 2.2 to python 2.3 transition

2003-08-10 Thread Donovan Baarda
On Sun, Aug 10, 2003 at 05:26:23PM +0200, Matthias Urlichs wrote: > Hi, Lars Wirzenius wrote: > > > (There will be a problem when the default version of Python changes. I > > don't think we have a way to deal with that.) > > Why not simply call compileall.py for each dirctory in the PYTHONPATH >

Re: python 2.2 to python 2.3 transition

2003-08-10 Thread Josselin Mouette
Le dim 10/08/2003 à 16:12, Lars Wirzenius a écrit : > Depending on Python 2.3 when a package works fine with 2.1 and 2.2 as > well is not a good solution in my opinion. It prevents, for example, > being able to use the package on woody, even if it is uploaded only into > stable. (This happens to be

Re: pygtk transition 1.2 -> 2

2003-08-10 Thread Sebastien Bacher
Joe Drew <[EMAIL PROTECTED]> writes: >> import pygtk >> pygtk.require('1.2') > > Will this also cover using gnome 1 bindings instead of gnome 2? Yes, these two line specify that you want to use gtk and gnome 1 bindings instead of the gnome 2 ones. > I assume that just prepending the above two l

Re: pygtk transition 1.2 -> 2

2003-08-10 Thread Joe Drew
On Fri, 2003-08-08 at 18:40, Sebastien Bacher wrote: > For the moment the default python bindings for gtk/gnome are 1.2 > version. It means that an "import gtk" in a .py will load gtk1.2. > > It's time to switch gtk/gnome 2 as the default bindings. > So all pygtk/gnome 1.2 programs have to use th

Re: python 2.2 to python 2.3 transition

2003-08-10 Thread Matthias Urlichs
Hi, Lars Wirzenius wrote: > (There will be a problem when the default version of Python changes. I > don't think we have a way to deal with that.) Why not simply call compileall.py for each dirctory in the PYTHONPATH from "python"s postinst? -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de

Re: python 2.2 to python 2.3 transition

2003-08-10 Thread Lars Wirzenius
On su, 2003-08-10 at 15:56, Josselin Mouette wrote: > If you can provide a good solution to achieve this, it will surely be > welcome. In the meantime, please don't do what you describe with > packages shipping .py files. You should depend on python (>= 2.3), > python (<< 2.4) - this can be done au

Re: python 2.2 to python 2.3 transition

2003-08-10 Thread Lars Wirzenius
I subscribe debian-python. Please don't Cc me when you reply to the list. On su, 2003-08-10 at 13:06, Matthias Klose wrote: > Lars Wirzenius writes: > > Um, yeah, it does contain a .pyc. I don't think it should: the postinst > > compiles the eoc.py file. The inclusion of the .pyc file seems like a

Re: python 2.2 to python 2.3 transition

2003-08-10 Thread Josselin Mouette
Le dim 10/08/2003 à 14:44, Donovan Baarda a écrit : > There are probably some packages that have "Depends: python" that work > with a whole variety of versions of python. Provided they compile their > modules with "/usr/bin/python" in their postinst, and remove the pyc's > and pyo's in their postrm

Re: python 2.2 to python 2.3 transition

2003-08-10 Thread Donovan Baarda
On Sun, 2003-08-10 at 17:55, Matthias Klose wrote: > This seems to be a common misunderstanding. Therefore the CC to > debian-python that I have something as a reference. [...] > > As far as I know, it already works with Python 2.3. And 2.2. And 2.1. I > > like the fact that the same package works

python transition and python-xml

2003-08-10 Thread Sebastien Bacher
Hi, I need the python-xml package to rebuild some of my packages (python-gtk, python-gtk2, python-gnome2, python-pyorbit, rubrica), but python-xml is away from unstable because of transition. Several packages use python-gtk/gtk2, so I would upload these packages today, but I don't know what's t

Re: python-pygame is blocking?

2003-08-10 Thread Josselin Mouette
Le sam 09/08/2003 à 20:39, Pete Shinners a écrit : > hello all. i am the developer of pygame and a debian/sid user. (note, > the debian package is maintained by ed boraas, not me.) > > i noticed yesterday an upgrade to some python package is blocked by > pygame (at least what i can tell). i can'

Re: python 2.2 to python 2.3 transition

2003-08-10 Thread Matthias Klose
Lars Wirzenius writes: > Um, yeah, it does contain a .pyc. I don't think it should: the postinst > compiles the eoc.py file. The inclusion of the .pyc file seems like a > bug due to unforeseen interaction with the upstream Makefile's install > target. I'll have to remove the .pyc from the .deb in t

Re: python 2.2 to python 2.3 transition

2003-08-10 Thread Lars Wirzenius
On su, 2003-08-10 at 10:55, Matthias Klose wrote: > This seems to be a common misunderstanding. Therefore the CC to > debian-python that I have something as a reference. ACK. (I'm on -python, so further Cc's are not necessary.) > Lars Wirzenius writes: > > As far as I know, it already works with

Re: python 2.2 to python 2.3 transition

2003-08-10 Thread Matthias Klose
This seems to be a common misunderstanding. Therefore the CC to debian-python that I have something as a reference. Lars Wirzenius writes: > On la, 2003-08-09 at 03:22, Matthias Klose wrote: > > Please upgrade your packages soon, or ask on debian-python for NMU's or > > help. > > If the package d