cloudfoundry / python-buildpack

Cloud Foundry buildpack for the Python Language
http://docs.cloudfoundry.org/buildpacks/
Apache License 2.0
119 stars 278 forks source link

Pin mysqlclient version in brats fixtures #790

Closed brayanhenao closed 1 year ago

brayanhenao commented 1 year ago

Context

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)

Solution

Pin the version of mysqlclient to v2.1.1