Revisions of python-lxml

Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 143)
- update to 4.6.2:
* A vulnerability (CVE-2020-27783) was discovered in the HTML Cleaner by Yaniv Nizry,
  which allowed JavaScript to pass through.  The cleaner now removes more sneaky
  "style" content.
* A vulnerability was discovered in the HTML Cleaner by Yaniv Nizry, which allowed
  JavaScript to pass through.  The cleaner now removes more sneaky "style" content.
* GH#310: ``lxml.html.InputGetter`` supports ``__len__()`` to count the number of input fields.
  Patch by Aidan Woolley.
* ``lxml.html.InputGetter`` has a new ``.items()`` method to ease processing all input fields.
* ``lxml.html.InputGetter.keys()`` now returns the field names in document order.
* GH-309: The API documentation is now generated using ``sphinx-apidoc``.
* LP#1869455: C14N 2.0 serialisation failed for unprefixed attributes
  when a default namespace was defined.
* ``TreeBuilder.close()`` raised ``AssertionError`` in some error cases where it
  should have raised ``XMLSyntaxError``.  It now raises a combined exception to
  keep up backwards compatibility, while switching to ``XMLSyntaxError`` as an
  interface.
buildservice-autocommit accepted request 821439 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 142)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 141)
- update to 4.5.2:
  * ``Cleaner()`` now validates that only known configuration options can be set.
  * LP#1882606: ``Cleaner.clean_html()`` discarded comments and PIs regardless of the
    corresponding configuration option, if ``remove_unknown_tags`` was set.
  * LP#1880251: Instead of globally overwriting the document loader in libxml2, lxml now
    sets it per parser run, which improves the interoperability with other users of libxml2
    such as libxmlsec.
  * LP#1881960: Fix build in CPython 3.10 by using Cython 0.29.21.
  * The setup options "--with-xml2-config" and "--with-xslt-config" were accidentally renamed
    to "--xml2-config" and "--xslt-config" in 4.5.1 and are now available again.
buildservice-autocommit accepted request 810905 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 140)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 810862 from Antonio Larrosa's avatar Antonio Larrosa (alarrosa) (revision 139)
- Update to 4.5.1
  * LP#1570388: Fix failures when serialising documents larger
    than 2GB in some cases.
  * LP#1865141, GH#298: QName values were not accepted by the
    el.iter() method. Patch by xmo-odoo.
  * LP#1863413, GH#297: The build failed to detect libraries on
    Linux that are only configured via pkg-config.
buildservice-autocommit accepted request 803766 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 138)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) committed (revision 137)
- Remove explicit Provides of python-doc, which is just wrong.
buildservice-autocommit accepted request 781843 from Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) (revision 136)
baserev update by copy to link target
Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) committed (revision 135)
- update to 4.5.0
 * A new function indent() was added to insert tail whitespace
    for pretty-printing an XML tree.
 * LP#1857794 Tail text of nodes that get removed from a document
     using item deletion disappeared silently instead of sticking with the node
     that was removed.
 * LP#1840234: The package version number is now available as lxml.__version__
buildservice-autocommit accepted request 766341 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 134)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 766333 from Martin Sirringhaus's avatar Martin Sirringhaus (MSirringhaus) (revision 133)
- Update to 4.4.2:
  * LP#1835708: ElementInclude incorrectly rejected repeated 
    non-recursive includes as recursive.
  * Remove patch lxml-libxml-2.9.10.patch which is now upstream
buildservice-autocommit accepted request 749144 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 132)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 749125 from Dominique Leuenberger's avatar Dominique Leuenberger (dimstar) (revision 131)
- Add lxml-libxml-2.9.10.patch: Fix build against libxml 2.9.10.

Fixes build in Staging:G
buildservice-autocommit accepted request 730139 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 130)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) committed (revision 129)
- Update to 4.4.1:
  * LP#1838252: The order of an OrderedDict was lost in 4.4.0 when passing it as attrib mapping during element creation.
  * LP#1838521: The package metadata now lists the supported Python versions.
buildservice-autocommit accepted request 720221 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 128)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 720214 from Petr Gajdos's avatar Petr Gajdos (pgajdos) (revision 127)
- version update to 4.4.0
  * ``Element.clear()`` accepts a new keyword argument ``keep_tail=True`` to
    clear everything but the tail text.  This is helpful in some document-style
    use cases.
  * When creating attributes or namespaces from a dict in Python 3.6+, lxml now
    preserves the original insertion order of that dict, instead of always sorting
    the items by name.  A similar change was made for ElementTree in CPython 3.8.
    See https://bugs.python.org/issue34160
  * Integer elements in ``lxml.objectify`` implement the ``__index__()`` special method.
  * GH#269: Read-only elements in XSLT were missing the ``nsmap`` property.
    Original patch by Jan Pazdziora.
  * ElementInclude can now restrict the maximum inclusion depth via a ``max_depth``
    argument to prevent content explosion.  It is limited to 6 by default.
  * The ``target`` object of the XMLParser can have ``start_ns()`` and ``end_ns()``
    callback methods to listen to namespace declarations.
  * The ``TreeBuilder`` has new arguments ``comment_factory`` and ``pi_factory`` to
    pass factories for creating comments and processing instructions, as well as
    flag arguments ``insert_comments`` and ``insert_pis`` to discard them from the
    tree when set to false.
  * A `C14N 2.0 <https://www.w3.org/TR/xml-c14n2/>`_ implementation was added as
    ``etree.canonicalize()``, a corresponding ``C14NWriterTarget`` class, and
    a ``c14n2`` serialisation method.
  * bugfixes, see CHANGES.txt
- deleted sources
  - lxmldoc-4.3.3.pdf (renamed)
- added sources
  + lxmldoc-4.4.0.pdf
  + world.txt
buildservice-autocommit accepted request 717675 from Todd R's avatar Todd R (TheBlackCat) (revision 126)
baserev update by copy to link target
Todd R's avatar Todd R (TheBlackCat) accepted request 717674 from Todd R's avatar Todd R (TheBlackCat) (revision 125)
- Update to 4.3.4
  * Rebuilt with Cython 0.29.10 to support Python 3.8.
    Note: documentation is not updated
buildservice-autocommit accepted request 713340 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 124)
baserev update by copy to link target
Displaying revisions 61 - 80 of 203
openSUSE Build Service is sponsored by