From e867373fc02edd32351d5c64261b182744690823 Mon Sep 17 00:00:00 2001
From: Thomas Woerner <twoerner@redhat.com>
Date: Fri, 28 Jun 2024 17:08:16 +0200
Subject: [PATCH] tests/sanity/sanity.sh: Install setuptools with pip

setuptools might not be installed before importing and using
galaxy_importer. This could result in a backtrace by disabling
ANSIBLE_TEST_LOCAL_IMAGE in galaxy-importer.cfg to run latest tests.
---
 tests/sanity/sanity.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/sanity/sanity.sh b/tests/sanity/sanity.sh
index 4589a3ed..e269750d 100644
--- a/tests/sanity/sanity.sh
+++ b/tests/sanity/sanity.sh
@@ -13,6 +13,7 @@ python -m venv "$VENV"
 source "$VENV"/bin/activate
 
 python -m pip install --upgrade pip
+pip install setuptools
 pip install galaxy_importer
 
 rm -f "$ANSIBLE_COLLECTION"-*.tar.gz
-- 
GitLab