A recent patch upgraded thrift_sasl from 0.4.2 to 0.4.3. It broke the builds on Centos-7. We fixed the build issue by changing setup.py for thrift_sasl 0.4.3 as work around. A better approach to fix the issue is to create a temporarily virtualenv prior to the invocation of
python in shell/make_shell_tarball.sh, then upgrade pip and install up to date setuptools in virtualenv. Remove the virtualenv after invocation of python code. With this approach, we can revert back the code change made for thrift_sasl 0.4.3.