Skip to content

Commit 8cfe2ad

Browse files
authored
Merge pull request #295 from thewtex/itk-6.0-b1
ITK 6.0 Beta 1
2 parents 4d07821 + 768205d commit 8cfe2ad

9 files changed

+24
-32
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ if(ITKPythonPackage_SUPERBUILD)
9494

9595
set(ITK_REPOSITORY "https://github.com/InsightSoftwareConsortium/ITK.git")
9696

97-
# master branch, 2024-11-13
98-
set(ITK_GIT_TAG "v6.0a01")
97+
# main branch, 2025-09-08
98+
set(ITK_GIT_TAG "b591e1d5e186516bb929d2d19b78bafa1f79f8d0")
9999

100100
#-----------------------------------------------------------------------------
101101
# A separate project is used to download ITK, so that it can reused
@@ -120,8 +120,8 @@ if(ITKPythonPackage_SUPERBUILD)
120120
endif()
121121

122122
ExternalProject_add(oneTBB
123-
URL https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.9.0.tar.gz
124-
URL_HASH SHA256=1ce48f34dada7837f510735ff1172f6e2c261b09460e3bf773b49791d247d24e
123+
URL https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2022.2.0.tar.gz
124+
URL_HASH SHA256=f0f78001c8c8edb4bddc3d4c5ee7428d56ae313254158ad1eec49eced57f6a5b
125125
CMAKE_ARGS
126126
-DTBB_TEST:BOOL=OFF
127127
-DCMAKE_BUILD_TYPE:STRING=Release

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ documentation for more information on building wheels by hand.
8585
ITKPythonPackage currently supports building wheels for the following platforms and architectures:
8686
- Windows 10 x86_64 platforms
8787
- Windows 11 x86_64 platforms
88-
- MacOS 10.9+ x86_64 platforms
89-
- MacOS 11.0+ arm64 platforms
88+
- MacOS 15.0+ arm64 platforms
9089
- Linux glibc 2.17+ (E.g. Ubuntu 18.04+) x86_64 platforms
9190
- Linux glibc 2.28+ (E.g. Ubuntu 20.04+) aarch64 (ARMv8) platforms
9291

itkVersion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = '6.0a1'
1+
VERSION = '6.0b1'
22

33
def get_versions():
44
"""Returns versions for the ITK Python package.

scripts/dockcross-manylinux-build-tarball.sh

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,9 @@
44
# downloaded by the external module build scripts and used to build their
55
# Python package on GitHub CI services.
66

7-
if test -d /home/kitware/Packaging; then
8-
cd /home/kitware/Packaging
9-
fi
10-
117
# -----------------------------------------------------------------------
128

139
zstd_exe=`(which zstd)`
14-
if [[ -z ${zstd_exe} && -e /home/kitware/Support/zstd-build/programs/zstd ]]; then
15-
zstd_exe=/home/kitware/Support/zstd-build/programs/zstd
16-
fi
1710

1811
# Find an appropriately versioned zstd.
1912
#
@@ -38,11 +31,11 @@ fi
3831

3932
# -----------------------------------------------------------------------
4033

41-
tar -c --to-stdout \
34+
tar -cf ITKPythonBuilds-linux.tar \
4235
ITKPythonPackage/ITK-* \
4336
ITKPythonPackage/oneTBB* \
4437
ITKPythonPackage/requirements-dev.txt \
45-
ITKPythonPackage/scripts > ITKPythonBuilds-linux.tar
38+
ITKPythonPackage/scripts
4639
$zstd_exe -f \
4740
-10 \
4841
-T6 \

scripts/dockcross-manylinux-build-wheels.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
# scripts/dockcross-manylinux-build-wheels.sh cp39
99
#
10-
# A specialized manylinux image and tag can be used by exporting to
10+
# A specialized manylinux image and tag can be used by exporting to
1111
# MANYLINUX_VERSION and IMAGE_TAG before running this script.
1212
# See https://github.com/dockcross/dockcross for available versions and tags.
1313
#
@@ -25,7 +25,7 @@ oci_exe=$(ociExe)
2525
MANYLINUX_VERSION=${MANYLINUX_VERSION:=_2_28}
2626

2727
if [[ ${MANYLINUX_VERSION} == _2_28 ]]; then
28-
IMAGE_TAG=${IMAGE_TAG:=20240304-9e57d2b}
28+
IMAGE_TAG=${IMAGE_TAG:=20250913-6ea98ba}
2929
elif [[ ${MANYLINUX_VERSION} == 2014 ]]; then
3030
IMAGE_TAG=${IMAGE_TAG:=20240304-9e57d2b}
3131
else

scripts/dockcross-manylinux-set-vars.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919

2020
# ITKPythonBuilds archive tag to use for ITK build artifacts.
2121
# See https://github.com/insightSoftwareConsortium/ITKpythonbuilds for available tags.
22-
ITK_PACKAGE_VERSION=${ITK_PACKAGE_VERSION:=v5.4.0}
22+
ITK_PACKAGE_VERSION=${ITK_PACKAGE_VERSION:=v6.0b01}
2323

2424
# Github organization for fetching ITKPythonPackage build scripts
2525
ITKPYTHONPACKAGE_ORG=${ITKPYTHONPACKAGE_ORG:=InsightSoftwareConsortium}
2626

2727
# ITKPythonPackage tag for fetching build scripts
28-
ITKPYTHONPACKAGE_TAG=${ITKPYTHONPACKAGE_TAG:=master}
28+
ITKPYTHONPACKAGE_TAG=${ITKPYTHONPACKAGE_TAG:=main}
2929

3030
########################################################################
3131
# Docker image parameters
@@ -39,9 +39,9 @@ TARGET_ARCH=${TARGET_ARCH:=x64}
3939

4040
# Specialized manylinux image tag to use for building.
4141
if [[ ${MANYLINUX_VERSION} == _2_28 && ${TARGET_ARCH} == x64 ]]; then
42-
IMAGE_TAG=${IMAGE_TAG:=20240304-9e57d2b}
42+
IMAGE_TAG=${IMAGE_TAG:=20250913-6ea98ba}
4343
elif [[ ${MANYLINUX_VERSION} == _2_28 && ${TARGET_ARCH} == aarch64 ]]; then
44-
IMAGE_TAG=${IMAGE_TAG:=2024-03-25-9206bd9}
44+
IMAGE_TAG=${IMAGE_TAG:=2025.08.12-1}
4545
elif [[ ${MANYLINUX_VERSION} == 2014 ]]; then
4646
IMAGE_TAG=${IMAGE_TAG:=20240304-9e57d2b}
4747
else

scripts/macpython-build-module-wheels.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@ for VENV in "${VENVS[@]}"; do
9595
fi
9696

9797
if [[ $(arch) == "arm64" ]]; then
98-
plat_name="macosx-11.0-arm64"
99-
osx_target="11.0"
98+
plat_name="macosx-15.0-arm64"
99+
osx_target="15.0"
100100
osx_arch="arm64"
101101
build_path="${SCRIPT_DIR}/../ITK-${py_mm}-macosx_arm64"
102102
else
103-
plat_name="macosx-10.9-x86_64"
104-
osx_target="10.9"
103+
plat_name="macosx-15.0-x86_64"
104+
osx_target="15.0"
105105
osx_arch="x86_64"
106106
build_path="${SCRIPT_DIR}/../ITK-${py_mm}-macosx_x86_64"
107107
fi

scripts/macpython-build-wheels.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ DELOCATE_PATCH=${VENV}/bin/delocate-patch
6363
build_type="Release"
6464

6565
if [[ $(arch) == "arm64" ]]; then
66-
osx_target="11.0"
66+
osx_target="15.0"
6767
osx_arch="arm64"
6868
use_tbb="OFF"
6969
else
70-
osx_target="10.9"
70+
osx_target="15.0"
7171
osx_arch="x86_64"
7272
use_tbb="OFF"
7373
fi
@@ -107,10 +107,10 @@ for VENV in "${VENVS[@]}"; do
107107
${Python3_EXECUTABLE} -m pip install --upgrade -r ${SCRIPT_DIR}/../requirements-dev.txt
108108

109109
if [[ $(arch) == "arm64" ]]; then
110-
plat_name="macosx-11.0-arm64"
110+
plat_name="macosx-15.0-arm64"
111111
build_path="${SCRIPT_DIR}/../ITK-${py_mm}-macosx_arm64"
112112
else
113-
plat_name="macosx-10.9-x86_64"
113+
plat_name="macosx-15.0-x86_64"
114114
build_path="${SCRIPT_DIR}/../ITK-${py_mm}-macosx_x86_64"
115115
fi
116116
if [[ ! -z "${MACOSX_DEPLOYMENT_TARGET}" ]]; then

scripts/macpython-delocate-wheels.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ DELOCATE_PATCH=${VENV}/bin/delocate-patch
5353
build_type="Release"
5454

5555
if [[ $(arch) == "arm64" ]]; then
56-
osx_target="11.0"
56+
osx_target="15.0"
5757
osx_arch="arm64"
5858
use_tbb="OFF"
5959
else
60-
osx_target="10.9"
60+
osx_target="15.0"
6161
osx_arch="x86_64"
6262
use_tbb="OFF"
6363
fi

0 commit comments

Comments
 (0)