Merge pull request #8904 from ThomasWaldmann/allow-msgpack-111

Allow msgpack 1.1.1(rc1)
This commit is contained in:
TW 2025-06-06 20:56:49 +02:00 committed by GitHub
commit f569668474
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ license-files = ["LICENSE", "AUTHORS"]
dependencies = [
"borghash ~= 0.1.0",
"borgstore ~= 0.3.0",
"msgpack >=1.0.3, <=1.1.0",
"msgpack >=1.0.3, <=1.1.1",
"packaging",
"platformdirs >=3.0.0, <5.0.0; sys_platform == 'darwin'", # for macOS: breaking changes in 3.0.0,
"platformdirs >=2.6.0, <5.0.0; sys_platform != 'darwin'", # for others: 2.6+ works consistently.

View file

@ -209,7 +209,7 @@ def is_supported_msgpack():
if msgpack.version in []: # < add bad releases here to deny list
return False
return (1, 0, 3) <= msgpack.version <= (1, 1, 0)
return (1, 0, 3) <= msgpack.version[:3] <= (1, 1, 1)
def get_limited_unpacker(kind):