diff --git a/src/borg/helpers/msgpack.py b/src/borg/helpers/msgpack.py index e9dc8b0a0..63561c9f4 100644 --- a/src/borg/helpers/msgpack.py +++ b/src/borg/helpers/msgpack.py @@ -182,7 +182,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 <= (1, 1, 1) and \ + return (0, 5, 6) <= msgpack.version[:3] <= (1, 1, 1) and \ msgpack.version not in [(1, 0, 1), ] # < add bad releases here to deny list