fix: relax lxml constraint to support Python 3.14 (#1903)#1944
Open
hafezparast wants to merge 1 commit intounclecode:developfrom
Open
fix: relax lxml constraint to support Python 3.14 (#1903)#1944hafezparast wants to merge 1 commit intounclecode:developfrom
hafezparast wants to merge 1 commit intounclecode:developfrom
Conversation
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 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
lxml~=5.3resolves to5.4.xwhich has no pre-built wheels for Python 3.14 on Windows. pip falls back to a source build, which fails withoutlibxml2development headers — making crawl4ai uninstallable on Python 3.14.Fix
lxml~=5.3→lxml>=5.3to allow lxml 6.x (which ships Python 3.14 wheels)Programming Language :: Python :: 3.14classifierlxml 6.x is already API-compatible with crawl4ai — our venv runs 6.0.2 and the full regression suite (303 tests) passes unchanged.
Test plan
Fixes #1903
🤖 Generated with Claude Code