The mysqlclient pip package got updated from v2.1.1 to v2.2.0 and introduces a braking change. It changes the way the pip package is configured (ref https://github.com/PyMySQL/mysqlclient/pull/586) and now requires pkg-config to be installed. This workaround doesn't work as intended in cflinuxfs3 (only works in cflinuxfs4)
Context
The
mysqlclient
pip package got updated fromv2.1.1
tov2.2.0
and introduces a braking change. It changes the way the pip package is configured (ref https://github.com/PyMySQL/mysqlclient/pull/586) and now requirespkg-config
to be installed. This workaround doesn't work as intended in cflinuxfs3 (only works in cflinuxfs4)Solution
Pin the version of
mysqlclient
tov2.1.1