There are quite a few solutions, e.g. hosting a private repository, but the quickest was to change the requirements.txt file to download from mysql’s cdn.
i.e., to change:
mysql-connector-python==1.0.12
to
https://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.15.tar.gz