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 Dec 13, 2021
1 parent 7192016 commit 485852d
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 485852d

Please sign in to comment.