forked from pool/python-lxml
- Update to 6.0.0:
* ``lxml.html.diff`` is faster and provides structurally better diffs.
* The factories ``Element`` and ``ElementTree`` can now be used in type
hints.
* Parsing from ``memoryview`` and other buffers is supported to allow
zero-copy parsing.
* ``lxml.html.builder`` was missing several HTML5 tag names.
* ``CDATA`` can now be written into the incremental ``xmlfile()`` writer.
* A new parser option ``decompress=False`` was added that controls the
automatic input decompression when using libxml2 2.15.0 or later.
* The set of compile time / runtime supported libxml2 feature names is
available as ``etree.LIBXML_COMPILED_FEATURES`` and
``etree.LIBXML_FEATURES``.
* Predicates in ``.find*()`` could mishandle tag indices if a default
namespace is provided.
* The ``head`` and ``body`` properties of ``lxml.html`` elements failed
if no such element was found. They now return ``None`` instead.
* Tag names provided by code (API, not data) that are longer than
``INT_MAX`` could be truncated or mishandled in other ways.
* ``.text_content()`` on ``lxml.html`` elements accidentally returned
a "smart string" without additional information. It now returns a plain
string.
* Support for Python < 3.8 was removed.
* Parsing directly from zlib (or lzma) compressed data is now considered
an optional feature in lxml.
* The ``Schematron`` class is deprecated and will become non-functional in
a future lxml version.
* Built using Cython 3.1.2.
* The debug methods ``MemDebug.dump()`` and ``MemDebug.show()`` were
removed completely.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=209
This commit is contained in:
@@ -1,3 +1,39 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 22 06:12:57 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 6.0.0:
|
||||
* ``lxml.html.diff`` is faster and provides structurally better diffs.
|
||||
* The factories ``Element`` and ``ElementTree`` can now be used in type
|
||||
hints.
|
||||
* Parsing from ``memoryview`` and other buffers is supported to allow
|
||||
zero-copy parsing.
|
||||
* ``lxml.html.builder`` was missing several HTML5 tag names.
|
||||
* ``CDATA`` can now be written into the incremental ``xmlfile()`` writer.
|
||||
* A new parser option ``decompress=False`` was added that controls the
|
||||
automatic input decompression when using libxml2 2.15.0 or later.
|
||||
* The set of compile time / runtime supported libxml2 feature names is
|
||||
available as ``etree.LIBXML_COMPILED_FEATURES`` and
|
||||
``etree.LIBXML_FEATURES``.
|
||||
* Predicates in ``.find*()`` could mishandle tag indices if a default
|
||||
namespace is provided.
|
||||
* The ``head`` and ``body`` properties of ``lxml.html`` elements failed
|
||||
if no such element was found. They now return ``None`` instead.
|
||||
* Tag names provided by code (API, not data) that are longer than
|
||||
``INT_MAX`` could be truncated or mishandled in other ways.
|
||||
* ``.text_content()`` on ``lxml.html`` elements accidentally returned
|
||||
a "smart string" without additional information. It now returns a plain
|
||||
string.
|
||||
* Support for Python < 3.8 was removed.
|
||||
* Parsing directly from zlib (or lzma) compressed data is now considered
|
||||
an optional feature in lxml.
|
||||
* The ``Schematron`` class is deprecated and will become non-functional in
|
||||
a future lxml version.
|
||||
* Built using Cython 3.1.2.
|
||||
* The debug methods ``MemDebug.dump()`` and ``MemDebug.show()`` were
|
||||
removed completely.
|
||||
- Use pyproject macros to build and install.
|
||||
- Dropped patch skip-test-under-libxml2-2.11.1.patch, no longer required.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 27 14:56:16 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user