Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

fix: install pkg-config dependency for mysqlclient>=2.2.0 #1470

Conversation

MichaelRoytman
Copy link
Contributor

JIRA: None.

Description:

Repositiories that depend on mysqlclient>=2.2.0 will need to install the package pkg-config in their Dockerfile: PyMySQL/mysqlclient#620. This commit installs the pkg-config package in the Dockerfile.

If this is missing, then pip install of mysqlclient fails with an error that includes the following:

Exception: Can not find valid pkg-config name.
Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually

See edx/edx-arch-experiments#349.

Author concerns: None.

Dependencies: None.

Installation instructions: None.

Testing instructions:

Build the Dockerfile using docker build -f Dockerfile ..

Repositiories that depend on mysqlclient>=2.2.0 will need to install the package pkg-config in their Dockerfile: PyMySQL/mysqlclient#620. This commit installs the pkg-config package in the Dockerfile.

If this is missing, then pip install of mysqlclient fails with an error that includes the following:

Exception: Can not find valid pkg-config name.
Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually

See edx/edx-arch-experiments#349.
@MichaelRoytman MichaelRoytman merged commit 21c271c into master Jul 7, 2023
@MichaelRoytman MichaelRoytman deleted the michaelroytman/update-Dockerfile-pkg-config-mysqlclient-dependency branch July 7, 2023 14:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants