Bug#1145125: python3-click-man: undeclared dependency ‘python3-pkg-resources’

Alexandre Detiste <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <CADsTwjK2s+uh2Q4iLLFboM_qcQ90n1V=cUvQ_jMBQV4aMRbp2g@mail.gmail.com>
Hi,

Yes indeed both declared & undeclared dependencies on
python3-pkg-resources should be RC-buggy.

I propose to NMU the new version tomorrow.

I had a look at what's in github and it uses importlib.metadata

Greetings

Alexandre

Le dim. 23 août 2026 à 03:24, Chris Hofstaedtler <[email protected]> a écrit :
>
> On Sun, Aug 23, 2026 at 11:20:50AM +1000, Ben Finney wrote:
> > Package: python3-click-man
> > Version: 0.4.2-0.1
> > Severity: important
> >
> > The program, when installed in a minimal environment and run, crashes:
> >
> > =====
> > $ click-man --help
> > Traceback (most recent call last):
> >   File "/usr/bin/click-man", line 33, in <module>
> >     sys.exit(load_entry_point('click-man==0.4.2', 'console_scripts', 'click-man')())
> >              ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >   File "/usr/bin/click-man", line 25, in importlib_load_entry_point
> >     return next(matches).load()
> >            ~~~~~~~~~~~~~~~~~~^^
> >   File "/usr/lib/python3.14/importlib/metadata/__init__.py", line 179, in load
> >     module = import_module(match.group('module'))
> >   File "/usr/lib/python3.14/importlib/__init__.py", line 88, in import_module
> >     return _bootstrap._gcd_import(name[level:], package, level)
> >            ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >   File "<frozen importlib._bootstrap>", line 1406, in _gcd_import
> >   File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
> >   File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
> >   File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
> >   File "<frozen importlib._bootstrap_external>", line 759, in exec_module
> >   File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
> >   File "/usr/lib/python3/dist-packages/click_man/__main__.py", line 14, in <module>
> >     from pkg_resources import iter_entry_points, get_distribution
> > ModuleNotFoundError: No module named 'pkg_resources'
> > =====
> >
> > The installed Python library ‘click_man’ attempts to import ‘pkg_resources’
> > but that module is not installed.
> >
> > This is because the ‘python3-click-man’ Debian binary package fails to
> > declare a dependency on ‘python3-pkg-resources’.
>
> Per my understanding of things, click-man should stop using
> pkg_resources going forward.
>
> Chris
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.