From 985184b458c7151b2e0285f019c6e166faa6cd94 Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Fri, 12 Jul 2024 17:23:08 +0200 Subject: [PATCH] Fix import issue in bootstrap_test_shed.py $ make bootstrap_test_backend cd ../../../..; . .venv/bin/activate; python scripts/bootstrap_test_shed.py Traceback (most recent call last): File "/galaxy/scripts/bootstrap_test_shed.py", line 20, in from galaxy.util import requests ModuleNotFoundError: No module named 'galaxy' make: *** [Makefile:22: bootstrap_test_backend] Error 1 --- scripts/bootstrap_test_shed.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/bootstrap_test_shed.py b/scripts/bootstrap_test_shed.py index aa657476bace..ba1268bf96bd 100644 --- a/scripts/bootstrap_test_shed.py +++ b/scripts/bootstrap_test_shed.py @@ -17,12 +17,10 @@ Optional, ) -from galaxy.util import requests - sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, "lib"))) - from galaxy.tool_shed.util.hg_util import clone_repository +from galaxy.util import requests from tool_shed.test.base.api import ensure_user_with_email from tool_shed.test.base.api_util import ( create_user,