mirror of https://github.com/borgbackup/borg.git
cleanup msgpack requirements
we do not expect 0.5.x with x > 6 any more. also remove outdated comments from setup.py.
This commit is contained in:
parent
0ebfaa5b61
commit
940e107add
9
setup.py
9
setup.py
|
@ -43,13 +43,8 @@ on_rtd = os.environ.get('READTHEDOCS')
|
||||||
|
|
||||||
install_requires = [
|
install_requires = [
|
||||||
# we are rather picky about msgpack versions, because a good working msgpack is
|
# we are rather picky about msgpack versions, because a good working msgpack is
|
||||||
# very important for borg, see https://github.com/borgbackup/borg/issues/3753
|
# very important for borg, see: https://github.com/borgbackup/borg/issues/3753
|
||||||
# as of now, 0.5.6 and 0.6.0 are the only preferred versions of msgpack:
|
'msgpack >=0.5.6, <=0.6.1',
|
||||||
'msgpack >=0.5.6, !=0.5.7, !=0.5.8, !=0.5.9, <=0.6.1',
|
|
||||||
# if you can't satisfy the above requirement, these are versions that might
|
|
||||||
# also work ok, IF you make sure to use the COMPILED version of msgpack-python,
|
|
||||||
# NOT the PURE PYTHON fallback implementation: ==0.5.1, ==0.5.4
|
|
||||||
#
|
|
||||||
# Please note:
|
# Please note:
|
||||||
# using any other version is not supported by borg development and
|
# using any other version is not supported by borg development and
|
||||||
# any feedback related to issues caused by this will be ignored.
|
# any feedback related to issues caused by this will be ignored.
|
||||||
|
|
|
@ -173,7 +173,7 @@ 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.py.
|
||||||
import msgpack
|
import msgpack
|
||||||
return (0, 5, 6) <= msgpack.version <= (0, 6, 1) and \
|
return (0, 5, 6) <= msgpack.version <= (0, 6, 1) and \
|
||||||
msgpack.version not in [(0, 5, 7), (0, 5, 8), (0, 5, 9)]
|
msgpack.version not in [] # < blacklist bad releases here
|
||||||
|
|
||||||
|
|
||||||
def get_limited_unpacker(kind):
|
def get_limited_unpacker(kind):
|
||||||
|
|
Loading…
Reference in New Issue