Skip to content

COMP: Update CI best practices and Python 3.10+#242

Merged
hjmjohnson merged 3 commits intomainfrom
update-ci-best-practices
Apr 15, 2026
Merged

COMP: Update CI best practices and Python 3.10+#242
hjmjohnson merged 3 commits intomainfrom
update-ci-best-practices

Conversation

@hjmjohnson
Copy link
Copy Markdown
Member

@hjmjohnson hjmjohnson commented Apr 3, 2026

Update CI workflows to current best practices: actions/checkout@v5, Python 3.10+ minimum, and ITKRemoteModuleBuildTestPackageAction@v5.4.6 with ITK wheel tags pinned to v5.4.5.

Note: Windows Python wheels may fail with ensurepip until ITKPythonPackage cuts a new release tag including the fix. C++ CI and Linux/macOS Python builds are unaffected.

Commits (3)
  1. COMP: Update actions/checkout to v5
  2. COMP: Update minimum Python version to 3.10+ — bump pyproject.toml and workflow matrix
  3. COMP: Update action to v5.4.6 and ITK wheel tags to v5.4.5
Dropped commit

48fe55c ("COMP: Point itk-python-package-tag at main for Windows pip fix") was dropped — using itk-python-package-tag: 'main' fixed the Windows ensurepip issue but broke Linux Python wrapping due to CastXML incompatibility with gcc-toolset-14 in the latest manylinux container.

@hjmjohnson
Copy link
Copy Markdown
Member Author

WIP: test-linux-notebooks blocked on upstream Python 3.9 default.

Same issue as InsightSoftwareConsortium/ITKSplitComponents#91 — the build-test-package-python.yml@v6.0b01 action defaults to Python 3.9 for notebook tests, but this wheel requires >=3.10. Fix submitted upstream: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction#126.

All C++ builds and Python wheel builds pass. Once the upstream PR merges and CI re-runs, this PR should be green.

Comment thread .github/workflows/build-test-package.yml
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hjmjohnson hjmjohnson force-pushed the update-ci-best-practices branch from bbc79f7 to 48fe55c Compare April 15, 2026 06:41
Comment thread .github/workflows/build-test-package.yml Outdated
@hjmjohnson hjmjohnson force-pushed the update-ci-best-practices branch from 48fe55c to 8eefbf2 Compare April 15, 2026 20:20
@hjmjohnson hjmjohnson merged commit 7a5c40a into main Apr 15, 2026
23 of 27 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