diff --git a/setup.py b/setup.py index a80660e0d..7e693bee3 100644 --- a/setup.py +++ b/setup.py @@ -70,7 +70,7 @@ # Please note: # using any other msgpack version is not supported by borg development and # any feedback related to issues caused by this will be ignored. - 'msgpack >=0.5.6, <=1.0.7, !=1.0.1', + 'msgpack >=1.0.2, <=1.0.7', 'packaging', ] diff --git a/src/borg/helpers/msgpack.py b/src/borg/helpers/msgpack.py index 197d2debd..0cec24a31 100644 --- a/src/borg/helpers/msgpack.py +++ b/src/borg/helpers/msgpack.py @@ -182,8 +182,8 @@ 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 <= (1, 0, 7) and \ - msgpack.version not in [(1, 0, 1), ] # < add bad releases here to deny list + return (1, 0, 2) <= msgpack.version <= (1, 0, 7) and \ + msgpack.version not in [] # < add bad releases here to deny list def get_limited_unpacker(kind):