mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-03 10:17:40 +00:00
allow msgpack 1.0.5 also
This commit is contained in:
parent
2c232449b0
commit
1ab90b339e
2 changed files with 5 additions and 7 deletions
|
@ -39,7 +39,7 @@ python_requires = >=3.9
|
|||
setup_requires =
|
||||
setuptools_scm[toml] >= 6.2
|
||||
install_requires =
|
||||
msgpack >=1.0.3, <=1.0.4
|
||||
msgpack >=1.0.3, <=1.0.5
|
||||
packaging
|
||||
platformdirs >=3.0.0, <4.0.0; sys_platform == 'darwin' # for macOS: breaking changes in 3.0.0,
|
||||
platformdirs >=2.6.0, <4.0.0; sys_platform != 'darwin' # for others: 2.6+ works consistently.
|
||||
|
|
|
@ -204,14 +204,12 @@ def is_slow_msgpack():
|
|||
|
||||
|
||||
def is_supported_msgpack():
|
||||
# DO NOT CHANGE OR REMOVE! See also requirements and comments in setup.py.
|
||||
# DO NOT CHANGE OR REMOVE! See also requirements and comments in setup.cfg.
|
||||
import msgpack
|
||||
|
||||
return (1, 0, 3) <= msgpack.version <= (
|
||||
1,
|
||||
0,
|
||||
4,
|
||||
) and msgpack.version not in [] # < add bad releases here to deny list
|
||||
if msgpack.version in []: # < add bad releases here to deny list
|
||||
return False
|
||||
return (1, 0, 3) <= msgpack.version <= (1, 0, 5)
|
||||
|
||||
|
||||
def get_limited_unpacker(kind):
|
||||
|
|
Loading…
Reference in a new issue