[med-svn] [Git][med-team/pydicom][master] Update changelog for 3.0.2-4 release
Karsten Schöke (@karso)
gitlab at salsa.debian.org
Mon Aug 24 17:48:10 BST 2026
Karsten Schöke pushed to branch master at Debian Med / pydicom
Commits:
50f47dc6 by Karsten Schöke at 2026-08-24T18:14:52+02:00
Update changelog for 3.0.2-4 release
- - - - -
2 changed files:
- debian/changelog
- debian/patches/fix-fileset-uid-property-annotation.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+pydicom (3.0.2-4) unstable; urgency=medium
+
+ * Team upload.
+ * insert fix-fileset-uid-property-annotation.patch to try fix FTBT again.
+
+ -- Karsten Schöke <karsten.schoeke at geobasis-bb.de> Mon, 24 Aug 2026 15:13:30 +0200
+
pydicom (3.0.2-3) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/fix-fileset-uid-property-annotation.patch
=====================================
@@ -1,10 +1,19 @@
From: =?utf-8?q?Karsten_Sch=C3=B6ke?= <karsten.schoeke at geobasis-bb.de>
-Date: Mon, 24 Aug 2026 12:59:03 +0200
-Subject: fix-fileset-uid-property-annotation
+Date: Mon, 24 Aug 2026 16:37:39 +0200
+Subject: fix-fileset-uid-property-annotation with Python 3.14
+Python 3.14 may resolve the UID annotation of a property named UID to
+the property object itself. This causes Sphinx autodoc to include the
+property object's memory address in the generated documentation,
+resulting in architecture-dependent documentation and FTBR failures.
+Use an explicitly qualified UID type for the affected UID properties
+in FileSet and CoderBase to avoid the name collision.
+
+Forwarded: https://github.com/pydicom/pydicom/issues/2357
---
- src/pydicom/fileset.py | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
+ src/pydicom/fileset.py | 6 +++---
+ src/pydicom/pixels/common.py | 3 ++-
+ 2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/pydicom/fileset.py b/src/pydicom/fileset.py
index 01ad5e9..f6fb3a7 100644
@@ -26,3 +35,24 @@ index 01ad5e9..f6fb3a7 100644
"""Set the File-set UID.
Parameters
+diff --git a/src/pydicom/pixels/common.py b/src/pydicom/pixels/common.py
+index 10a4a93..c403401 100644
+--- a/src/pydicom/pixels/common.py
++++ b/src/pydicom/pixels/common.py
+@@ -7,6 +7,7 @@ from typing import TYPE_CHECKING, Any, TypedDict
+
+ from pydicom.misc import warn_and_log
+ from pydicom.pixels.utils import as_pixel_options
++import pydicom.uid as sop
+ from pydicom.uid import UID
+
+ if TYPE_CHECKING: # pragma: no cover
+@@ -194,7 +195,7 @@ class CoderBase:
+ raise ValueError(f"Unable to remove '{label}', no such plugin'")
+
+ @property
+- def UID(self) -> UID:
++ def UID(self) -> sop.UID:
+ """Return the corresponding *Transfer Syntax UID* as :class:`~pydicom.uid.UID`."""
+ return self._uid
+
View it on GitLab: https://salsa.debian.org/med-team/pydicom/-/commit/50f47dc6887293e4e78476923e1acae0b99ab5b0
--
View it on GitLab: https://salsa.debian.org/med-team/pydicom/-/commit/50f47dc6887293e4e78476923e1acae0b99ab5b0
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/20260824/38b32da0/attachment-0001.htm>
More information about the debian-med-commit
mailing list