Support msgpack-0.6.2.

This addresses
https://github.com/borgbackup/borg/issues/4360#issuecomment-541107988
This commit is contained in:
Björn Ketelaars 2019-10-10 06:37:35 +02:00
parent 73ab1f1da6
commit e2ee7fd24b
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ on_rtd = os.environ.get('READTHEDOCS')
install_requires = [
# we are rather picky about msgpack versions, because a good working msgpack is
# very important for borg, see: https://github.com/borgbackup/borg/issues/3753
'msgpack >=0.5.6, <=0.6.1',
'msgpack >=0.5.6, <=0.6.2',
# Please note:
# using any other version is not supported by borg development and
# any feedback related to issues caused by this will be ignored.

View file

@ -181,7 +181,7 @@ def is_slow_msgpack():
def is_supported_msgpack():
# DO NOT CHANGE OR REMOVE! See also requirements and comments in setup.py.
import msgpack
return (0, 5, 6) <= msgpack.version <= (0, 6, 1) and \
return (0, 5, 6) <= msgpack.version <= (0, 6, 2) and \
msgpack.version not in [] # < blacklist bad releases here