Selaa lähdekoodia

Merge pull request #8136 from ThomasWaldmann/msgpack-cython-updates-master

msgpack and cython updates (master)
TW 1 vuosi sitten
vanhempi
sitoutus
b82bf4a232
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 2 2
      pyproject.toml
  2. 1 1
      src/borg/helpers/msgpack.py

+ 2 - 2
pyproject.toml

@@ -29,7 +29,7 @@ classifiers = [
 ]
 license = {text="BSD"}
 dependencies = [
-  "msgpack >=1.0.3, <=1.0.7",
+  "msgpack >=1.0.3, <=1.0.8",
   "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.
@@ -65,7 +65,7 @@ where = ["src"]
 "*" = ["*.c", "*.h", "*.pyx"]
 
 [build-system]
-requires = ["setuptools", "wheel", "pkgconfig", "Cython>=3", "setuptools_scm[toml]>=6.2"]
+requires = ["setuptools", "wheel", "pkgconfig", "Cython>=3.0.3", "setuptools_scm[toml]>=6.2"]
 build-backend = "setuptools.build_meta"
 
 [tool.setuptools_scm]

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