Re: Python 3.2a1 in rawhide

2010-08-24 Thread Jeffrey Ollie
On Tue, Aug 24, 2010 at 10:37 AM, David Malcolm wrote: > On Tue, 2010-08-24 at 09:10 -0500, Jeffrey Ollie wrote: >> >> One other issue I discovered was that I needed to suppress byte >> compiling during the install stage because it seemed that the python3 >> installer somehow was doing python2-sty

Re: Python 3.2a1 in rawhide

2010-08-24 Thread David Malcolm
On Tue, 2010-08-24 at 09:10 -0500, Jeffrey Ollie wrote: > On Mon, Aug 23, 2010 at 7:16 PM, David Malcolm wrote: > > > > A suggested fix (caveat: not tested): ensure that the python-lxml.spec > > has a > > BuildRequires: Cython >= 0.12 > > and delete the .c file in the %prep, to ensure that Cython

Re: Python 3.2a1 in rawhide

2010-08-24 Thread Jeffrey Ollie
On Mon, Aug 23, 2010 at 7:16 PM, David Malcolm wrote: > > A suggested fix (caveat: not tested): ensure that the python-lxml.spec > has a >  BuildRequires: Cython >= 0.12 > and delete the .c file in the %prep, to ensure that Cython regenerates > it during the build. > > Does this fix it? That work

Re: Python 3.2a1 in rawhide

2010-08-23 Thread David Malcolm
On Mon, 2010-08-23 at 11:51 +0200, Thomas Spura wrote: > On Sun, 22 Aug 2010 23:29:38 +0800 > Chen Lei wrote: > > > 2010/8/22 Thomas Spura : > > > On Sat, 21 Aug 2010 18:48:31 -0400 > > > David Malcolm wrote: > > > [snip] > > >> > > >> So you'll need to update the %files for python3 subpackages, >

Re: Python 3.2a1 in rawhide

2010-08-23 Thread David Malcolm
On Sun, 2010-08-22 at 19:16 -0500, Jeffrey Ollie wrote: > On Sat, Aug 21, 2010 at 5:48 PM, David Malcolm wrote: > > I just built Python 3.2a1 into rawhide: > > http://koji.fedoraproject.org/koji/buildinfo?buildID=191382 > > so the meaning of "python3" in rawhide just jumped from Python 3.1 to >

Re: Python 3.2a1 in rawhide

2010-08-23 Thread David Malcolm
On Sun, 2010-08-22 at 14:50 -0400, Toshio Kuratomi wrote: > On Sun, Aug 22, 2010 at 04:31:08PM +0200, Thomas Spura wrote: > > On Sat, 21 Aug 2010 18:48:31 -0400 > > David Malcolm wrote: > > [snip] > > > > > > So you'll need to update the %files for python3 subpackages, listing > > > something lik

Re: Python 3.2a1 in rawhide

2010-08-23 Thread Thomas Spura
On Sun, 22 Aug 2010 23:29:38 +0800 Chen Lei wrote: > 2010/8/22 Thomas Spura : > > On Sat, 21 Aug 2010 18:48:31 -0400 > > David Malcolm wrote: > > [snip] > >> > >> So you'll need to update the %files for python3 subpackages, > >> listing something like: > >>   foo/__pycache__ > >> to capture the di

Re: Python 3.2a1 in rawhide

2010-08-22 Thread Toshio Kuratomi
On Mon, Aug 23, 2010 at 01:19:53AM -0400, Orcan Ogetbil wrote: > > That sounds like the only place where this convention is useful. > > How about .py files in /usr/bin/ ? We currently don't byte-compile the > .py files in standard PATH, but maybe since they will go into a > __pycache__ subdirecto

Re: Python 3.2a1 in rawhide

2010-08-22 Thread Orcan Ogetbil
On Mon, Aug 23, 2010 at 12:40 AM, Kalev Lember wrote: > On 08/23/2010 03:34 AM, Orcan Ogetbil wrote: >> On Sat, Aug 21, 2010 at 6:48 PM, David Malcolm wrote: >>> I just built Python 3.2a1 into rawhide: >>>   http://koji.fedoraproject.org/koji/buildinfo?buildID=191382 >>> so the meaning of "python3"

Re: Python 3.2a1 in rawhide

2010-08-22 Thread Kalev Lember
On 08/23/2010 03:34 AM, Orcan Ogetbil wrote: > On Sat, Aug 21, 2010 at 6:48 PM, David Malcolm wrote: >> I just built Python 3.2a1 into rawhide: >> http://koji.fedoraproject.org/koji/buildinfo?buildID=191382 >> so the meaning of "python3" in rawhide just jumped from Python 3.1 to >> Python 3.2 > [

Re: Python 3.2a1 in rawhide

2010-08-22 Thread Orcan Ogetbil
On Sat, Aug 21, 2010 at 6:48 PM, David Malcolm wrote: > I just built Python 3.2a1 into rawhide: >  http://koji.fedoraproject.org/koji/buildinfo?buildID=191382 > so the meaning of "python3" in rawhide just jumped from Python 3.1 to > Python 3.2 [cut] > with Python 3.2 onwards you now have a __pycach

Re: Python 3.2a1 in rawhide

2010-08-22 Thread Jeffrey Ollie
On Sat, Aug 21, 2010 at 5:48 PM, David Malcolm wrote: > I just built Python 3.2a1 into rawhide: >  http://koji.fedoraproject.org/koji/buildinfo?buildID=191382 > so the meaning of "python3" in rawhide just jumped from Python 3.1 to > Python 3.2 I tried rebuilding python-lxml, but I ran into this e

Re: Python 3.2a1 in rawhide

2010-08-22 Thread David Malcolm
On Sun, 2010-08-22 at 16:31 +0200, Thomas Spura wrote: > On Sat, 21 Aug 2010 18:48:31 -0400 > David Malcolm wrote: > [snip] > > > > So you'll need to update the %files for python3 subpackages, listing > > something like: > > foo/__pycache__ > > to capture the directory and the bytecode files wit

Re: Python 3.2a1 in rawhide

2010-08-22 Thread Toshio Kuratomi
On Sun, Aug 22, 2010 at 04:31:08PM +0200, Thomas Spura wrote: > On Sat, 21 Aug 2010 18:48:31 -0400 > David Malcolm wrote: > [snip] > > > > So you'll need to update the %files for python3 subpackages, listing > > something like: > > foo/__pycache__ > > to capture the directory and the bytecode fi

Re: Python 3.2a1 in rawhide

2010-08-22 Thread Chen Lei
2010/8/22 Thomas Spura : > On Sat, 21 Aug 2010 18:48:31 -0400 > David Malcolm wrote: > [snip] >> >> So you'll need to update the %files for python3 subpackages, listing >> something like: >>   foo/__pycache__ >> to capture the directory and the bytecode files within. > > Unfortunately there is some

Re: Python 3.2a1 in rawhide

2010-08-22 Thread Thomas Spura
On Sat, 21 Aug 2010 18:48:31 -0400 David Malcolm wrote: [snip] > > So you'll need to update the %files for python3 subpackages, listing > something like: > foo/__pycache__ > to capture the directory and the bytecode files within. Unfortunately there is sometimes also a __pycache__ directory in

Python 3.2a1 in rawhide

2010-08-21 Thread David Malcolm
I just built Python 3.2a1 into rawhide: http://koji.fedoraproject.org/koji/buildinfo?buildID=191382 so the meaning of "python3" in rawhide just jumped from Python 3.1 to Python 3.2 A new opcode (SETUP_WITH [1]) was added, to speed up the "with" statement, and this changes the bytecode format for