瀏覽代碼

allow msgpack 1.1.0

tests with 1.1.0rc1 were successful, thus I assume 1.1.0 will also work ok.
Thomas Waldmann 1 年之前
父節點
當前提交
249b9e804f
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      pyproject.toml
  2. 1 1
      src/borg/helpers/msgpack.py

+ 1 - 1
pyproject.toml

@@ -34,7 +34,7 @@ dependencies = [
     # 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==1.1.0rc1", # ">=1.0.3, <=1.0.8",
+    "msgpack >=1.0.3, <=1.1.0",
     "packaging",
 ]
 

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

@@ -137,7 +137,7 @@ def is_slow_msgpack():
 def is_supported_msgpack():
     # DO NOT CHANGE OR REMOVE! See also requirements and comments in pyproject.toml.
     import msgpack
-    return (1, 0, 3) <= msgpack.version <= (1, 1, 1) and \
+    return (1, 0, 3) <= msgpack.version <= (1, 1, 0) and \
            msgpack.version not in []  # < add bad releases here to deny list