reproducer (ONLY RUN THESE COMMANDS IN A DISPOSABLE ENVIRONMENT. It
removes a few seeded packages):

# apt remove -y python3-pkg-resources
# python3 -c "from mako.util import PluginLoader as PL; PL('foo').load('bar')"

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/mako/util.py", line 34, in load
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

I am setting the importance to low because

- I could not find a straightforward real use case where we hit the "buggy" 
code path. AFAICT, this is triggered when non-registered plugin is loaded.
- The latest upstream version (which may be available for the kinetic cycle) is 
not affected.
- python3-pkg-resources is a seeded package:

$ seeded-in-ubuntu -b python3-pkg-resources
python3-pkg-resources is seeded in:
  kubuntu: daily-live
  lubuntu: daily-live
  ubuntu-budgie: daily-live
  ubuntu-mate: daily-live
  ubuntu-server: daily-live, daily-preinstalled
  ubuntu: daily-canary, daily-live, daily-preinstalled
  ubuntukylin: daily-live
  ubuntustudio: dvd
  xubuntu: daily-live

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to