Ver Fonte

allow msgpack 1.1.2

1.1.2 provides wheels for py 3.14.
Thomas Waldmann há 1 semana atrás
pai
commit
da58d92aa6
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      pyproject.toml
  2. 1 1
      src/borg/helpers/msgpack.py

+ 1 - 1
pyproject.toml

@@ -32,7 +32,7 @@ license-files = ["LICENSE", "AUTHORS"]
 dependencies = [
   "borghash ~= 0.1.0",
   "borgstore ~= 0.3.0",
-  "msgpack >=1.0.3, <=1.1.1",
+  "msgpack >=1.0.3, <=1.1.2",
   "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.

+ 1 - 1
src/borg/helpers/msgpack.py

@@ -210,7 +210,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, 1)
+    return (1, 0, 3) <= msgpack.version[:3] <= (1, 1, 2)
 
 
 def get_limited_unpacker(kind):