Comment 3 for bug 1970153

Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

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