Explorar o código

bump platform api version

Thomas Waldmann %!s(int64=6) %!d(string=hai) anos
pai
achega
f66c102cc5

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

@@ -35,5 +35,5 @@ def check_extension_modules():
         raise ExtensionModuleError
         raise ExtensionModuleError
     if item.API_VERSION != '1.2_01':
     if item.API_VERSION != '1.2_01':
         raise ExtensionModuleError
         raise ExtensionModuleError
-    if platform.API_VERSION != platform.OS_API_VERSION or platform.API_VERSION != '1.2_04':
+    if platform.API_VERSION != platform.OS_API_VERSION or platform.API_VERSION != '1.2_05':
         raise ExtensionModuleError
         raise ExtensionModuleError

+ 1 - 1
src/borg/platform/base.py

@@ -17,7 +17,7 @@ platform API: that way platform APIs provided by the platform-specific support m
 are correctly composed into the base functionality.
 are correctly composed into the base functionality.
 """
 """
 
 
-API_VERSION = '1.2_04'
+API_VERSION = '1.2_05'
 
 
 fdatasync = getattr(os, 'fdatasync', os.fsync)
 fdatasync = getattr(os, 'fdatasync', os.fsync)
 
 

+ 1 - 1
src/borg/platform/darwin.pyx

@@ -6,7 +6,7 @@ from .posix import user2uid, group2gid
 from ..helpers import safe_decode, safe_encode
 from ..helpers import safe_decode, safe_encode
 from .xattr import _listxattr_inner, _getxattr_inner, _setxattr_inner, split_string0
 from .xattr import _listxattr_inner, _getxattr_inner, _setxattr_inner, split_string0
 
 
-API_VERSION = '1.2_04'
+API_VERSION = '1.2_05'
 
 
 cdef extern from "sys/xattr.h":
 cdef extern from "sys/xattr.h":
     ssize_t c_listxattr "listxattr" (const char *path, char *list, size_t size, int flags)
     ssize_t c_listxattr "listxattr" (const char *path, char *list, size_t size, int flags)

+ 1 - 1
src/borg/platform/freebsd.pyx

@@ -4,7 +4,7 @@ from .posix import posix_acl_use_stored_uid_gid
 from ..helpers import safe_encode, safe_decode
 from ..helpers import safe_encode, safe_decode
 from .xattr import _listxattr_inner, _getxattr_inner, _setxattr_inner, split_lstring
 from .xattr import _listxattr_inner, _getxattr_inner, _setxattr_inner, split_lstring
 
 
-API_VERSION = '1.2_04'
+API_VERSION = '1.2_05'
 
 
 cdef extern from "errno.h":
 cdef extern from "errno.h":
     int errno
     int errno

+ 1 - 1
src/borg/platform/linux.pyx

@@ -13,7 +13,7 @@ from .xattr import _listxattr_inner, _getxattr_inner, _setxattr_inner, split_str
 from libc cimport errno
 from libc cimport errno
 from libc.stdint cimport int64_t
 from libc.stdint cimport int64_t
 
 
-API_VERSION = '1.2_04'
+API_VERSION = '1.2_05'
 
 
 cdef extern from "sys/xattr.h":
 cdef extern from "sys/xattr.h":
     ssize_t c_listxattr "listxattr" (const char *path, char *list, size_t size)
     ssize_t c_listxattr "listxattr" (const char *path, char *list, size_t size)