Merge pull request #7850 from ThomasWaldmann/allow-msgpack107-1.2

allow msgpack 1.0.7 (1.2-maint)
This commit is contained in:
TW 2023-09-28 15:36:54 +02:00 committed by GitHub
commit 8c267e5c3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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.6, !=1.0.1',
'msgpack >=0.5.6, <=1.0.7, !=1.0.1',
'packaging',
]

View File

@ -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, 0, 6) and \
return (0, 5, 6) <= msgpack.version <= (1, 0, 7) and \
msgpack.version not in [(1, 0, 1), ] # < add bad releases here to deny list