Package Details: python-syncedlyrics 1.0.1-1

Git Clone URL: https://aur.archlinux.org/python-syncedlyrics.git (read-only, click to copy)
Package Base: python-syncedlyrics
Description: Get an LRC format (synchronized) lyrics for your music
Upstream URL: https://github.com/moehmeni/syncedlyrics
Keywords: lrc lyrics lyrics-fetcher lyrics-finder lyrics-search music music-bot music-player synced-lyrics synchronization
Licenses: MIT
Submitter: txtsd
Maintainer: txtsd (pekkarr)
Last Packager: txtsd
Votes: 8
Popularity: 0.77
First Submitted: 2023-03-15 19:06 (UTC)
Last Updated: 2024-11-10 07:12 (UTC)

Pinned Comments

txtsd commented on 2024-07-20 09:16 (UTC) (edited on 2024-07-20 09:17 (UTC) by txtsd)

Tests often fail when a search provider is unavailable.

Build with makepkg --nocheck to skip tests.

If using an AUR helper like yay, it's yay -S --mflags --nocheck.

Latest Comments

« First ‹ Previous 1 2 3

aminvakil commented on 2023-09-25 07:02 (UTC)

So they already know about it, if they didn't fix it, I will disable running tests.

txtsd commented on 2023-09-25 07:00 (UTC)

Tests seem to be failing upstream too:

https://github.com/0x7d4/syncedlyrics/actions/runs/6295280678/job/17088309898#step:6:23

aminvakil commented on 2023-09-25 06:46 (UTC)

Tests do not pass:

=================================== FAILURES ===================================
_________________________________ test_lrclib __________________________________

    def test_lrclib():
>       _test_provider("Lrclib")

tests.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

provider = 'Lrclib'

    def _test_provider(provider: str):
        lrc = search(q, allow_plain_format=True, providers=[provider])
>       assert isinstance(lrc, str)
E    assert False
E     +  where False = isinstance(None, str)

tests.py:10: AssertionError
=========================== short test summary info ============================
FAILED tests.py::test_lrclib - assert False
========================= 1 failed, 3 passed in 9.50s ==========================

https://github.com/aminvakil/aur/actions/runs/6293835195/job/17088315459#step:6:2150

txtsd commented on 2023-03-16 03:31 (UTC)

Thanks for the heads-up! I think I've seen this behavior elsewhere and given up in the recent past. Now I can go fix that.

pekkarr commented on 2023-03-15 19:29 (UTC)

I was just about to push this, seems like we were both doing the same task.

However, the build does not work when not done in a clean chroot because of a bug in python-poetry that excludes the directory /usr/lib/python3.10/site-packages/syncedlyrics/ from the installation. As a workaround, you could prepend GIT_DIR=. to the python -m build command. In clean chroot builds this problem doesn't exist because git isn't installed there.