Repository navigation
DOC: Bring the docs in line with #315 (--exclude-libs on Linux, manylinux_2_28 only) - #318
Merged
Merged
Conversation
InsightSoftwareConsortium#315 made --exclude-libs (-x in the Linux module script) pass each library to auditwheel as --exclude, but AGENTS.md and README.md still called it Windows only, and the module guide did not show -x. AGENTS.md and the ITK build guide also listed _2_34 as a manylinux version. Only manylinux_2_28 has a pixi environment and ITK caches, and the Linux module script now rejects anything else. The Windows example in the module guide used Python 3.10 and showed --exclude-libs where the text described --lib-paths; it now shows both with Python 3.11.
A comment on the manylinux check and a test docstring explained the code by the behavior it replaced.
hjmjohnson
marked this pull request as ready for review
November 26, 2026 02:57
dzenanz
approved these changes
Nov 26, 2026
dzenanz
left a comment
Member
There was a problem hiding this comment.
LGTM. The docs now match the code: -x on Linux, _2_28 only, and the Windows example with --lib-paths.
This was referenced Nov 26, 2026
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.
Bring the docs in line with #315:
--exclude-libs(-xin the Linux module script) now works on Linux too, andmanylinux_2_28is the only manylinux version built. Two comments that described replaced behavior now describe the current one.Merge danger: two-way door; blast radius: docs and two comments.
Shape of the change
AGENTS.md --exclude-libs: "Windows only; DLLs" -> "Windows, Linux; libs" --manylinux-version: "_2_28, _2_34" -> "_2_28" README.md --exclude-libs row; MANYLINUX_VERSION: only _2_28 is built docs/Build_ITK_Python_packages.rst --manylinux-version: only _2_28 docs/Build_ITK_Module_Python_packages.rst -x example for Linux; Windows example uses Python 3.11 and shows --lib-paths scripts/dockcross-manylinux-download-cache-and-build-module-wheels.sh comment tests/test_build_steps.py docstring_2_34had no pixi environment (manylinux234-py311is not inpixi.toml), no ITK caches, and #315 made the Linux module script reject it.Evidence
pre-commit run --all-files: passed.pixi run -e dev python -m pytest tests -q: 503 passed (macOS).