Thanks for taking the time to file this bug and trying to make Ubuntu better.
python3-pkg-resources should indeed be a runtime dependency of python3-mako, at least for the current version we have in the archive which is 1.1.3. In this version, pkg_resources is conditionally imported, I think this is the reason why no one complained about it so far: mako/util.py-33- else: mako/util.py:34: import pkg_resources mako/util.py-35- mako/util.py:36: for impl in pkg_resources.iter_entry_points(self.group, name): mako/util.py-37- self.impls[name] = impl.load mako/util.py-38- return impl.load() https://github.com/sqlalchemy/mako/blob/rel_1_1_3/mako/util.py#L30-L44 In the latest upstream version (1.2.0), pkg_resources is no more used: .. change:: :tags: changed, setup Replaced the use of ``pkg_resources`` with the ``importlib`` library. For Python < 3.8 the library ``importlib_metadata`` is used. https://github.com/sqlalchemy/mako/blob/main/doc/build/changelog.rst This dependency seems to be missing in all supported Ubuntu releases. ** Changed in: mako (Ubuntu) Status: New => Triaged ** Tags added: bitesize server-todo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970153 Title: python3-mako depends on pkg-resources To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mako/+bug/1970153/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs