mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
Change minimum discogs_client version to 2.3.15
This commit is contained in:
parent
bad541e2c4
commit
f1b7832d52
2 changed files with 5 additions and 5 deletions
|
|
@ -69,9 +69,9 @@ class DiscogsPlugin(BeetsPlugin):
|
|||
self.register_listener('import_begin', self.setup)
|
||||
|
||||
def check_discogs_client(self):
|
||||
"""Ensure python3-discogs-client version >= 2.3.10
|
||||
"""Ensure python3-discogs-client version >= 2.3.15
|
||||
"""
|
||||
dc_min_version = [2, 3, 10]
|
||||
dc_min_version = [2, 3, 15]
|
||||
dc_version = [int(elem) for elem in dc_string.split('.')]
|
||||
min_len = min(len(dc_version), len(dc_min_version))
|
||||
gt_min = [(elem > elem_min) for elem, elem_min in
|
||||
|
|
@ -79,7 +79,7 @@ class DiscogsPlugin(BeetsPlugin):
|
|||
dc_min_version[:min_len])]
|
||||
if True not in gt_min:
|
||||
self._log.warning(('python3-discogs-client version should be '
|
||||
'>= 2.3.10'))
|
||||
'>= 2.3.15'))
|
||||
|
||||
def setup(self, session=None):
|
||||
"""Create the `discogs_client` field. Authenticate if necessary.
|
||||
|
|
|
|||
4
setup.py
4
setup.py
|
|
@ -111,7 +111,7 @@ setup(
|
|||
'requests_oauthlib',
|
||||
'reflink',
|
||||
'rarfile',
|
||||
'python3-discogs-client',
|
||||
'python3-discogs-client>=2.3.15',
|
||||
'py7zr',
|
||||
],
|
||||
'lint': [
|
||||
|
|
@ -139,7 +139,7 @@ setup(
|
|||
'embedart': ['Pillow'],
|
||||
'embyupdate': ['requests'],
|
||||
'chroma': ['pyacoustid'],
|
||||
'discogs': ['python3-discogs-client>=2.3.10'],
|
||||
'discogs': ['python3-discogs-client>=2.3.15'],
|
||||
'beatport': ['requests-oauthlib>=0.6.1'],
|
||||
'kodiupdate': ['requests'],
|
||||
'lastgenre': ['pylast'],
|
||||
|
|
|
|||
Loading…
Reference in a new issue