summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-lxml_4.5.2.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-lxml: Upgrade 4.5.2 -> 4.6.1Leon Anavi2020-10-281-42/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 4.6.1: - lxml.html.InputGetter supports __len__() to count the number of input fields. - 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. - 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. - 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. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-lxml: Upgrade 4.5.1 -> 4.5.2Leon Anavi2020-08-031-0/+42
Upgrade to release 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. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>