Path to this page:
./
textproc/py-lxml,
Python binding for libxml2 and libxslt
Branch: CURRENT,
Version: 6.1.1,
Package name: py313-lxml-6.1.1,
Maintainer: pkgsrc-userslxml 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: 4099.053 KB
Version history: (Expand)
- (2026-05-19) Updated to version: py313-lxml-6.1.1
- (2026-04-19) Updated to version: py313-lxml-6.1.0
- (2026-04-14) Updated to version: py313-lxml-6.0.4
- (2026-04-10) Updated to version: py313-lxml-6.0.3
- (2026-01-07) Updated to version: py313-lxml-6.0.2nb1
- (2025-10-09) Updated to version: py313-lxml-6.0.2
CVS history: (Expand)
| 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
|
2026-05-19 06:53:58 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-lxml: updated to 6.1.1
6.1.1 (2026-05-18)
Bugs fixed
* The known link attributes in ``lxml.html.defs.link_attrs`` were missing \
``xlink:href``,
which can be used for URL bypass attacks in embedded SVG/MathML/etc. content.
\
https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739f
* The Linux wheels use a patched libxslt 1.1.43, fixing CVE-2025-7424 and \
CVE-2025-11731.
* The Windows wheels use libxslt 1.1.45, fixing CVE-2025-7424 and CVE-2025-11731.
|
2026-04-19 19:17:42 by Thomas Klausner | Files touched by this commit (2) |  |
Log message:
py-lxml: update to 6.1.0.
6.1.0 (2026-04-17)
==================
This release fixes a possible external entity injection (XXE) vulnerability in
``iterparse()`` and the ``ETCompatXMLParser``.
Features added
--------------
* GH#486: The HTML ARIA accessibility attributes were added to the set of safe \
attributes
in ``lxml.html.defs``. This allows ``lxml_html_clean`` to pass them through.
Patch by oomsveta.
* The default chunk size for reading from file-likes in ``iterparse()`` is now \
configurable
with a new ``chunk_size`` argument.
Bugs fixed
----------
* LP#2146291: The ``resolve_entities`` option was still set to ``True`` for
``iterparse`` and ``ETCompatXMLParser``, allowing for external entity \
injection (XXE)
when using these parsers without setting this option explicitly.
The default was now changed to ``'internal'`` only (as for the normal XML and \
HTML parsers
since lxml 5.0).
Issue found by Sihao Qiu as CVE-2026-41066.
|
2026-04-14 15:18:38 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-lxml: updated to 6.0.4
6.0.4
Bugs fixed
* Spurious MemoryError during namespace cleanup.
|
2026-04-10 06:00:33 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-lxml: updated to 6.0.3
6.0.3 (2026-04-09)
Bugs fixed
* Several out of memory error cases now raise ``MemoryError`` that were not \
handled before.
* Slicing with large step values (outside of ``+/- sys.maxsize``) could trigger \
undefined C behaviour.
* LP-125399: Some failing tests were fixed or disabled in PyPy.
* LP-2138421: Memory leak in error cases when setting the ``public_id`` or \
``system_url`` of a document.
* Memory leak in case of a memory allocation failure when copying document subtrees.
* When mapping an XPath result to Python failed, the result memory could leak.
* When preparing an XSLT transform failed, the XSLT parameter memory could leak.
|
| 2026-01-07 09:49:50 by Thomas Klausner | Files touched by this commit (2525) |
Log message:
*: recursive bump for icu 78.1
|
| 2025-10-09 09:58:14 by Thomas Klausner | Files touched by this commit (442) |
Log message:
*: remove reference to (removed) Python 3.9
|
2025-09-22 10:15:52 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-lxml: updated to 6.0.2
6.0.2 (2025-09-21)
Bugs fixed
* Compilation with libxml2 2.15.0 failed.
Original patch by Xi Ruoyao.
* Setting ``decompress=True`` in the parser had no effect in libxml2 2.15.
* Binary wheels on Linux and macOS use the library version libxml2 2.14.6.
See https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.6
* Test failures in libxml2 2.15.0 were fixed.
Other changes
* Binary wheels for Py3.9-3.11 on the ``riscv64`` architecture were added.
* Error constants were updated to match libxml2 2.15.0.
* Built using Cython 3.1.4.
|