Skip to content

chore(deps): update dependency lxml to v6.0.3 - autoclosed#1482

Closed
amilcarlucas wants to merge 1 commit into
masterfrom
renovate/lxml-6.x
Closed

chore(deps): update dependency lxml to v6.0.3 - autoclosed#1482
amilcarlucas wants to merge 1 commit into
masterfrom
renovate/lxml-6.x

Conversation

@amilcarlucas
Copy link
Copy Markdown
Collaborator

This PR contains the following updates:

Package Change Age Confidence
lxml (source, changelog) 6.0.26.0.3 age confidence

Release Notes

lxml/lxml (lxml)

v6.0.3

Compare Source

==================

Bugs fixed

  • Several out of memory error cases now raise MemoryError that were not handled before.

  • Slicing with large step values (outside of +/- sys.maxsize) could trigger undefined C behaviour.

  • LP#2125399: Some failing tests were fixed or disabled in PyPy.

  • LP#2138421: Memory leak in error cases when setting the public_id or system_url of a document.

  • Memory leak in case of a memory allocation failure when copying document subtrees.

  • When mapping an XPath result to Python failed, the result memory could leak.

  • When preparing an XSLT transform failed, the XSLT parameter memory could leak.

Other changes

  • Built using Cython 3.2.4.

  • Binary wheels use zlib 1.3.2.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Copilot AI review requested due to automatic review settings April 9, 2026 23:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the pinned lxml dependency version used by the metadata generation script from 6.0.2 to 6.0.3.

Changes:

  • Bump required lxml version in ensure_dependencies() to 6.0.3.

Comment on lines +47 to 50
required_packages = ["lxml==6.0.3"]

for package in required_packages:
if importlib.util.find_spec(package) is None:
Copy link

Copilot AI Apr 9, 2026

Choose a reason for hiding this comment

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

importlib.util.find_spec() expects an importable module name (e.g., lxml), not a pip requirement string (e.g., lxml==6.0.3). As written, this will always fail to find the spec and can repeatedly trigger installs even when lxml is present. Fix by checking find_spec('lxml'), and if you need to enforce the pinned version, separately compare importlib.metadata.version('lxml') against 6.0.3 before deciding to install.

Copilot uses AI. Check for mistakes.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 9, 2026

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
12052 11339 94% 89% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: ded3eb9 by action🐍

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 9, 2026

Test Results

     4 files  ±0       4 suites  ±0   40m 25s ⏱️ -3s
 3 527 tests ±0   3 525 ✅ ±0   2 💤 ±0  0 ❌ ±0 
13 900 runs  ±0  13 877 ✅ ±0  23 💤 ±0  0 ❌ ±0 

Results for commit ded3eb9. ± Comparison against base commit 5c08529.

@amilcarlucas amilcarlucas changed the title chore(deps): update dependency lxml to v6.0.3 chore(deps): update dependency lxml to v6.0.3 - autoclosed Apr 10, 2026
@amilcarlucas amilcarlucas deleted the renovate/lxml-6.x branch April 10, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants