[Debian-med-packaging] Bug#1140574: Missing python3-pint module makes package unusable
Max Gilmour
max.gilmour at canonical.com
Tue Jun 23 00:02:45 BST 2026
Source: dcmstack
Version: 0.9+git20260610.ed4d27c-1
Severity: grave
Tags: patch
Dear Maintainer,
The latest version of dcmstack is not usable because it does not include
python3-pint as a runtime dependency:
$ python3 -c "import dcmstack"
Traceback (most recent call last):
File "<string>", line 1, in <module>
import dcmstack
File "/usr/lib/python3/dist-packages/dcmstack/__init__.py", line 7, in
<module>
from .dcmstack import *
File "/usr/lib/python3/dist-packages/dcmstack/dcmstack.py", line 30, in
<module>
from . import snd
File "/usr/lib/python3/dist-packages/dcmstack/snd.py", line 7, in <module>
import pint
ModuleNotFoundError: No module named 'pint'
I have attached a patch which will fix this problem by simply adding
python3-pint to the Depends: list in d/control. I have tested the above
command with my changed version and importing dcmstack works without issue.
Best wishes,
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20260622/104e2af6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-python3-pint-runtime-dependency.patch
Type: text/x-patch
Size: 716 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20260622/104e2af6/attachment.bin>
More information about the Debian-med-packaging
mailing list