From 70a0a03ebcdc713abd45e67384e71824a15608dd Mon Sep 17 00:00:00 2001 From: hafezparast Date: Mon, 27 Apr 2026 07:07:54 +0800 Subject: [PATCH] fix: relax lxml constraint to support Python 3.14 (#1903) lxml~=5.3 blocked installation on Python 3.14 (Windows) because no pre-built wheels exist for 5.x on 3.14 and the source build fails without libxml2 headers. lxml 6.x ships Python 3.14 wheels and is already API- compatible (our full regression suite runs on lxml 6.0.2 unchanged). Change ~=5.3 to >=5.3 to allow 6.x, and add Python 3.14 classifier. Co-Authored-By: Claude Sonnet 4.6 --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ee237d5b3..38c073a01 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ dependencies = [ "aiohttp>=3.11.11", "aiosqlite~=0.20", "anyio>=4.0.0", - "lxml~=5.3", + "lxml>=5.3", "unclecode-litellm==1.81.13", "numpy>=1.26.0,<3", "pillow>=10.4", @@ -56,6 +56,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] [project.optional-dependencies]