Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Update pre-commit hooks #1

Closed
wants to merge 1 commit into from

Conversation

slicer-app-test[bot]
Copy link

@slicer-app-test slicer-app-test bot commented Mar 18, 2024

updates:
- [pre-commit/pre-commit-hooks: v4.4.0 -> v4.5](pre-commit/pre-commit-hooks@v4.4.0...v4.5)
- [astral-sh/ruff-pre-commit: v0.1.3 -> v0.3](pre-commit/ruff-pre-commit@v0.1.3...v0.3)
- [asottile/pyupgrade: v3.2.2 -> v3.15](pre-commit/pyupgrade@v3.2.2...v3.15)
@jcfr jcfr closed this Apr 11, 2024
jcfr added a commit that referenced this pull request Jul 3, 2024
List of ITK changes:

```
$ git shortlog --group=author --group=trailer:co-authored-by aacaefd63..e18566d53 --no-merges
Matt McCormick (2):
      [Backport] BUG: Update HDF5 name mangled symbols
      [Backport] DOC: Improve itk_hdf5_mangle.h.in instructions
```

This is expected to address errors like the following reported when
importing itk python package from a Linux Preview build of Slicer:

```
Thread 1 "SlicerApp-real" received signal SIGSEGV, Segmentation fault.
0x00007f34d7a3d58f in H5::Exception::~Exception() ()
   from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/bin/../lib/Slicer-5.7/libitkhdf5_cpp-shared-5.4.so.1
(gdb) where
#0  0x00007f34d7a3d58f in H5::Exception::~Exception() ()
   from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/bin/../lib/Slicer-5.7/libitkhdf5_cpp-shared-5.4.so.1
#1  0x00007f34fc8fdaff in ?? ()
   from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/bin/../lib/Slicer-5.7/libITKCommon-5.4.so.1
Slicer#2  0x00007f30deed443c in itk::HDF5TransformIOTemplate<double>::Read() ()
   from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/lib/Python/lib/python3.9/site-packages/itk/_ITKIOTransformHDF5Python.so
Slicer#3  0x00007f30e50787a3 in itk::TransformFileReaderTemplate<double>::Update() ()
   from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/lib/Python/lib/python3.9/site-packages/itk/_ITKIOTransformBasePython.so
Slicer#4  0x00007f30e504c7cc in ?? ()
   from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/lib/Python/lib/python3.9/site-packages/itk/_ITKIOTransformBasePython.so
Slicer#5  0x00007f34ecb02cf3 in ?? () from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/bin/../lib/Python/lib/libpython3.9.so
Slicer#6  0x00007f34eca76597 in ?? () from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/bin/../lib/Python/lib/libpython3.9.so
Slicer#7  0x00007f34eca7d070 in _PyEval_EvalFrameDefault ()
```
jcfr added a commit that referenced this pull request Aug 19, 2024
List of ITK changes:

```
$ git shortlog --group=author --group=trailer:co-authored-by aacaefd63..e18566d53 --no-merges
Matt McCormick (2):
      [Backport] BUG: Update HDF5 name mangled symbols
      [Backport] DOC: Improve itk_hdf5_mangle.h.in instructions
```

This is expected to address errors like the following reported when
importing itk python package from a Linux Preview build of Slicer:

```
Thread 1 "SlicerApp-real" received signal SIGSEGV, Segmentation fault.
0x00007f34d7a3d58f in H5::Exception::~Exception() ()
   from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/bin/../lib/Slicer-5.7/libitkhdf5_cpp-shared-5.4.so.1
(gdb) where
#0  0x00007f34d7a3d58f in H5::Exception::~Exception() ()
   from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/bin/../lib/Slicer-5.7/libitkhdf5_cpp-shared-5.4.so.1
#1  0x00007f34fc8fdaff in ?? ()
   from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/bin/../lib/Slicer-5.7/libITKCommon-5.4.so.1
Slicer#2  0x00007f30deed443c in itk::HDF5TransformIOTemplate<double>::Read() ()
   from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/lib/Python/lib/python3.9/site-packages/itk/_ITKIOTransformHDF5Python.so
Slicer#3  0x00007f30e50787a3 in itk::TransformFileReaderTemplate<double>::Update() ()
   from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/lib/Python/lib/python3.9/site-packages/itk/_ITKIOTransformBasePython.so
Slicer#4  0x00007f30e504c7cc in ?? ()
   from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/lib/Python/lib/python3.9/site-packages/itk/_ITKIOTransformBasePython.so
Slicer#5  0x00007f34ecb02cf3 in ?? () from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/bin/../lib/Python/lib/libpython3.9.so
Slicer#6  0x00007f34eca76597 in ?? () from /path/to/Slicer-5.7.0-2024-06-04-linux-amd64/bin/../lib/Python/lib/libpython3.9.so
Slicer#7  0x00007f34eca7d070 in _PyEval_EvalFrameDefault ()
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant