Package Details: python-spotipy 2.22.1-1

Git Clone URL: https://aur.archlinux.org/python-spotipy.git (read-only, click to copy)
Package Base: python-spotipy
Description: A light weight Python library for the Spotify Web API
Upstream URL: https://github.com/spotipy-dev/spotipy
Keywords: api lib music python spotify
Licenses: MIT
Conflicts: python-spotipy-git
Submitter: gc1
Maintainer: gc1 (jamespharvey20, crabvk)
Last Packager: crabvk
Votes: 18
Popularity: 1.37
First Submitted: 2018-09-21 20:38 (UTC)
Last Updated: 2023-01-24 18:14 (UTC)

Latest Comments

swiftscythe commented on 2022-06-30 07:35 (UTC)

I am also experiencing the same issue about missing redis in the latest release (2.20.0) Could you please add it to the dependencies list?

gc1 commented on 2022-01-26 16:22 (UTC)

@ViToni, I don't know why you get that error. Redis is not used in the current latest release, 2.19 code. I see it was introduced after that, in December, which is currently only in master:

https://github.com/IdmFoundInHim/spotipy/commit/f7c01500581ba6053c4f4c355dc10e363ce9b245

Which version are you running?

ViToni commented on 2022-01-22 12:35 (UTC) (edited on 2022-01-22 14:27 (UTC) by ViToni)

This package which is used by ytmdl. When trying to use ytmdl the stacktrace seems to indicate a dependency to https://archlinux.org/packages/community/any/python-redis/ is missing:

$ ytmdl <some YT playlist link>
Traceback (most recent call last):
  File "/usr/bin/ytmdl", line 34, in <module>
    from ytmdl.core import (
  File "/usr/lib/python3.10/site-packages/ytmdl/core.py", line 7, in <module>
    from ytmdl import (
  File "/usr/lib/python3.10/site-packages/ytmdl/metadata.py", line 11, in <module>
    from ytmdl.meta import (
  File "/usr/lib/python3.10/site-packages/ytmdl/meta/spotify.py", line 8, in <module>
    from spotipy import SpotifyClientCredentials
  File "/usr/lib/python3.10/site-packages/spotipy/__init__.py", line 1, in <module>
    from .cache_handler import *  # noqa
  File "/usr/lib/python3.10/site-packages/spotipy/cache_handler.py", line 14, in <module>
    from redis import RedisError
ModuleNotFoundError: No module named 'redis'

gc1 commented on 2021-12-13 16:41 (UTC)

Good idea, @C0rn3j. We can do that.

C0rn3j commented on 2021-12-13 00:26 (UTC)

While not mandated by packaging standards, it'd be nice to bump up pkgrel to smooth out transition to the newly shipped Python 3.10

sharktamer commented on 2019-05-29 23:45 (UTC)

I'm also in need of this makedepends line, could we have it added please?

jamespharvey20 commented on 2019-05-09 02:17 (UTC) (edited on 2019-05-09 02:17 (UTC) by jamespharvey20)

Please add git to makedepends. Without it, building in a chroot (such as using devtools) fails.

Obtaining the source the way you are is necessary, since upstream failed to actually tag releases on github, there's no .tar.gz available.

Technically, a MIT license is required to be installed with the package, so this should be added to package(). See: https://wiki.archlinux.org/index.php/PKGBUILD#license

install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"