From f4240deca916c41327241149a9fd5de6f6217c99 Mon Sep 17 00:00:00 2001 From: drew2a Date: Thu, 3 Feb 2022 17:07:53 +0700 Subject: [PATCH] Fix doc build --- doc/conf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index ab174a412a0..30999975f6c 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -35,8 +35,7 @@ from tribler_core.utilities.dependencies import Scope, get_dependencies from tribler_core.utilities.patch_import import patch_import -modules_to_mock = set(get_dependencies(scope=Scope.core)) | \ - set(get_dependencies(scope=Scope.common)) | {'libtorrent', 'validate'} +modules_to_mock = set(get_dependencies(scope=Scope.core)) | {'libtorrent', 'validate'} with patch_import(modules=modules_to_mock): from tribler_core.components.restapi.rest.root_endpoint import RootEndpoint