From 4004803761d77800d90c8719debbe99ec9d558df Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Thu, 13 Nov 2025 10:46:35 +0000 Subject: [PATCH 1/3] ENH: Upgrade required Python and CMake version in pyproject.toml ITK no longer produced Python 3.8 packages. CMake 3.22.1 is required since InsightSoftwareConsortium/ITK@2fd36ab3a6871340c1defd5a69dc657a81bb8134. --- {{cookiecutter.project_name}}/pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.project_name}}/pyproject.toml b/{{cookiecutter.project_name}}/pyproject.toml index fbfc6e5..e5f3d71 100644 --- a/{{cookiecutter.project_name}}/pyproject.toml +++ b/{{cookiecutter.project_name}}/pyproject.toml @@ -33,7 +33,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Medical Science Apps.", "Topic :: Software Development :: Libraries", ] -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = [ "itk == 5.4.*", ] @@ -46,7 +46,7 @@ Homepage = "{{ cookiecutter.download_url }}" # The versions of CMake to allow. If CMake is not present on the system or does # not pass this specifier, it will be downloaded via PyPI if possible. An empty # string will disable this check. -cmake.version = ">=3.16.3" +cmake.version = ">=3.22.1" # A list of args to pass to CMake when configuring the project. Setting this in # config or envvar will override toml. See also ``cmake.define``. From 346bdf18ab667af49ffb69e6c412baac5dd693d5 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Thu, 13 Nov 2025 11:03:06 +0000 Subject: [PATCH 2/3] STYLE: Update clang-format to match ITK 2025-11-10 --- .github/workflows/clang-format-linter.yml | 4 ++-- .../.github/workflows/clang-format-linter.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/clang-format-linter.yml b/.github/workflows/clang-format-linter.yml index 306c0ec..65169b0 100644 --- a/.github/workflows/clang-format-linter.yml +++ b/.github/workflows/clang-format-linter.yml @@ -7,6 +7,6 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.2.2 + - uses: actions/checkout@v5 - - uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master + - uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@main diff --git a/{{cookiecutter.project_name}}/.github/workflows/clang-format-linter.yml b/{{cookiecutter.project_name}}/.github/workflows/clang-format-linter.yml index edfc71e..65169b0 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/clang-format-linter.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/clang-format-linter.yml @@ -7,6 +7,6 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master + - uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@main From bcf2ea42b29664e58f456a66e40b3c6d2a985cca Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Thu, 13 Nov 2025 14:59:18 +0000 Subject: [PATCH 3/3] ENH: Upgrade ITK tags to latest v5.4.4(.post1) --- .../.github/workflows/build-test-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.project_name}}/.github/workflows/build-test-package.yml b/{{cookiecutter.project_name}}/.github/workflows/build-test-package.yml index 5b46268..1651a0b 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/build-test-package.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/build-test-package.yml @@ -12,9 +12,9 @@ on: 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@v5.4.4 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@v5.4.4 secrets: pypi_password: ${{ "{{" }} secrets.pypi_password {{ "}}" }}