2
0
Эх сурвалжийг харах

Merge pull request #8135 from ThomasWaldmann/msgpack-cython-updates-1.4

msgpack and cython updates (1.4-maint)
TW 1 жил өмнө
parent
commit
3647426940

+ 2 - 2
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.0.3, <=1.0.7",
+    "msgpack >=1.0.3, <=1.0.8",
     "packaging",
 ]
 
@@ -71,7 +71,7 @@ where = ["src"]
 "*" = ["*.c", "*.h", "*.pyx"]
 
 [build-system]
-requires = ["setuptools>=64", "setuptools_scm>=8", "wheel", "pkgconfig", "Cython>=3"]
+requires = ["setuptools>=64", "setuptools_scm>=8", "wheel", "pkgconfig", "Cython>=3.0.3"]
 build-backend = "setuptools.build_meta"
 
 [tool.setuptools_scm]

+ 1 - 1
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, 0, 7) and \
+    return (1, 0, 3) <= msgpack.version <= (1, 0, 8) and \
            msgpack.version not in []  # < add bad releases here to deny list