1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-03 13:45:31 +00:00

allow msgpack 1.0.3, fixes #6111

This commit is contained in:
Thomas Waldmann 2022-01-06 21:34:52 +01:00
parent f2c975ba15
commit b27e7ad86d
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@
install_requires = [ install_requires = [
# we are rather picky about msgpack versions, because a good working msgpack is # 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 # very important for borg, see: https://github.com/borgbackup/borg/issues/3753
'msgpack >=0.5.6, <=1.0.2, !=1.0.1', 'msgpack >=0.5.6, <=1.0.3, !=1.0.1',
# Please note: # Please note:
# using any other version is not supported by borg development and # using any other version is not supported by borg development and
# any feedback related to issues caused by this will be ignored. # any feedback related to issues caused by this will be ignored.

View file

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