From d43892d474499a56460753332748f0653a4d571e Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Mon, 20 May 2024 14:13:40 +0200 Subject: [PATCH] allow msgpack 1.1.0 tests with 1.1.0rc1 were successful, thus I assume 1.1.0 will also work ok. --- pyproject.toml | 2 +- src/borg/helpers/msgpack.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 70c8130fe..3003d9bbb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ classifiers = [ ] license = {text="BSD"} dependencies = [ - "msgpack >=1.0.3, <=1.0.8", + "msgpack >=1.0.3, <=1.1.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. diff --git a/src/borg/helpers/msgpack.py b/src/borg/helpers/msgpack.py index b7ec23be7..fad6a7879 100644 --- a/src/borg/helpers/msgpack.py +++ b/src/borg/helpers/msgpack.py @@ -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, 0, 8) + return (1, 0, 3) <= msgpack.version <= (1, 1, 0) def get_limited_unpacker(kind):