Only pin Jellyfish version on py2

This commit is contained in:
Adrian Sampson 2019-02-17 13:06:55 -05:00
parent 864f9f9167
commit 7360bbc152
2 changed files with 12 additions and 4 deletions

View file

@ -86,7 +86,8 @@ Changes:
Fixes:
* Pin jellyfish requirement to version 0.6.0 to maintain python 2 compatibility.
* On Python 2, pin the Jellyfish requirement to version 0.6.0 for
compatibility.
* A new importer option, :ref:`ignore_data_tracks`, lets you skip audio tracks
contained in data files :bug:`3021`
* Restore iTunes Store album art source, and remove the dependency on

View file

@ -92,9 +92,16 @@ setup(
'unidecode',
'musicbrainzngs>=0.4',
'pyyaml',
'jellyfish==0.6.0',
] + (['colorama'] if (sys.platform == 'win32') else []) +
(['enum34>=1.0.4'] if sys.version_info < (3, 4, 0) else []),
] + (
# Use the backport of Python 3.4's `enum` module.
['enum34>=1.0.4'] if sys.version_info < (3, 4, 0) else []
) + (
# Pin a Python 2-compatible version of Jellyfish.
['jellyfish==0.6.0'] if sys.version_info < (3, 4, 0) else ['jellyfish']
) + (
# Support for ANSI console colors on Windows.
['colorama'] if (sys.platform == 'win32') else []
),
tests_require=[
'beautifulsoup4',