From 8598c69749d7885092169745882d203cee6ffe6a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 9 Aug 2025 16:19:26 +0200 Subject: [PATCH] chore(deps): update dependency lxml to v6 (#3197) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [lxml](https://lxml.de/) ([source](https://redirect.github.com/lxml/lxml), [changelog](https://git.launchpad.net/lxml/plain/CHANGES.txt)) | `>=4.5.0,<6.0.0` -> `>=4.5.0,<6.1.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/lxml/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/lxml/5.4.0/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
lxml/lxml (lxml) ### [`v6.0.0`](https://redirect.github.com/lxml/lxml/blob/HEAD/CHANGES.txt#600-2025-06-26) [Compare Source](https://redirect.github.com/lxml/lxml/compare/lxml-5.4.0...lxml-6.0.0) \================== ## Features added - [GH#463](https://redirect.github.com/GH/lxml/issues/463): `lxml.html.diff` is faster and provides structurally better diffs. Original patch by Steven Fernandez. - [GH#405](https://redirect.github.com/GH/lxml/issues/405): The factories `Element` and `ElementTree` can now be used in type hints. - [GH#448](https://redirect.github.com/GH/lxml/issues/448): Parsing from `memoryview` and other buffers is supported to allow zero-copy parsing. - [GH#437](https://redirect.github.com/GH/lxml/issues/437): `lxml.html.builder` was missing several HTML5 tag names. Patch by Nick Tarleton. - [GH#458](https://redirect.github.com/GH/lxml/issues/458): `CDATA` can now be written into the incremental `xmlfile()` writer. Original patch by Lane Shaw. - A new parser option `decompress=False` was added that controls the automatic input decompression when using libxml2 2.15.0 or later. Disabling this option by default will effectively prevent decompression bombs when handling untrusted input. Code that depends on automatic decompression must enable this option. Note that libxml2 2.15.0 was not released yet, so this option currently has no effect but can already be used. - The set of compile time / runtime supported libxml2 feature names is available as `etree.LIBXML_COMPILED_FEATURES` and `etree.LIBXML_FEATURES`. This currently includes `catalog`, `ftp`, `html`, `http`, `iconv`, `icu`, `lzma`, `regexp`, `schematron`, `xmlschema`, `xpath`, `zlib`. ## Bugs fixed - [GH#353](https://redirect.github.com/GH/lxml/issues/353): Predicates in `.find*()` could mishandle tag indices if a default namespace is provided. Original patch by Luise K. - [GH#272](https://redirect.github.com/GH/lxml/issues/272): The `head` and `body` properties of `lxml.html` elements failed if no such element was found. They now return `None` instead. Original patch by FVolral. - Tag names provided by code (API, not data) that are longer than `INT_MAX` could be truncated or mishandled in other ways. - `.text_content()` on `lxml.html` elements accidentally returned a "smart string" without additional information. It now returns a plain string. - [LP#2109931](https://redirect.github.com/LP/lxml/issues/2109931): When building lxml with coverage reporting, it now disables the `sys.monitoring` support due to the lack of support i[https://github.com/nedbat/coveragepy/issues/1790](https://redirect.github.com/nedbat/coveragepy/issues/1790)90 ## Other changes - Support for Python < 3.8 was removed. - Parsing directly from zlib (or lzma) compressed data is now considered an optional feature in lxml. It may get removed from libxml2 at some point for security reasons (compression bombs) and is therefore no longer guaranteed to be available in lxml. As of this release, zlib support is still normally available in the binary wheels but may get disabled or removed in later (x.y.0) releases. To test the availability, use `"zlib" in etree.LIBXML_FEATURES`. - The `Schematron` class is deprecated and will become non-functional in a future lxml version. The feature will soon be removed from libxml2 and stop being available. - [GH#438](https://redirect.github.com/GH/lxml/issues/438): Wheels include the `arm7l` target. - [GH#465](https://redirect.github.com/GH/lxml/issues/465): Windows wheels include the `arm64` target. Patch by Finn Womack. - Binary wheels use the library versions libxml2 2.14.4 and libxslt 1.1.43. Note that this disables direct HTTP and FTP support for parsing from URLs. Use Python URL request tools instead (which usually also support HTTPS). To test the availability, use `"http" in etree.LIBXML_FEATURES`. - Windows binary wheels use the library versions libxml2 2.11.9, libxslt 1.1.39 and libiconv 1.17. They are now based on VS-2022. - Built using Cython 3.1.2. - The debug methods `MemDebug.dump()` and `MemDebug.show()` were removed completely. libxml2 2.13.0 discarded this feature.
--- ### Configuration 📅 **Schedule**: 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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/libretime/libretime). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- playout/requirements.txt | 2 +- playout/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playout/requirements.txt b/playout/requirements.txt index 84e5410cb..9e6311f5a 100644 --- a/playout/requirements.txt +++ b/playout/requirements.txt @@ -3,7 +3,7 @@ backports.zoneinfo>=0.2.1,<0.3;python_version<'3.9' jinja2>=3.0.3,<3.2 kombu==4.6.11 -lxml>=4.5.0,<6.0.0 +lxml>=4.5.0,<6.1.0 mutagen>=1.45.1,<1.48 python-dateutil>=2.8.1,<2.10 requests>=2.32.2,<2.33 diff --git a/playout/setup.py b/playout/setup.py index c3525feb6..6e1243819 100644 --- a/playout/setup.py +++ b/playout/setup.py @@ -28,7 +28,7 @@ setup( "backports.zoneinfo>=0.2.1,<0.3;python_version<'3.9'", "jinja2>=3.0.3,<3.2", "kombu==4.6.11", - "lxml>=4.5.0,<6.0.0", + "lxml>=4.5.0,<6.1.0", "mutagen>=1.45.1,<1.48", "python-dateutil>=2.8.1,<2.10", "requests>=2.32.2,<2.33",