Étienne Mollier pushed to branch master at Debian Med / pydicom
Commits: 58b37a8e by Étienne Mollier at 2025-04-14T23:26:58+02:00 skip-i386-incapable-tests.patch: new patch. This works around test failures on 32-bit platforms. Closes: #1103137 - - - - - 194fab80 by Étienne Mollier at 2025-04-14T23:29:17+02:00 d/patches/*: normalize Last-Update timestamps. - - - - - a7b60311 by Étienne Mollier at 2025-04-14T23:30:08+02:00 d/control: declare compliance to standards version 4.7.2. - - - - - eb63427f by Étienne Mollier at 2025-04-14T23:30:59+02:00 d/changelog: ready for upload to unstable. - - - - - 7 changed files: - debian/changelog - debian/control - debian/patches/ignore_tests_downloading_data.patch - debian/patches/ignore_tests_with_wrong_gdcm_usage.patch - debian/patches/series - + debian/patches/skip-i386-incapable-tests.patch - debian/patches/sphinx_no_git.patch Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,13 @@ +pydicom (2.4.3-2) unstable; urgency=medium + + * Team upload. + * skip-i386-incapable-tests.patch: new patch. + This works around test failures on 32-bit platforms. (Closes: #1103137) + * d/patches/*: normalize Last-Update timestamps. + * d/control: declare compliance to standards version 4.7.2. + + -- Étienne Mollier <[email protected]> Mon, 14 Apr 2025 23:30:28 +0200 + pydicom (2.4.3-1) unstable; urgency=medium [ Andreas Tille ] ===================================== debian/control ===================================== @@ -28,7 +28,7 @@ Build-Depends: debhelper-compat (= 13), texlive-latex-base, texlive-latex-extra, dvipng, -Standards-Version: 4.6.2 +Standards-Version: 4.7.2 Vcs-Browser: https://salsa.debian.org/med-team/pydicom Vcs-Git: https://salsa.debian.org/med-team/pydicom.git Homepage: https://pydicom.github.io ===================================== debian/patches/ignore_tests_downloading_data.patch ===================================== @@ -1,5 +1,5 @@ Author: Andreas Tille <[email protected]> -Last-Update: Wed, 08 Dec 2021 08:55:10 +0100 +Last-Update: 2021-12-08 Description: Several data files need to be downloaded which is not possible at package build time Thus the downloading and the according tests are removed here ===================================== debian/patches/ignore_tests_with_wrong_gdcm_usage.patch ===================================== @@ -1,5 +1,5 @@ Author: Andreas Tille <[email protected]> -Last-Update: Wed, 08 Dec 2021 08:55:10 +0100 +Last-Update: 2021-12-08 Description: Ignore test due to wrong gdcm usage. See https://lists.debian.org/debian-med/2021/12/msg00061.html ===================================== debian/patches/series ===================================== @@ -2,3 +2,4 @@ deb_no_unicode ignore_tests_downloading_data.patch ignore_tests_with_wrong_gdcm_usage.patch sphinx_no_git.patch +skip-i386-incapable-tests.patch ===================================== debian/patches/skip-i386-incapable-tests.patch ===================================== @@ -0,0 +1,32 @@ +Description: skip tests impoosible to run on 32-bit architectures. + This patch prevents running into the following errors by stopping the + test just before the error condition: + . + > assert 36**6 + 1 == len(fs) + E OverflowError: cannot fit 'int' into an index-sized integer +Author: Étienne Mollier <[email protected]> +Bug-Debian: https://bugs.debian.org/1103137 +Forwarded: no +Last-Update: 2025-04-14 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- pydicom.orig/pydicom/tests/test_fileset.py ++++ pydicom/pydicom/tests/test_fileset.py +@@ -2246,6 +2246,8 @@ + + FileSet.__len__ = my_len + fs = FileSet(ds) ++ if sys.maxsize <= 2 ** 32 + 1: ++ return + assert 36**6 + 1 == len(fs) + msg = ( + r"pydicom doesn't support writing File-sets with more than " +@@ -2577,6 +2579,8 @@ + + FileSet.__len__ = my_len + fs = FileSet(tiny) ++ if sys.maxsize <= 2 ** 32 + 1: ++ return + assert 36**6 + 1 == len(fs) + msg = ( + r"pydicom doesn't support writing File-sets with more than " ===================================== debian/patches/sphinx_no_git.patch ===================================== @@ -1,5 +1,5 @@ Author: Andreas Tille <[email protected]> -Last-Update: Thu, 07 Dec 2023 18:14:17 +0100 +Last-Update: 2023-12-07 Description: We are not in a Git repository thus prevent sphinx from assuming we are Forwarded: Not needed View it on GitLab: https://salsa.debian.org/med-team/pydicom/-/compare/590d8dfe91cd0c26d957689d2d154402f01b8ffd...eb63427fafd27c54fd071ec993478a8789b958bb -- View it on GitLab: https://salsa.debian.org/med-team/pydicom/-/compare/590d8dfe91cd0c26d957689d2d154402f01b8ffd...eb63427fafd27c54fd071ec993478a8789b958bb You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
