From dfaadf6f3303035de49debf6baee3874f57fdcb5 Mon Sep 17 00:00:00 2001 From: Sam Doran Date: Mon, 31 Aug 2020 16:38:48 -0400 Subject: [PATCH] Fix inventory_kubevirt_conformance test (#71546) --- .../targets/inventory_kubevirt_conformance/runme.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/integration/targets/inventory_kubevirt_conformance/runme.sh b/test/integration/targets/inventory_kubevirt_conformance/runme.sh index 47e0fb7162a..dcaf0803451 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 &