Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump lxml from 4.9.3 to 5.1.0 (PP-810) #1602

Merged
merged 3 commits into from
Mar 13, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 8, 2024

Note 🚨: #1722 should go in before this one does

JIRA: PP-810

See this for more info:
https://bugs.launchpad.net/lxml/+bug/1960668

In order to use the most recent build of lxml, we need to install the package from source instead of from a wheel, since it ships with its own compiled version of libxml2, and this version conflicts with the version that is compiled and linked against the xmlsec library.

There is an issue in the xmlsec repo here xmlsec/python-xmlsec#283 to make this all play more nicely together, but since xmlsec seems largely unmaintained I'm not sure its going to get done.

Bumps lxml from 4.9.3 to 5.1.0.

Changelog

Sourced from lxml's changelog.

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.

5.0.1 (2024-01-05)

Bugs fixed

  • LP#2046208: Parsing non-BMP Python Unicode strings could fail on macOS.

  • LP#2044225: When incrementally parsing broken HTML, reporting start events on missing structural tags failed and could lead to subsequent exceptions.

  • LP#2045435: Some (not all) issues with stricter C compilers were resolved.

  • The binary wheels in the 5.0.0 release did not validate cleanly (but installed ok).

.. _latest_release:

5.0.0 (2023-12-29)

Features added

  • Character escaping in C14N2 serialisation now uses a single pass over the text instead of searching for each unescaped character separately.

... (truncated)

Commits
  • 82a4260 Prepare release of 5.1.0.
  • 3eafa61 Merge branch 'lxml-5.0'
  • eb5cd98 Prepare release of 5.0.1.
  • f4b8be5 docs: Shorten the list of old versions on the main website.
  • 9496a79 Update changelog.
  • c13c5af Remove some dead Py2 code.
  • 5bba8c4 Remove some dead Py2 code.
  • 5fa0cd5 Cleaner: Validate that host_whitelist is not a string (GH-349)
  • ff88377 Remove accidentally duplicated code.
  • 7244b43 Merge branch 'lxml-5.0'
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 <dependency name> 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 8, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 8, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/lxml-5.1.0 branch January 8, 2024 20:39
@jonathangreen jonathangreen restored the dependabot/pip/lxml-5.1.0 branch March 12, 2024 12:55
@jonathangreen jonathangreen reopened this Mar 12, 2024
@jonathangreen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/lxml-5.1.0 branch from fb24e9a to bf07e56 Compare March 12, 2024 12:58
@jonathangreen jonathangreen changed the base branch from main to feature/seperate-out-docker-builds March 12, 2024 17:05
@jonathangreen jonathangreen changed the title Bump lxml from 4.9.3 to 5.1.0 Bump lxml from 4.9.3 to 5.1.0 (PP-810) Mar 12, 2024
@jonathangreen jonathangreen requested a review from a team March 12, 2024 18:22
Copy link
Contributor

@dbernstein dbernstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@jonathangreen jonathangreen force-pushed the feature/seperate-out-docker-builds branch from 66ccf86 to 5667454 Compare March 13, 2024 09:02
Base automatically changed from feature/seperate-out-docker-builds to main March 13, 2024 13:43
dependabot bot and others added 3 commits March 13, 2024 10:46
Bumps [lxml](https://github.com/lxml/lxml) from 4.9.3 to 5.1.0.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](lxml/lxml@lxml-4.9.3...lxml-5.1.0)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@jonathangreen jonathangreen merged commit 4cfd5eb into main Mar 13, 2024
24 checks passed
@jonathangreen jonathangreen deleted the dependabot/pip/lxml-5.1.0 branch March 13, 2024 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants