From d1108e9d2d92d57ec0bf0e5f84027e4d56ddb2c5 Mon Sep 17 00:00:00 2001
From: TW <tw@waldmann-edv.de>
Date: Fri, 6 Jun 2025 20:56:49 +0200
Subject: [PATCH] Merge pull request #8904 from
 ThomasWaldmann/allow-msgpack-111

Allow msgpack 1.1.1(rc1)
---
 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 c5457ed4..65b3eb1d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -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.1.0",
+    "msgpack >=1.0.3, <=1.1.1",
     "packaging",
 ]
 
diff --git a/src/borg/helpers/msgpack.py b/src/borg/helpers/msgpack.py
index 5c8cedde..5c0d1a02 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, 0) and \
+    return (1, 0, 3) <= msgpack.version <= (1, 1, 1) and \
            msgpack.version not in []  # < add bad releases here to deny list
 
 
