Chunked Unicode string parsing via parser.feed() now encodes the input data
to the native UTF-8 encoding directly, instead of going through Py_UNICODE /
wchar_t encoding first, which previously required duplicate recoding in most cases.
lxml.objectify previously accepted non-XML numbers with underscores (like "1_000")
as integers or float values in Python 3.6 and later. It now adheres to the number
format of the XML spec again.
LP#1939031: Static wheels of lxml now contain the header files of zlib and libiconv
(in addition to the already provided headers of libxml2/libxslt/libexslt).
Other changes
Wheels include libxml2 2.9.12+ and libxslt 1.1.34 (also on Windows).
4.7.0 (2021-12-13)
Release retracted due to missing files in lxml/includes/.
4.6.5 (2021-12-12)
Bugs fixed
A vulnerability (GHSL-2021-1038) in the HTML cleaner allowed sneaking script
content through SVG images.
A vulnerability (GHSL-2021-1037) in the HTML cleaner allowed sneaking script
content through CSS imports and other crafted constructs.
Commits
745ac26 Move zlib.h and friends into a subdirectory "extlibs" in lxml/includes/ to se...
f0a575a Add a test to get at least minimal coverage for the lxml.html.builder module.
016be64 Remove useless macOS-M1 build target since there are currently no GHA build s...
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 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)
Bumps lxml from 4.6.4 to 4.7.1.
Changelog
Sourced from lxml's changelog.
Commits
745ac26
Move zlib.h and friends into a subdirectory "extlibs" in lxml/includes/ to se...f0a575a
Add a test to get at least minimal coverage for the lxml.html.builder module.016be64
Remove useless macOS-M1 build target since there are currently no GHA build s...3934435
Prepare release of lxml 4.7.1.891f273
Do not overwrite the wildcard includes for the "lxml.includes" package when a...4848bfc
Make sure the apidocs are generated from the freshly built modules.bef75f9
Fix some doc links.5c4f6a2
Prepare release of lxml 4.7.0.68607a1
Merge branch 'lxml-4.6'a9611ba
Fix a test in Py2.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 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)