From 35f2edf661ed39267d2acf8a495481207e9741c3 Mon Sep 17 00:00:00 2001 From: Hans Johnson Date: Tue, 11 Nov 2025 17:09:39 -0600 Subject: [PATCH] COMP: Update CI best practices and Python 3.10+ - Update ITKRemoteModuleBuildTestPackageAction to v5.4.6 - Update clang-format linter from @master to @main - Update actions/checkout to v5 - Update minimum Python from 3.9 to 3.10 --- .github/workflows/build-test-package.yml | 4 ++-- .github/workflows/clang-format-linter.yml | 9 ++++----- pyproject.toml | 7 ++++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-test-package.yml b/.github/workflows/build-test-package.yml index 19b97f5..4f5f9b9 100644 --- a/.github/workflows/build-test-package.yml +++ b/.github/workflows/build-test-package.yml @@ -5,10 +5,10 @@ on: [push,pull_request] jobs: cxx-build-workflow: - uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v5.4.0 + 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.0 + uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@v5.4.6 with: test-notebooks: false secrets: diff --git a/.github/workflows/clang-format-linter.yml b/.github/workflows/clang-format-linter.yml index 236a2ef..7d1df4f 100644 --- a/.github/workflows/clang-format-linter.yml +++ b/.github/workflows/clang-format-linter.yml @@ -7,9 +7,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - with: - fetch-depth: 1 - - uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master + - uses: actions/checkout@v5 + + - uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@main with: - itk-branch: master + itk-branch: main diff --git a/pyproject.toml b/pyproject.toml index bd83587..2848e95 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build" [project] name = "itk-phasesymmetry" -version = "2.0.0" +version = "2.0.1" description = "itk-phasesymmetry provides multi-scale steerable filters " readme = "README.rst" license = {file = "LICENSE"} @@ -13,6 +13,7 @@ authors = [ ] keywords = [ "itk", + "InsightToolkit", ] classifiers = [ "Development Status :: 4 - Beta", @@ -33,7 +34,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Medical Science Apps.", "Topic :: Software Development :: Libraries", ] -requires-python = ">=3.8" +requires-python = ">=3.10" dependencies = [ "itk == 5.4.*", ] @@ -46,7 +47,7 @@ Homepage = "https://github.com/KitwareMedical/ITKPhaseSymmetry" # 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``.