From 485852d7009cf2077ebb093a758b82f05be31a04 Mon Sep 17 00:00:00 2001 From: Daniel Vaz Gaspar Date: Mon, 13 Dec 2021 12:03:41 +0000 Subject: [PATCH] ci: temp fix for mysqlclient on an OS regression bug (#17724) --- scripts/python_tests.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/python_tests.sh b/scripts/python_tests.sh index b9ef2cee2..1681cc8af 100755 --- a/scripts/python_tests.sh +++ b/scripts/python_tests.sh @@ -18,6 +18,11 @@ # set -e +# Temporary fix, probably related with https://bugs.launchpad.net/ubuntu/+source/opencv/+bug/1890170 +# MySQL was failling with: +# from . import _mysql +# ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: cannot allocate memory in static TLS block +export LD_PRELOAD=/lib/x86_64-linux-gnu/libstdc++.so.6 export SUPERSET_CONFIG=${SUPERSET_CONFIG:-tests.integration_tests.superset_test_config} export SUPERSET_TESTENV=true echo "Superset config module: $SUPERSET_CONFIG"