[lxml-dev] lxml 0.7 released!

Hey everybody, I've just released lxml 0.7. This is a release with quite a bit of new features and bug fixes, including XPath expression parameters, XInclude support, XMLSchema validation support, more namespace prefix support, better encoding support, and more. As usual, it can be found here: http://codespeak.net/lxml/ Regards, Martijn

Martijn Faassen wrote:
And you updated the webpage to add svn instructions as well, thanks :) However here I cannot compile lxml on FC4 with gcc4:: ogrisel@groyours:~/Nuxeo/lxml $ svn up At revision 13448. ogrisel@groyours:~/Nuxeo/lxml $ gcc --version gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8) [snip] ogrisel@groyours:~/Nuxeo/lxml $ pyrexc --version Pyrex version 0.9.3 ogrisel@groyours:~/Nuxeo/lxml $ python setup.py build running build running build_py running build_ext building 'lxml.etree' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/libxml2 -I/usr/include/python2.4 -c src/lxml/etree.c -o build/temp.linux-i686-2.4/src/lxml/etree.o -w src/lxml/etree.c: In function '__pyx_f_5etree__elementFactory': src/lxml/etree.c:3349: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree__commentFactory': src/lxml/etree.c:3726: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree__attribFactory': src/lxml/etree.c:4569: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree__attribIteratorFactory': src/lxml/etree.c:4706: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree__elementIteratorFactory': src/lxml/etree.c:4842: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree_22XPathDocumentEvaluator___init__': src/lxml/etree.c:6058: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree_21XPathElementEvaluator___init__':src/lxml/etree.c:6837: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree_changeDocumentBelowHelper': src/lxml/etree.c:10305: error: invalid lvalue in assignment error: command 'gcc' failed with exit status 1 I don't know if it's a pyrex or lxml related problem though. Best, -- Olivier

Olivier Grisel wrote:
And you updated the webpage to add svn instructions as well, thanks :)
Yup. :)
However here I cannot compile lxml on FC4 with gcc4::
Yeah, I had a report earlier by Mikhail Sobolev, though I hadn't had a chance to look into it as I didn't have gcc-4.0 installed on my machine. The machine I am on now does have it though, so I'm going to try it out now. Regards, Martijn

Messages of interest (though without solution) are: http://lists.copyleft.no/pipermail/pyrex/2005-March/001148.html http://lists.copyleft.no/pipermail/pyrex/2005-February/001128.html Regards -- Misha

Mikhail Sobolev wrote:
Thanks! More recent messages contain a patch to Pyrex by RedHat. Unfortunately it is Pyrex 0.9.2.1 that they patch, and I'm not sure that version works (I'm using the 0.9.3 version). If 0.9.2.1 works though, it may be you can work around this problem by using the Red Hat packaged versions if you're on Fedora. See there for the patch: http://lists.copyleft.no/pipermail/pyrex/2005-June/001232.html I'm currently trying to apply it to 0.9.3 locally to see whether I can make it work, but unfortunately it doesn't apply cleanly anymore. Regards, Martijn

On Wed, Jun 15, 2005 at 10:25:01PM +0200, Martijn Faassen wrote:
I just downloaded the ubuntu package (0.9.3-1ubuntu5) and it says that the patch is already applied (heh, checking changelog sometimes gives an insight! :)). However compiling lxml 0.6 (I'm still there) gives the errors I mentioned previously. Regards -- Misha

Mikhail Sobolev wrote:
What version of Ubuntu are you on? I think I installed Pyrex manually; this is Ubuntu hoary. But by default that still compiles with gcc-3 so I wonder how you ran into the issue. Anyway, I had the same experience, I just tried to apply the patch (I misread it first, I think I applied it cleanly) and if I did it correctly I still get errors. This may mean the patch is incomplete... I doubt it's a problem inside lxml myself, unfortunately so there's only so much I can do. What would help is us all hanging out on the Pyrex mailing list and pushing this issue. I guess. :) Als what might help is a whittling down of this issue in lxml to a briefer test case that might help people debug Pyrex. Regards, Martijn

