#1145127 python3-click-man: undeclared dependency ‘python3-setuptools’

#1145127#5
Date:
2026-08-23 03:14:02 UTC
From:
To:
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 16, in <module>
    from click_man.core import write_man_pages
  File "/usr/lib/python3/dist-packages/click_man/core.py", line 13, in <module>
    from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'
=====

(To get to this point I needed to explicitly install
‘python3-pkg-resources’ as a workaround for bug#1145125.)

The installed Python library ‘click_man’ attempts to import from the
package ‘distutils’ but that Python package is not installed.

This is because the ‘python3-click-man’ Debian binary package fails to
declare a dependency on ‘python3-setuptools’.

#1145127#12
Date:
2026-08-31 12:48:57 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
click-man, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1145127@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated click-man package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 31 Aug 2026 14:09:11 +0200
Source: click-man
Architecture: source
Version: 0.5.2-0.1
Distribution: unstable
Urgency: medium
Maintainer: Rylie Pavlik <rylie@ryliepavlik.com>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1145124 1145125 1145127
Changes:
 click-man (0.5.2-0.1) unstable; urgency=medium
 .
   * Non-maintainer Upload
   * New upstream version 0.5.2 (Closes: #1145124, #1145125, #1145127)
   * Drop "Rules-Requires-Root: no": it is the default now
   * Bump Standards-Version to 4.7.4, drop Priority: tag
   * Rewrite d/watch in v5 format
 .
   [ Rylie Pavlik ]
   * New upstream version 0.5.0
   * Update Standards-Version to 4.7.0 (No changes required)
   * Remove patches: equivalent incorporated upstream.
   * Fix self-generation of manpages in new release.
   * Fix maintainer name.
   * Fix CME config file.
   * Add Build-Depends: pybuild-plugin-pyproject
Checksums-Sha1:
 0063a8648de2b1f0db7283207acd11574886c1cb 2139 click-man_0.5.2-0.1.dsc
 de61cf2ebdadcc433c272f48e8fa37ed38c0d468 464856 click-man_0.5.2.orig.tar.gz
 e8a8433cb3df12f1b91483b9d49224343159f685 3528 click-man_0.5.2-0.1.debian.tar.xz
 635ecbf222063a8de9be8533a43f9b491baf5350 7151 click-man_0.5.2-0.1_source.buildinfo
Checksums-Sha256:
 a27828938c42f02e0639fc2e22db3c7ea2299f0bd668268f25edc99da389cb32 2139 click-man_0.5.2-0.1.dsc
 406ed5164b913334847a3b6cfadc71b1d322efe62e0d5e31fc9f4ef6ed0aa156 464856 click-man_0.5.2.orig.tar.gz
 cf44a76f0fc0126e41b1e9eec0268f490b14e6fd1b745516899ce4fb988504ed 3528 click-man_0.5.2-0.1.debian.tar.xz
 2b5112a3c012604d8083d51d76735550ce82ab9ebc138765c88783861f91707c 7151 click-man_0.5.2-0.1_source.buildinfo
Files:
 b052829252b07d20d89adbfafa0dc9b4 2139 devel optional click-man_0.5.2-0.1.dsc
 ef4c6790a6c4e8d3320b653d04781df9 464856 devel optional click-man_0.5.2.orig.tar.gz
 be4fbb760b16368875acdf2aba06df1d 3528 devel optional click-man_0.5.2-0.1.debian.tar.xz
 7c0bf9a9aa8bb54c18032582e7f796e7 7151 devel optional click-man_0.5.2-0.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmqVchURHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBrtGg/+IpoYc0GSRjJO0sOlbp1bYSQ26WgUIeIj
yzF+wIPNlFAAXFgBlnV6ZnTcsNDBSUM3CQvykBo63IPsb+bnN5UU4QxIhjMWSGK1
tsKl9sjf/A8fR0G7/mfEQhC7agv3nBWxm+72m+lunKLkq5V+Z0MuxgGXNS5wydxz
oE15rOYPTjgqCg7llZcB+IJU+JRuelgAaD++pIdkQLtxqHinBDyiQs6v1PU/quhn
pweZj5zGH2KM/PHwG6+teR1Z5pig2qcLK1uUau0nWwjAe3igFEg6ijiBL2NPxrS1
7TUn82COCbvvCcL4XPmvUn8nw/tA2A/gBEGh0SFtkEOqqzSZlmueqJ0jhVAvhyVQ
mB+7ZMgNMN9J4+rsFNi1mkWiiXPw1/0foN6MHrftPqVS8dW718q5Kp2eE/hFrUPK
UY8FgUnzB2DvHcDBo4kLmeoiwKuC2k4MviLGRIZEbiPoD7BnKbief06P9+DhHlOx
tROUcBixuZFO44/FQHMb1BHAsz68SBusut73G1usCU1oXwjlsJT1qmsnrvSAr0Xi
5fTpRvTtqOknYQmIa1c0E7Pp8K5mUUKBBMb69Gps944DcXmvFYa7TpjpG7t7VJ8z
X35yKzjq/iW0RHa3itvb2bAS8q2q3jE8uoiJI1pIv4MPRFXjESNKHYSHmHYvdnyR
p9rN+MsnJ78=
=3vbq
-----END PGP SIGNATURE-----