void-linux / void-linux/void-packages
eyeD3 has missing runtime dependencies
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
Is this a new report?
Yes
System Info
Void 6.3.13_1 x86_64 GenuineIntel uptodate rFF
Package(s) Affected
eyeD3-0.9.6_2
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No response
Expected behaviour
Working program without exceptions.
Actual behaviour
eyeD3 prints an exception upon launch. It looks like it isn't fatal, the program continues to do its work and it exits with return code 0, but having an exception raised is still undesirable.
I am not familiar with Python's packaging system so I can't submit a fix for this issue. I tried to install python3-coverage but the exception persists.
Here is the error message:
> eyeD3
eyed3.plugins:ERROR: Bad plugin ('lastfm.py', '/usr/lib/python3.11/site-packages/eyed3/plugins')
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 875, in _resolve_dist
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (coverage 7.2.7 (/usr/lib/python3.11/site-packages), Requirement.parse('coverage[toml]==5.*,>=5.3.1'), {'eyeD3'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/eyed3/plugins/__init__.py", line 56, in load
mod = __import__(mod_name, globals=globals(), locals=locals())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/eyed3/plugins/lastfm.py", line 1, in <module>
from pylast import SIZE_EXTRA_LARGE, SIZE_LARGE, SIZE_MEDIUM, SIZE_MEGA, SIZE_SMALL
File "/usr/lib/python3.11/site-packages/pylast/__init__.py", line 35, in <module>
import pkg_resources
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 633, in _build_master
return cls._build_from_requirements(__requires__)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 646, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'coverage[toml]==5.*,>=5.3.1' distribution was not found and is required by eyeD3
No audio files found.
Steps to reproduce
-
xbps-install -S eyeD3 -
eyeD3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the eyeD3-0.9.6_2 package definition in the Void packages tree and inspect how its runtime dependencies are declared. Reproduce the issue with xbps-install -S eyeD3 followed by eyeD3; done means eyeD3 launches without the reported dependency exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100