From f5d694eba4436bea3367e0716970806185e4d89c Mon Sep 17 00:00:00 2001 From: Sloane Hertel <19572925+s-hertel@users.noreply.github.com> Date: Thu, 23 Dec 2021 13:20:24 -0500 Subject: [PATCH] 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 (cherry picked from commit fa617fcd7b146b110c7f932c224f838116f43a60) --- .../targets/setup_paramiko/install-FreeBSD-11-python-3.yml | 2 ++ .../targets/setup_paramiko/install-RedHat-8-python-3.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/integration/targets/setup_paramiko/install-FreeBSD-11-python-3.yml b/test/integration/targets/setup_paramiko/install-FreeBSD-11-python-3.yml index eb01d00f1e1..42aa4473fef 100644 --- a/test/integration/targets/setup_paramiko/install-FreeBSD-11-python-3.yml +++ b/test/integration/targets/setup_paramiko/install-FreeBSD-11-python-3.yml @@ -10,3 +10,5 @@ pip: # no py36-paramiko package exists for FreeBSD 11 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 19fd3f63abc..55677f21b06 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