浏览代码

Support msgpack-0.6.2.

This addresses
https://github.com/borgbackup/borg/issues/4360#issuecomment-541107988
Björn Ketelaars 5 年之前
父节点
当前提交
e2ee7fd24b
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      setup.py
  2. 1 1
      src/borg/helpers/msgpack.py

+ 1 - 1
setup.py

@@ -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.

+ 1 - 1
src/borg/helpers/msgpack.py

@@ -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