From a8e7ab45407f049e4593168d83fd05b056e3423c Mon Sep 17 00:00:00 2001 From: Olivier Cervello Date: Wed, 8 Apr 2026 00:55:21 +0200 Subject: [PATCH] Bump lxml minimum to 6.0.2 for Python 3.14 compatibility (#2279) * Bump lxml minimum to 6.0.2 for Python 3.14 compatibility lxml 5.x fails to build on Python 3.14 due to incompatible pointer types in Cython-generated C code. lxml 6.0.2 compiles correctly. Fixes #2266 Co-Authored-By: Claude Opus 4.6 * Update poetry.lock to match pyproject.toml changes Co-Authored-By: Claude Opus 4.6 --------- Co-authored-by: Claude Opus 4.6 Co-authored-by: Soxoj <31013580+soxoj@users.noreply.github.com> --- poetry.lock | 5 +++-- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index a43313d..b40f05d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.3.2 and should not be changed by hand. [[package]] name = "about-time" @@ -724,6 +724,7 @@ files = [ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] +markers = {dev = "platform_system == \"Windows\" or sys_platform == \"win32\""} [[package]] name = "coverage" @@ -3792,4 +3793,4 @@ propcache = ">=0.2.1" [metadata] lock-version = "2.1" python-versions = "^3.10" -content-hash = "edc8e2596a73519ad93c4a1e8c235f95d8070c5ecde2b2d7aba16f58be9e6e0a" +content-hash = "64280126055cdc808ace9bcaa01a1aa2ed2c1ee8892e4acf6a093441168535c8" diff --git a/pyproject.toml b/pyproject.toml index a13e271..ede48c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ future-annotations= "^1.0.0" html5lib = "^1.1" idna = "^3.4" Jinja2 = "^3.1.6" -lxml = ">=5.3,<7.0" +lxml = ">=6.0.2,<7.0" MarkupSafe = "^3.0.2" mock = "^5.1.0" multidict = "^6.6.3"