Browse Source

Merge pull request #3525 from ThomasWaldmann/fixate-msgpack-requirement-1.0

require msgpack >= 0.4.6 and < 0.5.0 (1.0-maint).
TW 7 years ago
parent
commit
5b815e8535
1 changed files with 6 additions and 3 deletions
  1. 6 3
      setup.py

+ 6 - 3
setup.py

@@ -17,9 +17,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.
-# Also, we might use some rather recent API features.
-install_requires = ['msgpack-python>=0.4.6', ]
+install_requires = [
+    # msgpack pure python data corruption was fixed in 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