Skip to content

DOC: Document ITK 6 minimum wrapped Python is 3.11#6677

Merged
hjmjohnson merged 1 commit into
InsightSoftwareConsortium:mainfrom
hjmjohnson:doc-python311-wrapped-floor
Jul 21, 2026
Merged

DOC: Document ITK 6 minimum wrapped Python is 3.11#6677
hjmjohnson merged 1 commit into
InsightSoftwareConsortium:mainfrom
hjmjohnson:doc-python311-wrapped-floor

Conversation

@hjmjohnson

Copy link
Copy Markdown
Member

Adds a migration-guide entry noting ITK 6 raised the wrapped-Python floor from 3.10 to 3.11.

The floor is already enforced in code (ITK_WRAP_PYTHON_MINIMUM_VERSION 3.11 in CMake/ITKSetPython3Vars.cmake, which fails configure early on an older interpreter); this just documents it for downstream users. Salvaged from the now-closed #6667, where it had accumulated unrelated to that PR's topic.

Add a migration-guide entry noting the wrapped-Python floor was raised
from 3.10 to 3.11; configuring wrapping against an older interpreter now
fails early (ITK_WRAP_PYTHON_MINIMUM_VERSION in CMake/ITKSetPython3Vars.cmake).
@github-actions github-actions Bot added type:Documentation Documentation improvement or change area:Documentation Issues affecting the Documentation module labels Jul 21, 2026
@hjmjohnson
hjmjohnson marked this pull request as ready for review July 21, 2026 18:39
@greptile-apps

greptile-apps Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR documents the Python version floor for ITK 6 wrapping. The main changes are:

  • Adds a migration-guide note that Python wrapping now requires Python 3.11 or newer.
  • Tells downstream users to use Python 3.11+ when building or installing wrapped ITK.
  • Notes that prebuilt itk wheels already target Python 3.11 and newer.

Confidence Score: 5/5

This documentation-only PR is safe to merge.

The migration-guide note matches the enforced ITK_WRAP_PYTHON_MINIMUM_VERSION 3.11 floor and stays concise under the repository prose guidance.

No files require special attention.

T-Rex T-Rex Logs

What T-Rex did

  • I reviewed the docs build log to verify the build completed successfully with EXIT_CODE: 0 and noted there were 64 warnings.
  • I inspected the generated HTML excerpt for the minimum-wrapped-python-raised-to-3-11 section to confirm the Python 3.11 requirement appears in the expected heading and text.
  • I checked the changed-file diagnostics log and confirmed the warnings are unrelated baseline issues, with no new warnings or errors specific to the Python 3.11 content.

View all artifacts

T-Rex Ran code and verified through T-Rex

Important Files Changed

Filename Overview
Documentation/docs/migration_guides/itk_6_migration_guide.md Adds a concise ITK 6 migration-guide note documenting the Python wrapping minimum version; no issues found.

Reviews (1): Last reviewed commit: "DOC: Document ITK 6 minimum wrapped Pyth..." | Re-trigger Greptile

@hjmjohnson
hjmjohnson merged commit 145316a into InsightSoftwareConsortium:main Jul 21, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Documentation Issues affecting the Documentation module type:Documentation Documentation improvement or change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants