Re: [Yum-devel] urlgrabber & python3

2012-07-27 Thread Mike Miller
On Fri, Jul 27, 2012 at 02:40:35PM -0400, James Antill wrote: > Yeh, I figured you'd have the latest version available but I thought > Debian had some compatibility stuff where people could easily have > python2.5 or python2.4 installed at the same time as the latest version > using current module

Re: [Yum-devel] urlgrabber & python3

2012-07-27 Thread James Antill
On Fri, 2012-07-27 at 09:35 -0400, Mike Miller wrote: > I'm a Debian maintainer who happens to be on list, I can speak up for > Debian and Ubuntu. > > Python >= 2.6 should be fine for any new upstream releases. All > current or supported releases of Debian and Ubuntu have some version > of 2.6 or

Re: [Yum-devel] urlgrabber & python3

2012-07-27 Thread Mike Miller
On Thu, Jul 26, 2012 at 5:47 PM, James Antill wrote: > Yeh, it's all easy and should work ... a lot of it looks ugly as sin > though, and is annoyingly incompatible with anything before 2.6 for no > other reason (and does nothing until pycurl is ported). > > In theory we can go the sys.exc_info()

Re: [Yum-devel] urlgrabber & python3

2012-07-26 Thread Toshio Kuratomi
On Thu, Jul 26, 2012 at 3:32 PM, Toshio Kuratomi wrote: > On Thu, Jul 26, 2012 at 01:37:54PM +0200, Zdeněk Pavlas wrote: > >> [PATCH 4/4] python3-compat: handle renamed modules and types >> >> Handle the random renaming of python modules. > > This one's ugly but I don't know a way around it. It s

Re: [Yum-devel] urlgrabber & python3

2012-07-26 Thread Toshio Kuratomi
Now that James has weighed in. Just some comments on compatibility if someone does complain about python-2.4 compat. On Thu, Jul 26, 2012 at 01:37:54PM +0200, Zdeněk Pavlas wrote: > > Q: Does it still run under Python2? > A: Yes, that was the main focus. Python 2.6+ is required. > > [PATCH 1/4

Re: [Yum-devel] urlgrabber & python3

2012-07-26 Thread James Antill
On Thu, 2012-07-26 at 13:37 +0200, Zdeněk Pavlas wrote: > Hi, > > Someday, we'll have to switch (or write a new module). Not sure what you mean here. > If we merge the easy bits first, it will be much easier. Yeh, it's all easy and should work ... a lot of it looks ugly as sin though, and is

[Yum-devel] urlgrabber & python3

2012-07-26 Thread Zdeněk Pavlas
Hi, Someday, we'll have to switch (or write a new module). If we merge the easy bits first, it will be much easier. Q: Why urlgrabber? A: It's going to be used by both Yum and DNF, and is relatively small- a nice test bed to test how far one could get. Q: Does it now run under Python3? A: No, as