Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14475 closed update (duplicate)

UPDATE: python/py25-lxml to 2.0.2

Reported by: lutz.horn@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: python, lxml, port, update Cc:
Port:

Description

New version 2.0.2 of python/py25-lxml

Attachments (1)

Portfile.diff (1.2 KB) - added by lutz.horn@… 17 years ago.

Download all attachments as: .zip

Change History (8)

Changed 17 years ago by lutz.horn@…

Attachment: Portfile.diff added

comment:1 Changed 17 years ago by ebgssth@…

Working on this, but having problem building a stable lxml. Take a look at 14137

On Tiger

Python 2.4.4 (#1, Feb 12 2008, 23:51:38)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import webbrowser
>>> import lxml.html
>>> lxml.html.parse('http://example.com')
Python(21992) malloc: ***  Deallocation of a pointer not malloced:
0x80; This could be a double free(), or free() called with the middle
of an allocated block; Try setting environment variable MallocHelp to
see tools to help debug
<lxml.etree._ElementTree object at 0x14b7dc8>
>>> import lxml.etree
>>> lxml.etree.LXML_VERSION
(2, 0, 1, 0)
>>> lxml.etree.LIBXML_VERSION
(2, 6, 31)
>>> lxml.etree.LIBXSLT_VERSION
(1, 1, 22)

comment:2 Changed 17 years ago by lutz.horn@…

lxml in version 2.0.2 works with Python 2.5.2 under Leopard.

Macintosh:~ lutz$ uname -a
Darwin Macintosh.local 9.2.0 Darwin Kernel Version 9.2.0: Tue Feb  5 16:15:19 PST 2008; root:xnu-1228.3.13~1/RELEASE_PPC Power Macintosh powerpc
Macintosh:~ lutz$ python2.5
Python 2.5.2 (r252:60911, Feb 24 2008, 11:14:10) 
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import lxml.html
>>> lxml.html.parse('http://example.com')
<lxml.etree._ElementTree object at 0x124f620>

comment:3 in reply to:  2 Changed 17 years ago by oliver.andrich@…

Works for me like a charm with Python 2.5.2 on Leopard. So, maybe upgrading py25-lxml is an option even if py-lxml has issues.

comment:4 Changed 17 years ago by ebgssth@…

Try importing webbrowser module first. Still from lxml import etree works

comment:5 Changed 17 years ago by akira@…

Resolution: duplicate
Status: newclosed

Duplicate of #14137 See r35393

comment:6 Changed 16 years ago by jmroot (Joshua Root)

Type: enhancementupdate

comment:7 Changed 16 years ago by (none)

Milestone: Port Updates

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.