Merge pull request #9725 from ThomasWaldmann/msgpack-120-master

allow msgpack 1.2.0
This commit is contained in:
TW 2026-06-06 15:38:31 +02:00 committed by GitHub
commit 1239068e9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ license-files = ["LICENSE", "AUTHORS"]
dependencies = [
"borghash ~= 0.1.0",
"borgstore[rest] ~= 0.5.1",
"msgpack >=1.0.3, <=1.1.2",
"msgpack >=1.0.3, <=1.2.0",
"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

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