You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by dp...@apache.org on 2021/12/13 12:05:13 UTC

[superset] branch master updated: ci: temp fix for mysqlclient on an OS regression bug (#17724)

This is an automated email from the ASF dual-hosted git repository.

dpgaspar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 485852d  ci: temp fix for mysqlclient on an OS regression bug (#17724)
485852d is described below

commit 485852d7009cf2077ebb093a758b82f05be31a04
Author: Daniel Vaz Gaspar <da...@gmail.com>
AuthorDate: Mon Dec 13 12:03:41 2021 +0000

    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 b9ef2ce..1681cc8 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"