From 030b66285421ed807e2a205c887ae819e6f7adb7 Mon Sep 17 00:00:00 2001 From: Hans Johnson Date: Tue, 11 Mar 2025 17:42:03 -0500 Subject: [PATCH 1/3] ENH: Update pyproject.toml for ITK 5.4.2 In preparation for release. Ensure that cmake is 3.16.3 or greater to match v5.4.2 minimum requirements. Set minimum python to 3.9 Increment version number. Replace keyword of "ITK" with lowercase "itk" in some instances to be consistent. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index dc3341c..6349d7f 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.8" +requires-python = ">=3.9" dependencies = [ "itk == 5.4.*", ] From 012f0b6ac3b27afc08aa1dc99a2adec173aaa6ac Mon Sep 17 00:00:00 2001 From: "Hans J. Johnson" Date: Mon, 10 Nov 2025 13:47:31 -0600 Subject: [PATCH 2/3] STYLE: Update clang-format to match ITK 2025-11-10 --- .clang-format | 1 + .github/workflows/clang-format-linter.yml | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.clang-format b/.clang-format index 7252d3e..2fd9142 100644 --- a/.clang-format +++ b/.clang-format @@ -297,6 +297,7 @@ StatementMacros: - ITK_CLANG_PRAGMA_PUSH - ITK_CLANG_PRAGMA_POP - ITK_CLANG_SUPPRESS_Wzero_as_null_pointer_constant + - ITK_CLANG_SUPPRESS_Wduplicate_enum - CLANG_PRAGMA_PUSH - CLANG_PRAGMA_POP - CLANG_SUPPRESS_Wfloat_equal diff --git a/.github/workflows/clang-format-linter.yml b/.github/workflows/clang-format-linter.yml index 59c661d..7d1df4f 100644 --- a/.github/workflows/clang-format-linter.yml +++ b/.github/workflows/clang-format-linter.yml @@ -7,7 +7,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 - - uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master - \ No newline at end of file + - uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@main + with: + itk-branch: main From 1aea49dd9675d79fd104b3b4ac103f1434512b97 Mon Sep 17 00:00:00 2001 From: "Hans J. Johnson" Date: Mon, 10 Nov 2025 16:04:05 -0600 Subject: [PATCH 3/3] COMP: Update ITKRemoteModuleBuildTestPackageAction to v6.0b01 --- .github/workflows/build-test-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test-package.yml b/.github/workflows/build-test-package.yml index d2967a7..9e3181d 100644 --- a/.github/workflows/build-test-package.yml +++ b/.github/workflows/build-test-package.yml @@ -4,9 +4,9 @@ on: [push,pull_request] jobs: cxx-build-workflow: - uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v5.4.2 + uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v6.0b01 python-build-workflow: - uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@v5.4.2 + uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@v6.0b01 secrets: pypi_password: ${{ secrets.pypi_password }}