Brilliant. Thank you @FabioLolix.
Search Criteria
Package Details: python-eyed3 0.9.7-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-eyed3.git (read-only, click to copy) |
---|---|
Package Base: | python-eyed3 |
Description: | A Python module and program for processing information about mp3 files |
Upstream URL: | https://eyed3.nicfit.net/ |
Licenses: | GPL-3.0-or-later |
Submitter: | amish |
Maintainer: | amish (FabioLolix) |
Last Packager: | FabioLolix |
Votes: | 10 |
Popularity: | 0.77 |
First Submitted: | 2022-11-22 09:00 (UTC) |
Last Updated: | 2024-07-06 11:31 (UTC) |
Dependencies (8)
- python-deprecation
- python-filetypeAUR
- python-packaging
- python-requests
- python-yaml (python-yaml-gitAUR)
- python-setuptools (make)
- python-factory-boy (check)
- python-pytest (check)
Required by (7)
- abcde (optional)
- audex-git (optional)
- cdrip
- mixramp (optional)
- odmpy
- python-mutagen-git (check)
- xapp-mp3-thumbnailer
Sources (2)
Rhinoceros commented on 2024-10-07 21:21 (UTC)
FabioLolix commented on 2024-10-07 15:41 (UTC)
python-filetype
re-uploaded on AUR
Rhinoceros commented on 2024-10-07 06:42 (UTC)
This package doesn't work any more, since the dependency python-filetype
is now missing. It looks like it was dropped from the official repos.
FabioLolix commented on 2024-07-07 09:06 (UTC)
Is there a way around that?
Build with devtools https://aur.archlinux.org/packages/python-eyed3#comment-981176
npreining commented on 2024-07-07 00:10 (UTC)
The conflict with python-ruamel-yaml
is somehow disturbing, since it is a dependency of jupyter class of packages, something that is rather necessary for many people.
Is there a way around that?
FabioLolix commented on 2024-07-06 16:00 (UTC) (edited on 2024-07-21 10:13 (UTC) by FabioLolix)
Maybe some missing dependencies?
No, it build fine with devtools
/usr/lib/python3.12/site-packages/ruamel/yaml/main.py:1039: AttributeError
Having python-ruamel-yaml
installed will fail 1 test
Build with extra-x86_64-build
from devtools
package https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
The issue is reported for more then a year, I have subscribed to it
blackhole commented on 2024-07-06 12:43 (UTC)
Maybe some missing dependencies?
blackhole commented on 2024-07-06 12:40 (UTC) (edited on 2024-07-06 12:41 (UTC) by blackhole)
Using makepkg:
fun = 'safe_dump', method = 'dump', arg = "typ='safe', pure=True", comment = 'instead of'
def error_deprecation(fun: Any, method: Any, arg: str = '', comment: str = 'instead of') -> None: # NOQA
import inspect
s = f'\n"{fun}()" has been removed, use\n\n yaml = YAML({arg})\n yaml.{method}(...)\n\n{comment}' # NOQA
try:
info = inspect.getframeinfo(inspect.stack()[2][0])
context = '' if info.code_context is None else "".join(info.code_context)
s += f' file "{info.filename}", line {info.lineno}\n\n{context}'
except Exception as e:
_ = e
s += '\n'
if sys.version_info < (3, 10):
raise AttributeError(s)
else:
> raise AttributeError(s, name=None)
E AttributeError:
E "safe_dump()" has been removed, use
E
E yaml = YAML(typ='safe', pure=True)
E yaml.dump(...)
E
E instead of file "/media/linux/Downloads/Temp/python-eyed3/src/eyeD3-0.9.7/eyed3/plugins/yamltag.py", line 29
E
E print(yaml.safe_dump(audioFileToJson(self.audio_file),
/usr/lib/python3.12/site-packages/ruamel/yaml/main.py:1039: AttributeError
============================================================ warnings summary ============================================================
tests/test_classic_plugin.py:879
/media/linux/Downloads/Temp/python-eyed3/src/eyeD3-0.9.7/tests/test_classic_plugin.py:879: PytestUnknownMarkWarning: Unknown pytest.mark.audiofile_name - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.audiofile_name("unknown-frame-ASDF.mp3")
tests/test_jsonyaml_plugin.py::testJsonPlugin
tests/test_jsonyaml_plugin.py::testYamlPlugin
/media/linux/Downloads/Temp/python-eyed3/src/eyeD3-0.9.7/eyed3/plugins/jsontag.py:42: DeprecationWarning: Use Tag.getBestDate() instead
member = getattr(tag, name)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================================== short test summary info =========================================================
FAILED tests/test_jsonyaml_plugin.py::testYamlPlugin - AttributeError:
=============================================== 1 failed, 183 passed, 3 warnings in 0.99s ================================================
==> ERROR: A failure occurred in check().
Aborting...
FabioLolix commented on 2024-07-06 12:36 (UTC)
@blackhole build fine for me both with makepkg and devtools
Pinned Comments
FabioLolix commented on 2024-07-07 09:06 (UTC)
Build with devtools https://aur.archlinux.org/packages/python-eyed3#comment-981176
FabioLolix commented on 2024-07-06 16:00 (UTC) (edited on 2024-07-21 10:13 (UTC) by FabioLolix)
No, it build fine with devtools
Having
python-ruamel-yaml
installed will fail 1 testBuild with
extra-x86_64-build
fromdevtools
package https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chrootThe issue is reported for more then a year, I have subscribed to it
https://github.com/nicfit/eyeD3/issues/601