Skip to content

Bump lxml from 3.8.0 to 4.2.0#13

Closed
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/lxml-4.2.0
Closed

Bump lxml from 3.8.0 to 4.2.0#13
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/lxml-4.2.0

Conversation

@dependabot-preview
Copy link
Copy Markdown

Bumps lxml from 3.8.0 to 4.2.0.

Changelog

Sourced from this file

4.2.0 (2018-03-13)

Features added

  • GH#255: SelectElement.value returns more standard-compliant and
    browser-like defaults for non-multi-selects. If no option is selected, the
    value of the first option is returned (instead of None). If multiple options
    are selected, the value of the last one is returned (instead of that of the
    first one). If no options are present (not standard-compliant)
    SelectElement.value still returns None.

  • GH#261: The HTMLParser() now supports the huge_tree option.
    Patch by stranac.

Bugs fixed

  • LP#1551797: Some XSLT messages were not captured by the transform error log.

  • LP#1737825: Crash at shutdown after an interrupted iterparse run with XMLSchema
    validation.

Other changes

4.1.1 (2017-11-04)

  • Rebuild with Cython 0.27.3 to improve support for Py3.7.

4.1.0 (2017-10-13)

Features added

  • ElementPath supports text predicates for current node, like "[.='text']".

  • ElementPath allows spaces in predicates.

  • Custom Element classes and XPath functions can now be registered with a
    decorator rather than explicit dict assignments.

  • Static Linux wheels are now built with link time optimisation (LTO) enabled.
    This should have a beneficial impact on the overall performance by providing
    a tighter compiler integration between lxml and libxml2/libxslt.

Bugs fixed

  • LP#1722776: Requesting non-Element objects like comments from a document with
    PythonElementClassLookup could fail with a TypeError.

4.0.0 (2017-09-17)

Features added

  • The ElementPath implementation is now compiled using Cython,
    which speeds up the .find*() methods quite significantly.

  • The modules lxml.builder, lxml.html.diff and lxml.html.clean
    are also compiled using Cython in order to speed them up.

  • xmlfile() supports async coroutines using async with and await.

  • iterwalk() has a new method skip_subtree() that prevents walking into
    the descendants of the current element.

  • RelaxNG.from_rnc_string() accepts a base_url argument to
    allow relative resource lookups.

  • The XSLT result object has a new method .write_output(file) that serialises
    output data into a file according to the <xsl:output> configuration.

Bugs fixed

  • GH#251: HTML comments were handled incorrectly by the soupparser.
    Patch by mozbugbox.

  • LP#1654544: The html5parser no longer passes the useChardet option
    if the input is a Unicode string, unless explicitly requested. When parsing
    files, the default is to enable it when a URL or file path is passed (because
    the file is then opened in binary mode), and to disable it when reading from
    a file(-like) object.

    Note: This is a backwards incompatible change of the default configuration.
    If your code parses byte strings/streams and depends on character detection,
    please pass the option guess_charset=True explicitly, which already worked
    in older lxml versions.

  • LP#1703810: etree.fromstring() failed to parse UTF-32 data with BOM.

  • LP#1526522: Some RelaxNG errors were not reported in the error log.

  • LP#1567526: Empty and plain text input raised a TypeError in soupparser.

  • LP#1710429: Uninitialised variable usage in HTML diff.

  • LP#1415643: The closing tags context manager in xmlfile() could continue
    to output end tags even after writing failed with an exception.

  • LP#1465357: xmlfile.write() now accepts and ignores None as input argument.

  • Compilation under Py3.7-pre failed due to a modified function signature.

Other changes

  • The main module source files were renamed from lxml.*.pyx to plain
    *.pyx (e.g. etree.pyx) to simplify their handling in the build
    process. Care was taken to keep the old header files as fallbacks for
    code that compiles against the public C-API of lxml, but it might still
    be worth validating that third-party code does not notice this change.
Commits
  • 432340a Build a retry mechanism around html5lib's unpredictable useChardet support
  • 656984a Make sure the html5lib tests are included in CI
  • 8e21ecd Use ftplib when urllib fails
  • 69e84ca Fix a typo: referrs -> refers
  • d50685c Merge pull request #250 from felixonmars/patch-2
  • 7cdfc40 Merge pull request #249 from Bachmann1234/master
  • afd5239 fix file list output at end of wheel building script
  • ab8e49f extract package name from sdist name in wheel building script to avoid spelli...
  • 8ab5150 extract package name from sdist name in wheel building script to avoid spelli...
  • 5ad1e76 compile _elementpath.py module to speed it up (~25% faster)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If you'd like to skip this version, you can just close this PR. If you have any feedback just mention @dependabot in the comments below.

Bumps [lxml](https://github.com/lxml/lxml) from 3.8.0 to 4.2.0.
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](lxml/lxml@lxml-3.8.0...lxml-4.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview
Copy link
Copy Markdown
Author

Superseded by #15.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/lxml-4.2.0 branch March 22, 2018 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant