Metadata-Version: 2.4
Name: lxml
Version: 6.2.1
Summary: Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
Home-page: https://lxml.de/
Author: lxml dev team
Author-email: lxml@lxml.de
Maintainer: lxml dev team
Maintainer-email: lxml@lxml.de
License: BSD-3-Clause
Project-URL: Source, https://github.com/lxml/lxml
Project-URL: Bug Tracker, https://bugs.launchpad.net/lxml
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Programming Language :: Cython
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Programming Language :: C
Classifier: Operating System :: OS Independent
Classifier: Topic :: Text Processing :: Markup :: HTML
Classifier: Topic :: Text Processing :: Markup :: XML
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
License-File: LICENSE.txt
License-File: LICENSES.txt
Provides-Extra: source
Provides-Extra: cssselect
Requires-Dist: cssselect>=0.7; extra == "cssselect"
Provides-Extra: html5
Requires-Dist: html5lib; extra == "html5"
Provides-Extra: htmlsoup
Requires-Dist: BeautifulSoup4; extra == "htmlsoup"
Provides-Extra: html-clean
Requires-Dist: lxml_html_clean; extra == "html-clean"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: maintainer
Dynamic: maintainer-email
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-python
Dynamic: summary

lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries.
It provides safe and convenient access to these libraries using the
ElementTree API.

It extends the ElementTree API significantly to offer support for XPath,
RelaxNG, XML Schema, XSLT, C14N and much more.

To contact the project, go to the `project home page <https://lxml.de/>`_
or see our bug tracker at https://launchpad.net/lxml

In case you want to use the current in-development version of lxml,
you can get it from the github repository at
https://github.com/lxml/lxml .  Note that this requires Cython to
build the sources, see the build instructions on the project home page.


After an official release of a new stable series, bug fixes may become available at
https://github.com/lxml/lxml/tree/lxml-6.2 .
Running ``pip install https://github.com/lxml/lxml/archive/refs/heads/lxml-6.2.tar.gz``
will install the unreleased branch state as soon as a maintenance branch has been established.
Note that this requires Cython to be installed at an appropriate version for the build.

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.

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

* GH#620: Pull parsers with a parser target failed on comments and processing instructions
  when collecting ``comment`` or ``pi`` events since lxml 6.2.0.
  Patch by Pierre-Yves Le Borgne.

* LP#2178248: The parser target's ``.start()`` callback method stopped receiving a namespace
  mapping dict in lxml 6.2.0 if no ``.end_ns()`` method was also provided.

* GHSA-59qx-3jjv-x996, GH#619: The fix in lxml 6.2.0 did not work with libxml2 < 2.13, which parses entities
  in a separate parser context.  ``iterparse()`` and ``XMLPullParser`` could still crash with it
  on entities that fail to parse, but also on comments and PIs in entities and on entities
  that are referenced more than once.
  Patch by Pierre-Yves Le Borgne.

* GHSA-59qx-3jjv-x996, GH#619: The fix in lxml 6.2.0 did not cover parsers with ``resolve_entities=False``.
  libxml2 also parses the internal entities that it does not substitute, and ``iterparse()`` and
  ``XMLPullParser`` could still crash on such entities that fail to parse.
  Patch by Pierre-Yves Le Borgne.

* GHSA-59qx-3jjv-x996, GH#619: An ``XMLPullParser`` that was fed again after a parse error reported
  left-over events of the failed document, which could refer to elements that were already freed.
  Patch by Pierre-Yves Le Borgne.

* LP#2178276: The sdist was missing from the Github release upload.


