From a1dad8c9dac86483c6ba04d779e9d80f9f7b2504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Thu, 8 Oct 2015 17:06:48 -0400 Subject: [PATCH] try to mock msgpack altogether to fix RTD again it seems that msgpack is a hard depends in archive... --- borg/archive.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/borg/archive.py b/borg/archive.py index 77638d6c1..f10d24d92 100644 --- a/borg/archive.py +++ b/borg/archive.py @@ -19,6 +19,9 @@ if have_cython(): from .chunker import Chunker from .hashindex import ChunkIndex import msgpack +else: + import mock + msgpack = mock.Mock() ITEMS_BUFFER = 1024 * 1024