From f757dbcb82ac31197f93298c7d2a43579e285400 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 20 Sep 2020 21:35:35 -0700 Subject: [PATCH] removed duplicate install and added debug dump of collection loading to see what tests are doing --- .ci/localhost_ansible_install.py | 2 +- ansible_mitogen/planner.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/localhost_ansible_install.py b/.ci/localhost_ansible_install.py index 8b7cf62e..75d24c36 100755 --- a/.ci/localhost_ansible_install.py +++ b/.ci/localhost_ansible_install.py @@ -14,7 +14,7 @@ batches = [ # 'pip install -q ansible=={}'.format(ci_lib.ANSIBLE_VERSION) # ansible v2.10 isn't out yet so we're installing from github for now # Don't set -U as that will upgrade Paramiko to a non-2.6 compatible version. - 'pip install -q virtualenv {}'.format(ci_lib.ANSIBLE_VERSION) + 'pip install -q {}'.format(ci_lib.ANSIBLE_VERSION) ] ] diff --git a/ansible_mitogen/planner.py b/ansible_mitogen/planner.py index e77ba631..daff63c6 100644 --- a/ansible_mitogen/planner.py +++ b/ansible_mitogen/planner.py @@ -577,6 +577,8 @@ def _load_collections(invocation): for collection in collections: invocation._extra_sys_paths.add(collection.b_path.decode('utf-8')) + # find out what tests are doing differently + raise ValueError(invocation._extra_sys_paths) def invoke(invocation):