[med-svn] [Git][med-team/dcmstack][master] 3 commits: Missing dependency added.
Karsten Schöke (@karso)
gitlab at salsa.debian.org
Wed Jun 24 13:08:21 BST 2026
Karsten Schöke pushed to branch master at Debian Med / dcmstack
Commits:
4bfc304b by Karsten Schöke at 2026-06-24T13:19:55+02:00
Missing dependency added.
- - - - -
feb06b53 by Karsten Schöke at 2026-06-24T13:53:50+02:00
insert fix-Python-invalid-escape-sequence-warning.patch
- - - - -
c5771d07 by Karsten Schöke at 2026-06-24T14:01:15+02:00
Update changelog for 0.9+git20260610.ed4d27c-2 release
- - - - -
5 changed files:
- debian/changelog
- debian/control
- + debian/patches/fix-Python-invalid-escape-sequence-warning.patch
- debian/patches/fix-typo-in-modulimport.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+dcmstack (0.9+git20260610.ed4d27c-2) unstable; urgency=medium
+
+ * Team upload.
+ * Missing dependency added.
+ Closes: #1140574
+ * insert fix-Python-invalid-escape-sequence-warning.patch
+
+ -- Karsten Schöke <karsten.schoeke at geobasis-bb.de> Wed, 24 Jun 2026 14:00:59 +0200
+
dcmstack (0.9+git20260610.ed4d27c-1) unstable; urgency=medium
* Team upload.
=====================================
debian/control
=====================================
@@ -30,6 +30,7 @@ Depends:
python3-dicom,
python3-nibabel,
python3-numpy,
+ python3-pint,
${misc:Depends},
${python3:Depends},
${sphinxdoc:Depends},
=====================================
debian/patches/fix-Python-invalid-escape-sequence-warning.patch
=====================================
@@ -0,0 +1,28 @@
+From: =?utf-8?q?Karsten_Sch=C3=B6ke?= <karsten.schoeke at geobasis-bb.de>
+Date: Wed, 24 Jun 2026 13:44:12 +0200
+Subject: fix Python invalid escape sequence warning
+Use a raw string for the DT parsing regular expression.
+
+Python 3.12+ emits a SyntaxWarning for invalid escape sequences
+such as '\.' in regular string literals. The regular expression
+semantics are unchanged; this change only removes the warning and
+improves compatibility with newer Python versions.
+
+Forwarded: not-needed
+---
+ src/dcmstack/convert.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/dcmstack/convert.py b/src/dcmstack/convert.py
+index 121f8bd..14d24b7 100644
+--- a/src/dcmstack/convert.py
++++ b/src/dcmstack/convert.py
+@@ -49,7 +49,7 @@ def dt_to_datetime(dt_str):
+ dt_str : str
+ The DICOM datetime value string
+ '''
+- dt_str, suffix = re.match("([0-9\.]+)([\+\-][0-9]{4})?", dt_str).groups()
++ dt_str, suffix = re.match(r"([0-9.]+)([+-][0-9]{4})?", dt_str).groups()
+ year = int(dt_str[:4])
+ month = day = 1
+ hour = minute = seconds = microsecs = 0
=====================================
debian/patches/fix-typo-in-modulimport.patch
=====================================
@@ -1,6 +1,7 @@
From: =?utf-8?q?Karsten_Sch=C3=B6ke?= <karsten.schoeke at geobasis-bb.de>
Date: Thu, 11 Jun 2026 19:03:15 +0200
Subject: fix typo in modulimport
+
Forwarded: not-needed
---
doc/conf.py | 2 +-
=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
fix-typo-in-modulimport.patch
+fix-Python-invalid-escape-sequence-warning.patch
View it on GitLab: https://salsa.debian.org/med-team/dcmstack/-/compare/00845e3d4dd2c445df8a9cb711e35819d3aa3480...c5771d074e817225b07a4dc565c2a74b68a6c17c
--
View it on GitLab: https://salsa.debian.org/med-team/dcmstack/-/compare/00845e3d4dd2c445df8a9cb711e35819d3aa3480...c5771d074e817225b07a4dc565c2a74b68a6c17c
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/20260624/a6e86303/attachment-0001.htm>
More information about the debian-med-commit
mailing list