chore(deps): update dependency lxml to v6.0.3 - autoclosed#1482
chore(deps): update dependency lxml to v6.0.3 - autoclosed#1482amilcarlucas wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
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
lxmlversion inensure_dependencies()to6.0.3.
| required_packages = ["lxml==6.0.3"] | ||
|
|
||
| for package in required_packages: | ||
| if importlib.util.find_spec(package) is None: |
There was a problem hiding this comment.
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.
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified FilesNo covered modified files...
|
This PR contains the following updates:
6.0.2→6.0.3Release Notes
lxml/lxml (lxml)
v6.0.3Compare Source
==================
Bugs fixed
Several out of memory error cases now raise
MemoryErrorthat 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_idorsystem_urlof 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)
🚦 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.
This PR has been generated by Renovate Bot.