Skip to content

DOC: Bring the docs in line with #315 (--exclude-libs on Linux, manylinux_2_28 only) - #318

Merged
dzenanz merged 2 commits into
InsightSoftwareConsortium:mainfrom
BRAINSia:followup-docs
Nov 26, 2026
Merged

dzenanz merged 2 commits into
InsightSoftwareConsortium:mainfrom
BRAINSia:followup-docs

Conversation

@hjmjohnson

Copy link
Copy Markdown
Member

Bring the docs in line with #315: --exclude-libs (-x in the Linux module script) now works on Linux too, and manylinux_2_28 is 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_34 had no pixi environment (manylinux234-py311 is not in pixi.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).
  • Merges cleanly with the two companion follow-up PRs; all three merged together pass 535 tests and pre-commit.

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
hjmjohnson marked this pull request as ready for review November 26, 2026 02:57

@dzenanz dzenanz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The docs now match the code: -x on Linux, _2_28 only, and the Windows example with --lib-paths.

@dzenanz
dzenanz merged commit 0ba6a6e into InsightSoftwareConsortium:main Nov 26, 2026
6 checks passed
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