Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: InsightSoftwareConsortium/ITKPythonPackage
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: release
Choose a base ref
...
head repository: InsightSoftwareConsortium/ITKPythonPackage
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 18 commits
  • 31 files changed
  • 3 contributors

Commits on Nov 17, 2025

  1. STYLE: Strip trailing whitespace in files

    Reduce noise in future script modifications
    hjmjohnson committed Nov 17, 2025
    Configuration menu
    Copy the full SHA
    27e632c View commit details
    Browse the repository at this point in the history
  2. STYLE: Consistently format python files with 'black' formatting

    Reduce git diffs in future code modifications
    hjmjohnson committed Nov 17, 2025
    Configuration menu
    Copy the full SHA
    6c31af9 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2025

  1. DOC: setup.py was replaced with pyproject.toml builds

    Since 2023 pyproject.toml is the only used mechanism for building
    python packages in ITK.
    hjmjohnson committed Nov 20, 2025
    Configuration menu
    Copy the full SHA
    9a956c0 View commit details
    Browse the repository at this point in the history
  2. ENH: Update minimum versions supported to 3.9

    Update documentation to only include valid python versions.
    hjmjohnson committed Nov 20, 2025
    Configuration menu
    Copy the full SHA
    edfe4ab View commit details
    Browse the repository at this point in the history
  3. ENH: Update minimum supported cmake version 3.26.6

    Building python packages with 3.26.6 allows for support of Development.SABIModule
    capabilities.
    hjmjohnson committed Nov 20, 2025
    Configuration menu
    Copy the full SHA
    0dde05b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8d09462 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #297 from InsightSoftwareConsortium/strip-trailing…

    …-whitespace
    
    strip trailing whitespace
    thewtex authored Nov 20, 2025
    Configuration menu
    Copy the full SHA
    4ef67cd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4c13424 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9ecf24a View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2025

  1. ENH: Add explicit PEP 404 version conformance check

    Fail early if the version is incompatible with PEP 440.
    hjmjohnson committed Nov 21, 2025
    Configuration menu
    Copy the full SHA
    285c3aa View commit details
    Browse the repository at this point in the history
  2. DOC: Minor comment fix

    hjmjohnson committed Nov 21, 2025
    Configuration menu
    Copy the full SHA
    1d11561 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a91178f View commit details
    Browse the repository at this point in the history
  4. Merge pull request #298 from InsightSoftwareConsortium/script-documen…

    …tation-cleanups
    
    script documentation cleanups
    thewtex authored Nov 21, 2025
    Configuration menu
    Copy the full SHA
    ab4b64f View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2026

  1. Merge branch 'release'

    thewtex committed Mar 13, 2026
    Configuration menu
    Copy the full SHA
    b15a64e View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2026

  1. ENH: Add ITK commit message hooks (prepare-commit-msg and kw-commit-msg)

    Add pre-commit hooks in Utilities/Hooks/ matching ITK's directory
    structure and commit message enforcement:
    
    - prepare-commit-msg: Inserts ITK prefix instructions into the commit
      message editor so developers see valid prefixes while composing.
    
    - kw-commit-msg.py: Validates commit messages with the same rules as
      upstream ITK: prefix check (BUG/COMP/DOC/ENH/PERF/STYLE/WIP),
      subject line max 78 chars, no leading/trailing whitespace, empty
      second line, and Merge/Revert exemptions.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    hjmjohnson and claude committed Apr 3, 2026
    Configuration menu
    Copy the full SHA
    a8b19f3 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2026

  1. Merge pull request #303 from InsightSoftwareConsortium/enforce-itk-co…

    …mmit-conventions
    
    ENH: Add pre-commit hook to enforce ITK commit message conventions
    hjmjohnson authored Apr 11, 2026
    Configuration menu
    Copy the full SHA
    86d223c View commit details
    Browse the repository at this point in the history
  2. COMP: Bootstrap pip via ensurepip on Windows wheel build to fix Pytho…

    …n 3.10+
    
    scikit-ci-addons' install-python.ps1 downloads get-pip.py from a pinned
    GitHub gist (jcfr commit 8478d43e) rather than the canonical
    bootstrap.pypa.io URL, and installs a pip old enough to vendor an
    html5lib that still uses `from collections import Mapping`.  That
    import was removed in Python 3.10, so the very first invocation of
    `python -m pip install pip --upgrade` (the bootstrap step in
    `build_wheels`) dies with:
    
        File ".../pip.zip/pip/_vendor/html5lib/_trie/_base.py", line 3
        ImportError: cannot import name 'Mapping' from 'collections'
    
    The failure is consistent on Python 3.10 and 3.11 across all Windows
    matrix jobs (build-windows-python-packages (10) and (11)).
    
    Fix it by running `python -m ensurepip --upgrade --default-pip` BEFORE
    the existing `pip install pip --upgrade`.  ensurepip uses the pip wheel
    that CPython itself bundled at release time (>= 21.x for Python 3.10),
    which has a working html5lib >= 1.1, and the subsequent self-upgrade
    then proceeds normally.
    
    The PowerShell entry point (windows-download-cache-and-build-module-wheels.ps1)
    still IEXes the upstream install-python.ps1 unchanged - the chicken-and-egg
    fix is purely Python-side, so no interaction with scikit-ci-addons is
    required.  Companion `windows_build_wheels.py` is unchanged because its
    pip operations go through a virtualenv created by `virtualenv.exe`, and
    modern virtualenv ships its own bundled pip wheels rather than copying
    the (broken) system pip.
    
    Surfaced by KitwareMedical/ITKUltrasound#246, which is the first remote
    module PR to actually exercise the python wheel build matrix on Python
    3.10+ after a related CI fix made the workflow start running again.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    hjmjohnson and claude committed Apr 11, 2026
    Configuration menu
    Copy the full SHA
    a2d2a5f View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2026

  1. Merge pull request #304 from InsightSoftwareConsortium/fix-pip-collec…

    …tions-mapping
    
    COMP: Bootstrap pip via ensurepip on Windows wheel build to fix Python 3.10+
    hjmjohnson authored Apr 13, 2026
    Configuration menu
    Copy the full SHA
    2b655cb View commit details
    Browse the repository at this point in the history
Loading