[med-svn] [Git][med-team/nibabel][master] 2 commits: Hopefully finally test issue solved.
Andreas Tille (@tille)
gitlab at salsa.debian.org
Fri Jun 5 09:54:08 BST 2026
Andreas Tille pushed to branch master at Debian Med / nibabel
Commits:
609f0ec3 by Andreas Tille at 2026-06-05T10:43:05+02:00
Hopefully finally test issue solved.
- - - - -
71b82bdc by Andreas Tille at 2026-06-05T10:53:49+02:00
Upload to unstable
- - - - -
2 changed files:
- debian/changelog
- debian/patches/ignore_ordering_failure_in_test_for_i386.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+nibabel (5.4.2-4) unstable; urgency=medium
+
+ * Team upload.
+ * Hopefully finally test issue solved.
+
+ -- Andreas Tille <tille at debian.org> Fri, 05 Jun 2026 10:43:14 +0200
+
nibabel (5.4.2-3) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/ignore_ordering_failure_in_test_for_i386.patch
=====================================
@@ -11,7 +11,7 @@ Description: Ignore one failing test on i386
assert_array_equal(a.shape, np.array(t_arr.shape)[np.array(ornt)[:, 0]])
-
-+import platform
++import struct
def test_io_orientation():
for shape in ((2, 3, 4), (20, 15, 7)):
for in_arr, out_ornt in zip(IN_ARRS, OUT_ORNTS):
@@ -19,7 +19,7 @@ Description: Ignore one failing test on i386
def_aff[1, 1] = eps * 10
assert_array_equal(io_orientation(def_aff, tol=1e-5), fail_tol)
# Test drop of rows, columns
-+ if platform.machine() == 'i386': # floating-point tie-breaking differs on i386 x87 FPU thus ignore the following tests
++ if struct.calcsize('P') == 4: # floating-point tie-breaking differs on i386 x87 FPU thus ignore the following tests simply for all 32bit platforms
+ return
mat, vec = to_matvec(def_aff)
aff_extra_col = np.zeros((4, 5))
View it on GitLab: https://salsa.debian.org/med-team/nibabel/-/compare/52a2c866f8cefcc2e12f4f4f5c1289ae342a0278...71b82bdcce6e08af24b3fe30315b8ee2bc3bcfc6
--
View it on GitLab: https://salsa.debian.org/med-team/nibabel/-/compare/52a2c866f8cefcc2e12f4f4f5c1289ae342a0278...71b82bdcce6e08af24b3fe30315b8ee2bc3bcfc6
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260605/a1c80733/attachment-0001.htm>
More information about the debian-med-commit
mailing list