econchick/interrogate

New release?

woodruffw opened this issue ยท 4 comments

Hi there! First of all, thank you for creating and maintaining interrogate! We use it on pip-audit to ensure that all of our public APIs are documented, and it's a delight to use.

On recent versions of Python (3.12+), we're seeing a ModuleNotFoundError due to interrogate's use of pkg_resources, which was removed from the standard Python distribution:

Traceback (most recent call last):
  File "/Users/william/devel/pip-audit/env/bin/interrogate", line 5, in <module>
    from interrogate.cli import main
  File "/Users/william/devel/pip-audit/env/lib/python3.12/site-packages/interrogate/cli.py", line 11, in <module>
    from interrogate import badge_gen
  File "/Users/william/devel/pip-audit/env/lib/python3.12/site-packages/interrogate/badge_gen.py", line 11, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

It looks like this was patched with 3aa94a6, but that that commit hasn't landed in a new release quite yet.

So: would it be possible to get a new release cut for interrogate?

Gentle ping on this ๐Ÿ™‚

(For others experiencing this: a workaround that may work for you is to also install setuptools, since setuptools provides pkg_resources.)

@econchick Any updates on this? ๐Ÿ˜…

finally released 1.6.0 ๐Ÿ™ˆ ๐Ÿ˜… thanks for your patience!!

Thank you as well!