-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Does this issue exist in the latest version?
- I'm using the latest release
Describe the bug?
Please see below error importing coverage-badge which appears to have been introduced following increment of setuptools to version 82.0.
Run tj-actions/coverage-badge-py@1788babcb24544eb5bbb6e0d374df5d1e54e670f
Run pip install -U setuptools coverage-badge
Requirement already satisfied: setuptools in /home/runner/_work/_tool/Python/3.11.14/x64/lib/python3.11/site-packages (79.0.1)
Collecting setuptools
Downloading setuptools-82.0.0-py3-none-any.whl.metadata (6.6 kB)
Collecting coverage-badge
Downloading coverage_badge-1.1.2-py2.py3-none-any.whl.metadata (3.4 kB)
Collecting coverage (from coverage-badge)
Using cached coverage-7.13.3-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.metadata (8.5 kB)
Downloading setuptools-82.0.0-py3-none-any.whl (1.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 12.6 MB/s 0:00:00
Downloading coverage_badge-1.1.2-py2.py3-none-any.whl (6.5 kB)
Using cached coverage-7.13.3-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (252 kB)
Installing collected packages: setuptools, coverage, coverage-badge
Attempting uninstall: setuptools
Found existing installation: setuptools 79.0.1
Uninstalling setuptools-79.0.1:
Successfully uninstalled setuptools-79.0.1
Successfully installed coverage-7.13.3 coverage-badge-1.1.2 setuptools-82.0.0
Traceback (most recent call last):
File "/home/runner/_work/_tool/Python/3.11.14/x64/bin/coverage-badge", line 3, in <module>
from coverage_badge.__main__ import main
File "/home/runner/_work/_tool/Python/3.11.14/x64/lib/python3.11/site-packages/coverage_badge/__main__.py", line 7, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
Error: Process completed with exit code 1.
To Reproduce
- Using
python3.11andtj-actions/coverage-badge-py@1788babcb24544eb5bbb6e0d374df5d1e54e670f - See error above
What OS are you seeing the problem on?
ubuntu-20.04
Expected behavior?
Successfully import of coverage-badge using python3.11
Relevant log output
Traceback (most recent call last):
File "/home/runner/_work/_tool/Python/3.11.14/x64/bin/coverage-badge", line 3, in <module>
from coverage_badge.__main__ import main
File "/home/runner/_work/_tool/Python/3.11.14/x64/lib/python3.11/site-packages/coverage_badge/__main__.py", line 7, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'Has all relevant logs been included?
- I've included all relevant logs
Anything else?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working