You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could we get a 5.4.8 release tag in the coming weeks?
I am looking to do a patch release of SimpleITK in-part to support Python 3.15. There are some very useful bug fixes in the release-5.4 branch that would be good to incorporate. It is much preferred to do a SimpleITK release against an ITK tag than a hash.
The proposal looks good. Just double check the patches on third-party libraries by verifying the vendored version in release matches what was in main brach where the patch was done.
The ITKPythonPackaging is hopefully independent of the main ITK repository. #6891 looks like a larger effort needing more time and testing before it'd be ready for back porting to the release-5.4 branch. Hopefully, ITK Python will be able to be packaged the same way as the prior patch release.
I am looking to do a patch release of SimpleITK with changed in the release-5.4 branch.
I have run into a failure in SimpleITK with the release-5.4 branch related to concurrent IO I am investigating this morning. I am suspicious of cf983db, but was not easily able to reproduce locally as easily as it started to fail in GHA.
There has been some isolation of this behavior through ITK versions (documented in the linked issue), there is a needed decision with of a trade off between "correct" behavior and stable incorrect behavior that needs to be made.
In our synthetic axial reproduction, read in the default GetGDCMSeriesFileNames order, negative SpacingBetweenSlices (0018,0088) leaves the voxel planes in ascending ImagePositionPatient order but gives direction[2,2] = -1: reported physical z positions decrease while the IPP values increase. SimpleITK 2.5.6 (ITK 5.4) produces this result; SimpleITK 2.3.1 (ITK 5.3) and development build 3.0.0b1.post230 (ITK 6.0) give +1. The full tested-version matrix is at SimpleITK/SimpleITK#2292 (comment). We tested SimpleITK builds, not ITK directly; we have not built or tested ITK release-5.4 with #5357 applied.
As checked on 2026-10-03 at 16:37 UTC, release-5.4 (b3abd15) lacks the direction-sign correction in itkImageSeriesReader.hxx. We found no backport PR or 5.4.8 tag; PyPI's latest stable SimpleITK is still 2.5.6.
We understand the decision to exclude behavior changes from 5.4.8. For consideration: with ForceOrthogonalDirection enabled, #5357 flips the slice-axis direction column only when its dot product with the first-to-last slice position vector is negative. The new code leaves an already consistent direction column unchanged. For our affected axial input, the corrected development-build result matches the ITK 5.3-based SimpleITK build; we are not attributing the 5.3/5.4 difference to a regression in itkImageSeriesReader.hxx. Code compensating for the existing 5.4 result could be affected, so the backport decision remains yours.
The library-code change is confined to ImageSeriesReader::GenerateOutputInformation(). Its new GTests would need integration or adaptation: the current release-5.4 GDCM test CMake file has no GoogleTest driver.
If a backport is inappropriate, a known-issue note in the ITK 5.4.8 and/or SimpleITK 2.5.x release notes would help. ForceOrthogonalDirectionOff() corrects our axial case in SimpleITK 2.5.6; we have not validated it for other orientations. We would be glad to run the synthetic reproduction against a backport build: https://gist.github.com/zhurong2020/563f974baaf33c30f910f98c4d06ebad
Activity
dzenanz commentedon Sep 11, 2026
I am in favor of this. I especially want PR #6856 in it.
hjmjohnson commentedon Sep 16, 2026
In preparation for 5.4.8, these recent
mainfixes will be tried as backports. Please reply with any that should NOT be attempted before the 5.4.8 tag.Updated after @dzenanz's review: behavior changes are excluded from the patch release.
To be tried for backporting
/Zc:__cplusplusto SWIG wrappers with MSVCSetDatainvoked with wrong parameter typesNot to be backported (behavior changes)
np.int64toitk.int64_tinstead ofitk.SLinitialize_c_types_onceordering (UI/UL/ULL/SLL)Considered but not proposed
NumericLocaleAPI, so it is not suitable for 5.4.x.COMP:changes onmaintarget v6 (VtkGlue abi3, Python 3.11 minimum, warning fixes, and pins).blowekamp commentedon Sep 16, 2026
The proposal looks good. Just double check the patches on third-party libraries by verifying the vendored version in release matches what was in main brach where the patch was done.
dzenanz commentedon Sep 16, 2026
#6771 is a behavior change. I am not sure whether we should do that in a patch release. Same reservation holds for all tier 2 PRs.
blowekamp commentedon Sep 25, 2026
I am going to work on #6904 to see if it can be back ported too.
blowekamp commentedon Sep 29, 2026
@hjmjohnson @thewtex @dzenanz Any remaining items before the patch tag is made?
dzenanz commentedon Sep 29, 2026
Maybe InsightSoftwareConsortium/ITKPythonPackage#309 and/or #6891?
blowekamp commentedon Sep 29, 2026
The ITKPythonPackaging is hopefully independent of the main ITK repository. #6891 looks like a larger effort needing more time and testing before it'd be ready for back porting to the release-5.4 branch. Hopefully, ITK Python will be able to be packaged the same way as the prior patch release.
I am looking to do a patch release of SimpleITK with changed in the release-5.4 branch.
dzenanz commentedon Sep 29, 2026
You are absolutely right. I confused 6.0RC1 with 5.4.8 😕
blowekamp commentedon Sep 29, 2026
An RC is needed too! But for that ensuring python packaging is a requirement. Is there already an issue with a burn down chart/list?
dzenanz commentedon Sep 29, 2026
That is complete. I guess all that's left is for someone to go through the release checklist.
dzenanz commentedon Sep 29, 2026
Possibly the checklist variant for 5.4 branch.
thewtex commentedon Sep 30, 2026
I created #6920 to track progress.
Are there any other patches needed?
blowekamp commentedon Sep 30, 2026
I have run into a failure in SimpleITK with the release-5.4 branch related to concurrent IO I am investigating this morning. I am suspicious of cf983db, but was not easily able to reproduce locally as easily as it started to fail in GHA.
blowekamp commentedon Oct 3, 2026
In SimpleITK/SimpleITK#2292 there is a nice request for back port of #5357.
There has been some isolation of this behavior through ITK versions (documented in the linked issue), there is a needed decision with of a trade off between "correct" behavior and stable incorrect behavior that needs to be made.
EDIT: corrected ITK PR number.
dzenanz commentedon Oct 3, 2026
Are you sure you meant 2292? It is about updating KWSys.
zhurong2020 commentedon Oct 3, 2026
Hi @blowekamp and @dzenanz,
Following up on SimpleITK/SimpleITK#2292 (comment), here is our request for this release discussion.
@dzenanz, the bug report is SimpleITK/SimpleITK#2292 and the merged ITK fix is #5357. Bradley's comment now also has the corrected PR number.
In our synthetic axial reproduction, read in the default
GetGDCMSeriesFileNamesorder, negative SpacingBetweenSlices (0018,0088) leaves the voxel planes in ascending ImagePositionPatient order but gives direction[2,2] = -1: reported physical z positions decrease while the IPP values increase. SimpleITK 2.5.6 (ITK 5.4) produces this result; SimpleITK 2.3.1 (ITK 5.3) and development build 3.0.0b1.post230 (ITK 6.0) give +1. The full tested-version matrix is at SimpleITK/SimpleITK#2292 (comment). We tested SimpleITK builds, not ITK directly; we have not built or tested ITKrelease-5.4with #5357 applied.As checked on 2026-10-03 at 16:37 UTC,
release-5.4(b3abd15) lacks the direction-sign correction initkImageSeriesReader.hxx. We found no backport PR or 5.4.8 tag; PyPI's latest stable SimpleITK is still 2.5.6.We understand the decision to exclude behavior changes from 5.4.8. For consideration: with
ForceOrthogonalDirectionenabled, #5357 flips the slice-axis direction column only when its dot product with the first-to-last slice position vector is negative. The new code leaves an already consistent direction column unchanged. For our affected axial input, the corrected development-build result matches the ITK 5.3-based SimpleITK build; we are not attributing the 5.3/5.4 difference to a regression initkImageSeriesReader.hxx. Code compensating for the existing 5.4 result could be affected, so the backport decision remains yours.The library-code change is confined to
ImageSeriesReader::GenerateOutputInformation(). Its new GTests would need integration or adaptation: the currentrelease-5.4GDCM test CMake file has no GoogleTest driver.If a backport is inappropriate, a known-issue note in the ITK 5.4.8 and/or SimpleITK 2.5.x release notes would help.
ForceOrthogonalDirectionOff()corrects our axial case in SimpleITK 2.5.6; we have not validated it for other orientations. We would be glad to run the synthetic reproduction against a backport build:https://gist.github.com/zhurong2020/563f974baaf33c30f910f98c4d06ebad
Thank you.
blowekamp commentedon Oct 7, 2026
The PR for the back port is here: #6930
blowekamp commentedon Oct 15, 2026
Tracking of progress of the 5.4.8 tag is done here: #6920