summaryrefslogtreecommitdiffstats
path: root/test/integration/targets
diff options
context:
space:
mode:
authorSloane Hertel <19572925+s-hertel@users.noreply.github.com>2021-12-23 19:20:24 +0100
committerGitHub <noreply@github.com>2021-12-23 19:20:24 +0100
commitfa617fcd7b146b110c7f932c224f838116f43a60 (patch)
tree33617a2abb5beaee9e501643237f1cec98dddf24 /test/integration/targets
parentcheck for indirect service in systemd (#76462) (diff)
downloadansible-fa617fcd7b146b110c7f932c224f838116f43a60.tar.xz
ansible-fa617fcd7b146b110c7f932c224f838116f43a60.zip
Disable the _distutils_hack in newer setuptools (#76600)
* Disable the _distutils_hack in newer setuptools. Doesn't fix the underlying issue of the venv finding the _distutils_hack of a setuptools that is not its own. ci_complete * re-throw blanket
Diffstat (limited to 'test/integration/targets')
-rwxr-xr-xtest/integration/targets/entry_points/runme.sh1
-rw-r--r--test/integration/targets/setup_paramiko/install-FreeBSD-python-3.yml2
-rw-r--r--test/integration/targets/setup_paramiko/install-RedHat-8-python-3.yml2
3 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/targets/entry_points/runme.sh b/test/integration/targets/entry_points/runme.sh
index 63f1c0dfec..bb21369445 100755
--- a/test/integration/targets/entry_points/runme.sh
+++ b/test/integration/targets/entry_points/runme.sh
@@ -4,6 +4,7 @@ set -eu
source virtualenv.sh
set +x
unset PYTHONPATH
+export SETUPTOOLS_USE_DISTUTILS=stdlib
base_dir="$(dirname "$(dirname "$(dirname "$(dirname "${OUTPUT_DIR}")")")")"
bin_dir="$(dirname "$(command -v pip)")"
diff --git a/test/integration/targets/setup_paramiko/install-FreeBSD-python-3.yml b/test/integration/targets/setup_paramiko/install-FreeBSD-python-3.yml
index 27daf3cfe9..f737fe3017 100644
--- a/test/integration/targets/setup_paramiko/install-FreeBSD-python-3.yml
+++ b/test/integration/targets/setup_paramiko/install-FreeBSD-python-3.yml
@@ -4,3 +4,5 @@
pip: # no package in pkg, just use pip
name: paramiko
extra_args: "-c {{ remote_constraints }}"
+ environment:
+ SETUPTOOLS_USE_DISTUTILS: stdlib
diff --git a/test/integration/targets/setup_paramiko/install-RedHat-8-python-3.yml b/test/integration/targets/setup_paramiko/install-RedHat-8-python-3.yml
index 19fd3f63ab..55677f21b0 100644
--- a/test/integration/targets/setup_paramiko/install-RedHat-8-python-3.yml
+++ b/test/integration/targets/setup_paramiko/install-RedHat-8-python-3.yml
@@ -4,3 +4,5 @@
pip: # no python3-paramiko package exists for RHEL 8
name: paramiko
extra_args: "-c {{ remote_constraints }}"
+ environment:
+ SETUPTOOLS_USE_DISTUTILS: stdlib