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

CI fails with python 3.12 #137

Open
MiWeiss opened this issue Dec 25, 2023 · 3 comments
Open

CI fails with python 3.12 #137

MiWeiss opened this issue Dec 25, 2023 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@MiWeiss
Copy link
Collaborator

MiWeiss commented Dec 25, 2023

The CI fails with python 3.12. I have not yet looked into why; it might be a trivial fix.

I won't be available to have a look at this; if anyone fancies having a look, please feel free to open a PR :-)

@MiWeiss MiWeiss added bug Something isn't working help wanted Extra attention is needed labels Dec 25, 2023
@iwishiwasaneagle
Copy link

Hi, I believe it's because pkg_resources has been deprecated.

https://setuptools.pypa.io/en/latest/pkg_resources.html

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.12.2/x64/bin/docstr-coverage", line 5, in <module>
    from docstr_coverage.cli import execute
  File "/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/site-packages/docstr_coverage/cli.py", line 12, in <module>
    from docstr_coverage.badge import Badge
  File "/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/site-packages/docstr_coverage/badge.py", line 11, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
Error: Process completed with exit code 1.

@tdegeus
Copy link

tdegeus commented Feb 23, 2024

As a note: it also makes my pre-commit fail

@MiWeiss
Copy link
Collaborator Author

MiWeiss commented Feb 25, 2024

Should be fixed with #139 (newly opened PR)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants