summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Doran <sdoran@redhat.com>2020-08-31 16:28:50 -0400
committerGitHub <noreply@github.com>2020-08-31 15:28:50 -0500
commita0ddefde38b4597e3b80eed23e3c76831d3f10ed (patch)
treec295f98b200f3d49aad45ac72a5466a633a98a09
parent1fa2d5fd6b768120b76a77929e27302b06accc0c (diff)
downloadansible-a0ddefde38b4597e3b80eed23e3c76831d3f10ed.tar.gz
Fix inventory_kubevirt_conformance test (#71545)
-rwxr-xr-xtest/integration/targets/inventory_kubevirt_conformance/runme.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/integration/targets/inventory_kubevirt_conformance/runme.sh b/test/integration/targets/inventory_kubevirt_conformance/runme.sh
index 47e0fb7162..dcaf080345 100755
--- a/test/integration/targets/inventory_kubevirt_conformance/runme.sh
+++ b/test/integration/targets/inventory_kubevirt_conformance/runme.sh
@@ -9,6 +9,16 @@ fi
set -eux
source virtualenv.sh
+# This is needed due to a change in setuptools >= 50.0.0
+# when installing ruamel.yaml without a wheel (which happens on FreeBSD).
+#
+# It is not clear how long this environment variable will work, so this may
+# break with newer versions of setuptools.
+#
+# See https://setuptools.readthedocs.io/en/latest/history.html#v50-0-0
+#
+export SETUPTOOLS_USE_DISTUTILS=stdlib
+
pip install openshift -c constraints.txt
./server.py &