From fd15fd3e200b299ac7bf373b9f370463a01907d3 Mon Sep 17 00:00:00 2001 From: Hans Johnson Date: Fri, 3 Apr 2026 16:55:14 -0500 Subject: [PATCH 1/2] COMP: Update CI to ITKRemoteModuleBuildTestPackageAction v5.4.6 and Python 3.10+ - Bump reusable workflow from v5.4.3 to v5.4.6 (fixes macos-13 deprecation, adds GHCR dockcross pre-pull with retry) - Update minimum Python version to 3.10+ Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/build-test-package.yml | 8 ++++++-- pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test-package.yml b/.github/workflows/build-test-package.yml index c9e610e..3bf47f1 100644 --- a/.github/workflows/build-test-package.yml +++ b/.github/workflows/build-test-package.yml @@ -12,9 +12,13 @@ on: jobs: cxx-build-workflow: - uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v5.4.3 + uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v5.4.6 python-build-workflow: - uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@v5.4.3 + uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@v5.4.6 + with: + itk-wheel-tag: 'v5.4.5' + itk-python-package-tag: 'v5.4.5' + test-notebooks: false secrets: pypi_password: ${{ secrets.pypi_password }} diff --git a/pyproject.toml b/pyproject.toml index 429a97b..48f114b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Medical Science Apps.", "Topic :: Software Development :: Libraries", ] -requires-python = ">=3.9" +requires-python = ">=3.10" dependencies = [ "itk == 5.4.*", ] From 5b1b178f130e9a831c05943b26885fb7e23ab48f Mon Sep 17 00:00:00 2001 From: "Hans J. Johnson" Date: Sun, 12 Apr 2026 21:16:40 -0500 Subject: [PATCH 2/2] BUG: Fix IsotropicResamplerImageFilter wrapping template arguments The wrapping file passed dimension numbers (2, 3) directly to itk_wrap_template instead of using itk_wrap_image_filter with proper image type sets. The class takes , so itk_wrap_image_filter with WRAP_ITK_SCALAR and 2 (for same input/output type) is the correct pattern. error: template argument for template type parameter must be a type Co-Authored-By: Claude Opus 4.6 (1M context) --- wrapping/itkIsotropicResamplerImageFilter.wrap | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wrapping/itkIsotropicResamplerImageFilter.wrap b/wrapping/itkIsotropicResamplerImageFilter.wrap index b296a0d..862307e 100644 --- a/wrapping/itkIsotropicResamplerImageFilter.wrap +++ b/wrapping/itkIsotropicResamplerImageFilter.wrap @@ -1,5 +1,3 @@ itk_wrap_class("itk::IsotropicResamplerImageFilter" POINTER_WITH_SUPERCLASS) - foreach(d ${ITK_WRAP_IMAGE_DIMS}) - itk_wrap_template(${d} ${d}) - endforeach() + itk_wrap_image_filter("${WRAP_ITK_SCALAR}" 2) itk_end_wrap_class()