Ver código fonte

msgpack: require >= 1.0.2 <= 1.0.7

that simplifies things:
- no broken release in that range
- no ancient stuff < 1.0 any more
Thomas Waldmann 1 ano atrás
pai
commit
a550fbd845
2 arquivos alterados com 3 adições e 3 exclusões
  1. 1 1
      setup.py
  2. 2 2
      src/borg/helpers/msgpack.py

+ 1 - 1
setup.py

@@ -70,7 +70,7 @@ install_requires = [
     # 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',
 ]
 

+ 2 - 2
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):