Skip to content

Commit 6c6952b

Browse files
committed
ENH: Bump default ITK_PACKAGE_VERSION to v5.4.0
1 parent d6fd741 commit 6c6952b

5 files changed

+12
-12
lines changed

scripts/dockcross-manylinux-download-cache-and-build-module-wheels.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# These variables are set with the `export` bash command before calling the script.
1919
# For example,
2020
#
21-
# export ITK_PACKAGE_VERSION="v5.3.0"
21+
# export ITK_PACKAGE_VERSION="v5.4.0"
2222
# scripts/dockcross-manylinux-build-module-wheels.sh cp39
2323
#
2424
# `ITKPYTHONPACKAGE_ORG`: Github organization for fetching ITKPythonPackage build scripts.
@@ -63,8 +63,8 @@ done
6363
# -----------------------------------------------------------------------
6464
# Download and extract cache
6565

66-
echo "Fetching https://raw.githubusercontent.com/${ITKPYTHONPACKAGE_ORG:=InsightSoftwareConsortium}/ITKPythonPackage/${ITKPYTHONPACKAGE_TAG:=v5.3.0}/scripts/dockcross-manylinux-download-cache.sh"
67-
curl -L https://raw.githubusercontent.com/${ITKPYTHONPACKAGE_ORG:=InsightSoftwareConsortium}/ITKPythonPackage/${ITKPYTHONPACKAGE_TAG:=v5.3.0}/scripts/dockcross-manylinux-download-cache.sh -O
66+
echo "Fetching https://raw.githubusercontent.com/${ITKPYTHONPACKAGE_ORG:=InsightSoftwareConsortium}/ITKPythonPackage/${ITKPYTHONPACKAGE_TAG:=v5.4.0}/scripts/dockcross-manylinux-download-cache.sh"
67+
curl -L https://raw.githubusercontent.com/${ITKPYTHONPACKAGE_ORG:=InsightSoftwareConsortium}/ITKPythonPackage/${ITKPYTHONPACKAGE_TAG:=v5.4.0}/scripts/dockcross-manylinux-download-cache.sh -O
6868
chmod u+x dockcross-manylinux-download-cache.sh
6969
./dockcross-manylinux-download-cache.sh $1
7070

scripts/dockcross-manylinux-download-cache.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# ENVIRONMENT VARIABLES
1515
#
1616
# `ITK_PACKAGE_VERSION`: Tag for ITKPythonBuilds build cache to use
17-
# Examples: "v5.3.0", "v5.2.1.post1"
17+
# Examples: "v5.4.0", "v5.2.1.post1"
1818
# See available tags at https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/tags
1919
#
2020
# `MANYLINUX_VERSION`: manylinux specialization used to build ITK for cache
@@ -88,8 +88,8 @@ esac
8888
TARBALL_NAME="ITKPythonBuilds-linux${TARBALL_SPECIALIZATION}.tar"
8989

9090
if [[ ! -f ${TARBALL_NAME}.zst ]]; then
91-
echo "Fetching https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.3.0}/${TARBALL_NAME}.zst"
92-
curl -L https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.3.0}/${TARBALL_NAME}.zst -O
91+
echo "Fetching https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.4.0}/${TARBALL_NAME}.zst"
92+
curl -L https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.4.0}/${TARBALL_NAME}.zst -O
9393
fi
9494
if [[ ! -f ./${TARBALL_NAME}.zst ]]; then
9595
echo "ERROR: can not find required binary './${TARBALL_NAME}.zst'"

scripts/dockcross-manylinux-set-vars.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# if their value is not set with `export` before invocation.
1010
# For example,
1111
#
12-
# export ITK_PACKAGE_VERSION=v5.3.0
12+
# export ITK_PACKAGE_VERSION=v5.4.0
1313
# scripts/dockcross-manylinux-set-vars.sh cp39
1414
#
1515
########################################################################
@@ -19,7 +19,7 @@
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.3.0}
22+
ITK_PACKAGE_VERSION=${ITK_PACKAGE_VERSION:=v5.4.0}
2323

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

scripts/macpython-download-cache-and-build-module-wheels.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#
2626
# `ITK_PACKAGE_VERSION`: ITKPythonBuilds archive tag to use for ITK build artifacts.
2727
# See https://github.com/InsightSoftwareConsortium/ITKPythonBuilds for available tags.
28-
# For instance, `export ITK_PACKAGE_VERSION=v5.3.0`.
28+
# For instance, `export ITK_PACKAGE_VERSION=v5.4.0`.
2929
#
3030
# `ITKPYTHONPACKAGE_ORG`: Github organization for fetching ITKPythonPackage build scripts.
3131
#
@@ -48,9 +48,9 @@ else
4848
tarball_arch=""
4949
fi
5050
# Fetch ITKPythonBuilds archive containing ITK build artifacts
51-
echo "Fetching https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.3.0}/ITKPythonBuilds-macosx${tarball_arch}.tar.zst"
51+
echo "Fetching https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.4.0}/ITKPythonBuilds-macosx${tarball_arch}.tar.zst"
5252
if [[ ! -f ITKPythonBuilds-macosx${tarball_arch}.tar.zst ]]; then
53-
aria2c -c --file-allocation=none -o ITKPythonBuilds-macosx${tarball_arch}.tar.zst -s 10 -x 10 https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.3.0}/ITKPythonBuilds-macosx${tarball_arch}.tar.zst
53+
aria2c -c --file-allocation=none -o ITKPythonBuilds-macosx${tarball_arch}.tar.zst -s 10 -x 10 https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.4.0}/ITKPythonBuilds-macosx${tarball_arch}.tar.zst
5454
fi
5555
unzstd --long=31 ITKPythonBuilds-macosx${tarball_arch}.tar.zst -o ITKPythonBuilds-macosx${tarball_arch}.tar
5656
PATH="$(dirname $(brew list gnu-tar | grep gnubin)):$PATH"

scripts/windows-download-cache-and-build-module-wheels.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ $pythonVersion = "3.$python_version_minor"
5555
echo "Pulling Python $pythonVersion-x$pythonArch"
5656
iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/scikit-build/scikit-ci-addons/master/windows/install-python.ps1'))
5757

58-
if (-not $env:ITK_PACKAGE_VERSION) { $env:ITK_PACKAGE_VERSION = 'v5.3.0' }
58+
if (-not $env:ITK_PACKAGE_VERSION) { $env:ITK_PACKAGE_VERSION = 'v5.4.0' }
5959
echo "Fetching build archive $env:ITK_PACKAGE_VERSION"
6060
if (Test-Path C:\P) {
6161
Remove-Item -Recurse -Force C:\P

0 commit comments

Comments
 (0)