Skip to content

Commit

Permalink
ci: temp fix for mysqlclient on an OS regression bug (#17724)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar authored and eschutho committed Dec 15, 2021
1 parent 2e0fe93 commit cda6250
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/python_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit cda6250

Please sign in to comment.