LP#2048920: iterlinks() in lxml.html rejected bytes input in 5.1.0.
High source line numbers from the parser are no longer truncated
(up to a C long) when using libxml2 2.11 or later.
Other changes
GH#407: A compatibility test was adapted to recent expat versions.
Patch by Miro Hrončok.
Binary wheels use the library versions libxml2 2.12.6 and libxslt 1.1.39.
Windows binary wheels use the library versions libxml2 2.11.7 and libxslt 1.1.39.
Built with Cython 3.0.9.
5.1.0 (2024-01-05)
Features added
Parsing ASCII strings is slightly faster.
Bugs fixed
GH#349: The HTML Cleaner() interpreted an accidentally provided string parameter
for the host_whitelist as list of characters and silently failed to reject any hosts.
Passing a non-collection is now rejected.
Other changes
Support for Python 2.7 and Python versions < 3.6 was removed.
The wheel build was migrated to use cibuildwheel.
Patch by Primož Godec.
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)
Bumps lxml from 4.9.3 to 5.1.1.
Changelog
Sourced from lxml's changelog.
... (truncated)
Commits
3299a7e
Merge branch 'lxml-5.0'd2fca62
Exclude a failing test in PyPy.ccf6e4d
Exclude a failing test in PyPy.2104626
Prepare release of lxml 5.1.1.cfdc8f7
Build: Upgrade setup-python action version.aaee7b2
Merge branch 'lxml-5.0'613382e
Prepare release of lxml 5.0.2.95e5967
Exclude a test on older versions that depends on libxml2 2.11+.a2d6009
Fix typo.72bb202
Update .gitignore.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