From 249b9e804fd32b9fc59329be317a329f2ecf655d 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 3fd88606b..9ecaccb6d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,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.1.0rc1", # ">=1.0.3, <=1.0.8", + "msgpack >=1.0.3, <=1.1.0", "packaging", ] diff --git a/src/borg/helpers/msgpack.py b/src/borg/helpers/msgpack.py index 5c0d1a02b..5c8cedde1 100644 --- a/src/borg/helpers/msgpack.py +++ b/src/borg/helpers/msgpack.py @@ -137,7 +137,7 @@ def is_slow_msgpack(): def is_supported_msgpack(): # DO NOT CHANGE OR REMOVE! See also requirements and comments in pyproject.toml. import msgpack - return (1, 0, 3) <= msgpack.version <= (1, 1, 1) and \ + return (1, 0, 3) <= msgpack.version <= (1, 1, 0) and \ msgpack.version not in [] # < add bad releases here to deny list