FS#55332 - [python-eyed3] Does not find python-magic
Attached to Project:
Community Packages
Opened by Stefan Muthers (smu) - Tuesday, 29 August 2017, 14:19 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 04 April 2023, 07:46 GMT
Opened by Stefan Muthers (smu) - Tuesday, 29 August 2017, 14:19 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 04 April 2023, 07:46 GMT
|
Details
Description:
Today I found that eyeD3 (used via abcde) is no longer working. When ripping an CD using abcde I get the following error message at the end: Traceback (most recent call last): File "/usr/bin/eyeD3", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3049, in <module> @_call_aside File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3033, in _call_aside f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3062, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 658, in _build_master ws.require(__requires__) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 972, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 858, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'python-magic' distribution was not found and is required by eyeD3 [ERROR] abcde: The following commands failed to run: tagtrack-mp3-05: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A 'Du' -a 'Du' -t -G 255 -n 05 -N 20 /home/XXX/abcde.wbJWo6yh30PtVWMSZxNmbVHkWAM-/track05.mp3 The error can also be reproduced by simply calling /usr/bin/eyeD3 without any arguments. The following (relevant) packages are installed: python2-eyed3 0.8.1-1 python-magic 5.29-2 python2-magic 5.29-2 Any ideas what is wrong here. Do you need any further informations? |
This task depends upon
Closed by Toolybird (Toolybird)
Tuesday, 04 April 2023, 07:46 GMT
Reason for closing: None
Additional comments about closing: Pkg was dropped to AUR
Tuesday, 04 April 2023, 07:46 GMT
Reason for closing: None
Additional comments about closing: Pkg was dropped to AUR
1. new python-magic dependency
* Introduced with commit: https://github.com/nicfit/eyeD3/commit/4969564bf8cc1dd59be77013d431dad6fc92b796
* AUR package exists for the correct one Doug linked: https://aur.archlinux.org/packages/python-magic-ahupp/
* looks like you will need to replace extra/python-magic (from "file" sources) with the ahupp one
* diffoscope apparently works with that one as well, see related arch mailing list post: https://lists.archlinux.org/pipermail/arch-general/2017-June/043735.html
2. "pathlib" is now explicit dep even for python3
* upstream commit: https://github.com/nicfit/eyeD3/commit/2ef7262c7b5b3b6a351c12b31b9f3fe906b831b2
* might want to do something like
sed -i -e '/- pathlib/d' requirements/requirements.yml
Tell them to fix their gross NIH requirements nonsense and also to do proper "python_version"ed requirements when needed, like every other python module in the history of ever. :(
And why on earth do they hardcode their requirements versions. Across three separately implemented files. :(