Skip to content

Update lxml requirement from ~=6.0.2 to ~=6.1.2 - #199

Merged
villelaitila merged 1 commit into
mainfrom
dependabot/pip/lxml-approx-eq-6.1.2
Aug 31, 2026
Merged

Update lxml requirement from ~=6.0.2 to ~=6.1.2#199
villelaitila merged 1 commit into
mainfrom
dependabot/pip/lxml-approx-eq-6.1.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 31, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on lxml to permit the latest version.

Changelog

Sourced from lxml's changelog.

6.1.2 (2026-08-18)

  • GH#526: Some build files were missing in the sdist. Patch by Nicola Soranzo.

  • Some minor corrections for error handling cases.

Other changes

  • Built with Cython 3.2.9.

6.1.1 (2026-05-18)

Bugs fixed

6.1.0 (2026-04-17)

This release fixes a possible external entity injection (XXE) vulnerability in iterparse() and the ETCompatXMLParser.

Features added

  • GH#486: The HTML ARIA accessibility attributes were added to the set of safe attributes in lxml.html.defs. This allows lxml_html_clean to pass them through. Patch by oomsveta.

  • The default chunk size for reading from file-likes in iterparse() is now configurable with a new chunk_size argument.

Bugs fixed

  • LP#2146291: The resolve_entities option was still set to True for iterparse and ETCompatXMLParser, allowing for external entity injection (XXE)

... (truncated)

Commits
  • f2874e9 Update release date.
  • 687a295 Build: Exclude Py3.8 from windows-arm builds.
  • acadc56 Build: Remove outdated build target.
  • 59f93eb Build: Split old-Linux and other-Py3.8 builds.
  • 923df83 Build: Fix manylinux2014 build.
  • 975cc83 Build: Fix Px3.8 build setup.
  • 09e5d3e Build: Fix cibuildwheel version.
  • 998cf50 Build: Build Py3.8 wheels only once, not in every build job.
  • 5567037 Build: Exclude Py3.15 from 32bit builds.
  • 904db40 Build: Update cibuildwheel to include Py3.15.
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Aug 31, 2026

@villelaitila villelaitila left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed the diff — this is a one-line dependency version bump (lxml~=6.0.2lxml~=6.1.2) in requirements.txt, no code changes. No logical issues or weaknesses found.

Worth noting: the ~=6.1.2 range picks up two security-relevant fixes from lxml's changelog:

  • 6.1.0 fixed an XXE (external entity injection) vulnerability in iterparse() and ETCompatXMLParser (resolve_entities was incorrectly True).
  • 6.1.1 fixed a URL-bypass issue in lxml.html.defs.link_attrs (missing xlink:href) and bundled patched libxslt fixing CVE-2025-7424 and CVE-2025-11731.

This repo doesn't appear to use iterparse() or lxml.html cleaning directly based on a quick check, but taking the upgrade is still a reasonable, low-risk move. No objections to merging.


Generated by Claude Code

Updates the requirements on [lxml](https://github.com/lxml/lxml) to permit the latest version.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](lxml/lxml@lxml-6.0.2...lxml-6.1.2)

---
updated-dependencies:
- dependency-name: lxml
  dependency-version: 6.1.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/lxml-approx-eq-6.1.2 branch from a531997 to a156d2c Compare August 31, 2026 05:50
@villelaitila
villelaitila merged commit e509380 into main Aug 31, 2026
2 checks passed
@dependabot
dependabot Bot deleted the dependabot/pip/lxml-approx-eq-6.1.2 branch August 31, 2026 07:51
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.

1 participant