Relax lxml upper bound to <7#46
Merged
Merged
Conversation
airmang
approved these changes
Jul 9, 2026
airmang
left a comment
Owner
There was a problem hiding this comment.
CI 확인 완료: lxml 6.1.1로 Python 3.10/3.11/3.12에서 mypy·pyright·pytest 모두 통과했습니다. 코드가 사용하는 lxml API는 모두 안정적인 코어 API라 6.x와의 호환 리스크도 없습니다. 감사합니다 🙏
airmang
added a commit
that referenced
this pull request
Jul 9, 2026
Co-Authored-By: Claude Opus 4.8 <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.
Why
The current pin
lxml>=4.9,<6makespip install python-hwpxfail on Python 3.14: lxml 5.x has no prebuilt wheels for 3.14, so pip falls back to a source build (which fails without a libxml2 toolchain). lxml 6.x does ship 3.14 wheels, but the<6bound excludes it.Evidence that lxml 6 works
Tested on Windows, Python 3.14.x + lxml 6.0.2 (installed with
pip install --no-deps python-hwpx):test_unedited_paragraph_model_roundtrip_is_byte_stable)hwpx.authoringBuilder API (headings/paragraphs/tables/lists/images),save_to_path()+verify()all green — we ship python-hwpx as an optional dependency of a Claude Code plugin (visionit-harness-kit) for md→hwpx delivery conversion, and currently have to document a--no-depsworkaround for 3.14 users.Change
One line:
"lxml>=4.9,<6"→"lxml>=4.9,<7".(한국어 요약: lxml 5.x 는 Python 3.14 휠이 없어 현재 핀으로는 3.14 에서 설치가 실패합니다. lxml 6.0.2 로 전체 테스트 1274건 통과를 확인해 상한을 <7 로 완화 제안드립니다.)