add mysqlclient wheels for python3/cidb

This was fun to build.  It took some manual hacks to the tools:
(0) use manylinux2010 docker container
(1) install mysql: yum install -y mysql-devel
(2) edit /opt/python/cp37-cp37m/lib/python3.7/site-packages/auditwheel/policy/policy.json
(2a) add "" to "lib_whitelist"
 - lib used to be in the whitelist but was removed due to Fedora
 - all our Debian/Ubuntu systems should have this
 - patchelf has a bug when processing this module too
(3) tweak linkage so we don't pull in
(3a) rm /usr/local/lib/libcrypt.{so,a}
(3b) ln -s /lib64/
(4) get a checkout of upstream patchelf and disable X zeroing to
    workaround another patchelf bug that mishandles symbol versions
(4a) use patch:
(4b) compile & link statically to copy into container
(4c) install that at /usr/local/bin/patchelf

Now you should be able to build the wheel w/pip & run auditwheel.

TEST=import MySQLdb inside virtualenv works

Change-Id: I407f05f1d54edfacdc43523f64ddea86757c1570
Reviewed-by: Chris McDonald <>
Commit-Queue: Mike Frysinger <>
Tested-by: Mike Frysinger <>
diff --git a/pip_packages/mysqlclient-1.3.14-cp36-cp36m-manylinux2010_x86_64.whl b/pip_packages/mysqlclient-1.3.14-cp36-cp36m-manylinux2010_x86_64.whl
new file mode 100644
index 0000000..8fd0b66
--- /dev/null
+++ b/pip_packages/mysqlclient-1.3.14-cp36-cp36m-manylinux2010_x86_64.whl
Binary files differ
diff --git a/pip_packages/mysqlclient-1.3.14-cp37-cp37m-manylinux2010_x86_64.whl b/pip_packages/mysqlclient-1.3.14-cp37-cp37m-manylinux2010_x86_64.whl
new file mode 100644
index 0000000..6c6fc1f
--- /dev/null
+++ b/pip_packages/mysqlclient-1.3.14-cp37-cp37m-manylinux2010_x86_64.whl
Binary files differ
diff --git a/pip_packages/mysqlclient-1.3.14-cp38-cp38-manylinux2010_x86_64.whl b/pip_packages/mysqlclient-1.3.14-cp38-cp38-manylinux2010_x86_64.whl
new file mode 100644
index 0000000..afea8d2
--- /dev/null
+++ b/pip_packages/mysqlclient-1.3.14-cp38-cp38-manylinux2010_x86_64.whl
Binary files differ