Martijn Faassen wrote:
And you updated the webpage to add svn instructions as well, thanks :) However here I cannot compile lxml on FC4 with gcc4:: ogrisel@groyours:~/Nuxeo/lxml $ svn up At revision 13448. ogrisel@groyours:~/Nuxeo/lxml $ gcc --version gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8) [snip] ogrisel@groyours:~/Nuxeo/lxml $ pyrexc --version Pyrex version 0.9.3 ogrisel@groyours:~/Nuxeo/lxml $ python setup.py build running build running build_py running build_ext building 'lxml.etree' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/libxml2 -I/usr/include/python2.4 -c src/lxml/etree.c -o build/temp.linux-i686-2.4/src/lxml/etree.o -w src/lxml/etree.c: In function '__pyx_f_5etree__elementFactory': src/lxml/etree.c:3349: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree__commentFactory': src/lxml/etree.c:3726: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree__attribFactory': src/lxml/etree.c:4569: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree__attribIteratorFactory': src/lxml/etree.c:4706: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree__elementIteratorFactory': src/lxml/etree.c:4842: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree_22XPathDocumentEvaluator___init__': src/lxml/etree.c:6058: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree_21XPathElementEvaluator___init__':src/lxml/etree.c:6837: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree_changeDocumentBelowHelper': src/lxml/etree.c:10305: error: invalid lvalue in assignment error: command 'gcc' failed with exit status 1 I don't know if it's a pyrex or lxml related problem though. Best, -- Olivier

Olivier Grisel wrote:
And you updated the webpage to add svn instructions as well, thanks :)
Yup. :)
However here I cannot compile lxml on FC4 with gcc4::
Yeah, I had a report earlier by Mikhail Sobolev, though I hadn't had a chance to look into it as I didn't have gcc-4.0 installed on my machine. The machine I am on now does have it though, so I'm going to try it out now. Regards, Martijn

Messages of interest (though without solution) are: http://lists.copyleft.no/pipermail/pyrex/2005-March/001148.html http://lists.copyleft.no/pipermail/pyrex/2005-February/001128.html Regards -- Misha

Mikhail Sobolev wrote:
Thanks! More recent messages contain a patch to Pyrex by RedHat. Unfortunately it is Pyrex 0.9.2.1 that they patch, and I'm not sure that version works (I'm using the 0.9.3 version). If 0.9.2.1 works though, it may be you can work around this problem by using the Red Hat packaged versions if you're on Fedora. See there for the patch: http://lists.copyleft.no/pipermail/pyrex/2005-June/001232.html I'm currently trying to apply it to 0.9.3 locally to see whether I can make it work, but unfortunately it doesn't apply cleanly anymore. Regards, Martijn

On Wed, Jun 15, 2005 at 10:25:01PM +0200, Martijn Faassen wrote:
I just downloaded the ubuntu package (0.9.3-1ubuntu5) and it says that the patch is already applied (heh, checking changelog sometimes gives an insight! :)). However compiling lxml 0.6 (I'm still there) gives the errors I mentioned previously. Regards -- Misha

Mikhail Sobolev wrote:
What version of Ubuntu are you on? I think I installed Pyrex manually; this is Ubuntu hoary. But by default that still compiles with gcc-3 so I wonder how you ran into the issue. Anyway, I had the same experience, I just tried to apply the patch (I misread it first, I think I applied it cleanly) and if I did it correctly I still get errors. This may mean the patch is incomplete... I doubt it's a problem inside lxml myself, unfortunately so there's only so much I can do. What would help is us all hanging out on the Pyrex mailing list and pushing this issue. I guess. :) Als what might help is a whittling down of this issue in lxml to a briefer test case that might help people debug Pyrex. Regards, Martijn
participants (3)
-
Martijn Faassen
-
mss@mawhrin.net
-
Olivier Grisel