Upgrade to 0.13 with Python3 compatibility