Character escaping in C14N2 serialisation now uses a single pass over the text
instead of searching for each unescaped character separately.
Early support for Python 3.13a2 was added.
Bugs fixed
LP#1976304: The Element.addnext() method previously inserted the new element
before existing tail text. The tail text of both sibling elements now stays on
the respective elements.
LP#1980767, GH#379: TreeBuilder.close() could fail with a TypeError after
parsing incorrect input. Original patch by Enrico Minack.
Element.itertext(with_tail=False) returned the tail text of comments and
processing instructions, despite the explicit option.
GH#370: A crash with recent libxml2 2.11.x versions was resolved.
Patch by Michael Schlenker.
A compile problem with recent libxml2 2.12.x versions was resolved.
The internal exception handling in C callbacks was improved for Cython 3.0.
The exception declarations of xmlInputReadCallback, xmlInputCloseCallback,
xmlOutputWriteCallback and xmlOutputCloseCallback in tree.pxd were
corrected to prevent running Python code or calling into the C-API with a live
exception set.
GH#385: The long deprecated unittest.m̀akeSuite() function is no longer used.
Patch by Miro Hrončok.
LP#1522052: A file-system specific test is now optional and should no longer fail
on systems that don't support it.
GH#392: Some tests were adapted for libxml2 2.13.
Patch by Nick Wellnhofer.
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.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
coverage: 95.037%. remained the same
when pulling 7a611ea40fd01dd8da9fdb635afa5fca2b53b3b8 on dependabot/pip/lxml-lt-6
into 4ab36bf309394869784d56a906a3db1af758c645 on main.
Updates the requirements on lxml to permit the latest version.
Changelog
Sourced from lxml's changelog.
... (truncated)
Commits
73fa115
Prepare release of lxml 5.0.0.6256584
Update changelog.b38cebf
Disable external entity resolution (XXE) by default (GH-391)2de6ecf
tests: Set no_network=False in HTTP tests (GH-392)5024820
Minor code cleanup.9f58aa7
Do not let "Element.itertext()"" return tail text of PIs and comments if the ...badcb49
Update changelog.e82b1f5
CI: Build the coverage job with STATIC_DEPS=true to make it independent of th...8324137
Fix test in Py2.7.ac82838
Fix the work around for a test failure in Python 3.11.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
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show