require msgpack >= 0.4.6 and < 0.5.0.

maybe this is the easiest way for us to deal with msgpack compatibility.

0.5.0 release had some troubles:
- FutureWarning on stderr disturbing other output there, breaking tests
- pip install -U broken due to a pip issue with the transisition pkg
  which was needed due to the package rename (ImportError for msgpack)
- some linux dists not packaging the transition pkg
- dropped py34 support/testing
This commit is contained in:
Thomas Waldmann 2018-01-10 08:15:40 +01:00
parent ff52f24a81
commit fa924c64ff
1 changed files with 6 additions and 3 deletions

View File

@ -35,9 +35,12 @@ if my_python < min_python:
# Are we building on ReadTheDocs? # Are we building on ReadTheDocs?
on_rtd = os.environ.get('READTHEDOCS') on_rtd = os.environ.get('READTHEDOCS')
# msgpack pure python data corruption was fixed in 0.4.6. install_requires = [
# Also, we might use some rather recent API features. # msgpack pure python data corruption was fixed in 0.4.6.
install_requires = ['msgpack-python>=0.4.6', ] # msgpack 0.5.0 was a bit of a troublemaker.
# also, msgpack dropped py34 support at 0.5.0.
'msgpack-python>=0.4.6,<0.5.0',
]
# note for package maintainers: if you package borgbackup for distribution, # note for package maintainers: if you package borgbackup for distribution,
# please add llfuse as a *requirement* on all platforms that have a working # please add llfuse as a *requirement* on all platforms that have a working