support msgpack 1.2.1

This commit is contained in:
Thomas Waldmann 2026-06-18 18:23:49 +02:00
parent 382f27cd66
commit 8abdd3b8bf
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01
3 changed files with 3 additions and 3 deletions

View file

@ -473,7 +473,7 @@ Note: Many of the fixed issues listed below relate to rather rare or theoretical
Other changes:
- msgpack: allow 1.2.0
- msgpack: also allow 1.2.0 and 1.2.1
- use F_FULLFSYNC on macOS for SyncFile data durability, #9383
- mount: improve error msg when uid/gid cannot be resolved, #9574
- docs:

View file

@ -35,7 +35,7 @@ dependencies = [
# 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 >=1.0.3, <=1.2.0",
"msgpack >=1.0.3, <=1.2.1",
"packaging",
]

View file

@ -145,7 +145,7 @@ def is_supported_msgpack():
version_check = os.environ.get('BORG_MSGPACK_VERSION_CHECK', 'yes').strip().lower()
return version_check == 'no' or (
(1, 0, 3) <= msgpack.version[:3] <= (1, 2, 0) and
(1, 0, 3) <= msgpack.version[:3] <= (1, 2, 1) and
msgpack.version not in []
)