Skip to content

fix: pin Python to 3.14 in mkdocs action - #26

Merged
fpotier merged 1 commit into
mainfrom
fix/pin-python-version
Oct 22, 2026
Merged

fpotier merged 1 commit into
mainfrom
fix/pin-python-version

Conversation

@fpotier

@fpotier fpotier commented Oct 22, 2026

Copy link
Copy Markdown
Member

The docs build was failing on some runners and passing on others. python-version: 3.x resolves to Python 3.15.0 on runners that already have it and to 3.14.8 on the rest. lxml 6.0.2 has no cp315 wheel on PyPI, so on 3.15 pip falls back to building it from source, which fails:

Error: Please make sure the libxml2 and libxslt development packages are installed.

This pins python-version to "3.14" so every run gets a matching wheel. Future Python upgrades become explicit changes instead of happening when the runner image changes.

🤖 Generated with Claude Code

@fpotier
fpotier requested a review from minottic October 22, 2026 13:49
Comment thread .github/actions/mkdocs-pages/action.yml Resolved
python-version 3.x resolved to 3.15 on some runners, where lxml 6.0.2
has no wheel and the source build fails for lack of libxml2/libxslt headers.
@fpotier
fpotier force-pushed the fix/pin-python-version branch from 05505b1 to bb16b43 Compare October 22, 2026 13:57
@fpotier
fpotier merged commit d745da0 into main Oct 22, 2026
2 checks passed
@fpotier
fpotier deleted the fix/pin-python-version branch October 22, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants