./textproc/py-lxml, Python binding for libxml2 and libxslt

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 6.2.1, Package name: py314-lxml-6.2.1, Maintainer: pkgsrc-users

lxml is a Pythonic binding for the libxml2 and libxslt libraries.
It is unique in that it combines the speed and feature completeness
of these libraries with the simplicity of a native Python API,
mostly compatible but superior to the well-known ElementTree API.


Required to run:
[textproc/libxml2] [textproc/libxslt] [lang/python310]

Master sites:

Filesize: 4378.155 KB

Version history: (Expand)


CVS history: (Expand)


   2026-12-01 18:40:27 by Joerg Sonnenberger | Files touched by this commit (15)
Log message:
Extract various distfiles with bsdtar as pax-as-tar as default archiver
doesn't work for them.
   2026-11-30 13:36:11 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-lxml: updated to 6.2.1

6.2.1 (2026-11-29)

This release fixes regressions in lxml 6.2.0 and covers more edge cases for its \ 
security fixes.
Upgrading is recommended.
   2026-11-29 16:49:52 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-lxml: update to 6.2.0.

6.2.0 (2026-11-27)
==================

This release contains several security fixes. Upgrading is recommended.

Bugs fixed
----------

* GHSA-23p9-v872-36p9: Passing ``CDATA()`` wrapped content ending with a bare \ 
``]`` character
  into an ``xmlfile`` reads arbitrary data from the Python heap and includes it \ 
in the generated XML document.
  This allows reading random content from the application memory and/or crashing \ 
the application.
  Issue found by shaggitza.

* GHSA-59qx-3jjv-x996: Parsing a document defining a non-wellformed entity with \ 
the default configuration
  of ``iterparse()`` could crash the application.
  This issue is network exploitable if the application parses untrusted \ 
documents from remote sites.
  Issue found by Claude and Ada Logics.

* GHSA-27mw-m39x-fm32: Comments and PIs from the internal/external DTD subsets \ 
were reported
  through the SAX/target-parser and iterparse/pull parser interfaces which could \ 
lead to internal
  memory corruption and crashes.  They are no longer reported.
  Issue found by Claude and Ada Logics.

* GH#550: The output of ``htmldiff()`` could contain unescaped links, allowing \ 
for content injection.
  Patch by Nayana-Naik73.

* LP#2011542: A processing instruction after the root element crashed \ 
``lxml.sax.ElementTreeContentHandler``
  with ``IndexError``.  It is now kept as following sibling.
  Patch by cherith.

* LP#2175761: Resolvers that returned a string with a ``base_url`` leaked a copy \ 
of the URL with
  libxml2 2.14 and later.
  Patch by Pierre-Yves Le Borgne.

* GH#546: ``lxml.html.diff`` is a bit more stable on PyPy.
  Patch by Matti Picus.

* The souppoarser did not immediately close the file after parsing if it opened it.

* The parallel ``make`` execution during library build could fail
  when it tries to request more CPUs than available.

* LP#2175761: The C code that Cython generates for ``lxml.etree`` no longer \ 
depends on ``PYTHONHASHSEED``.
  The exact C types that Cython inferred for some untyped variables was not \ 
deterministic.
  It is now statically declared.
  Patch by Pierre-Yves Le Borgne.
   2026-11-11 12:56:56 by Thomas Klausner | Files touched by this commit (3116)
Log message:
*: recursive bump for icu 79
   2026-10-16 21:44:32 by Adam Ciarcinski | Files touched by this commit (452)
Log message:
Forget Python 3.10
   2026-09-02 21:31:15 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-lxml: updated to 6.1.3

6.1.3 (2026-09-02)

Bugs fixed

* External parameter entity parsing was allowed by default
  (with ``resolve_entities="internal"``).
   2026-08-19 10:25:23 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-lxml: updated to 6.1.2

6.1.2 (2026-08-18)

Bugs fixed

* Some build files were missing in the sdist.
  Patch by Nicola Soranzo.

* Some minor corrections for error handling cases.

Other changes

* Built with Cython 3.2.9.
   2026-06-28 17:41:51 by Thomas Klausner | Files touched by this commit (364)
Log message:
*: limit Python versions due to py-numpy dropping Python 3.11 support