Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New release? #164

Closed
woodruffw opened this issue Dec 5, 2023 · 4 comments
Closed

New release? #164

woodruffw opened this issue Dec 5, 2023 · 4 comments

Comments

@woodruffw
Copy link

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?

@woodruffw
Copy link
Author

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.)

@s-weigand
Copy link
Contributor

@econchick Any updates on this? 😅

@econchick
Copy link
Owner

finally released 1.6.0 🙈 😅 thanks for your patience!!

@woodruffw
Copy link
Author

Thank you as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants