PyMySQL / mysqlclient

MySQL database connector for Python (with Python 3 support)

Home Page:https://mysqlclient.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mysqlclient (2.2.0) not supporting PEP 517 builds

violuke opened this issue · comments

Describe the bug

Cannot install 2.2.0 with poetry in a debian docker container running on MacOS silicon.

To Reproduce

poetry add mysqlclient

Gives error

Note: This error originates from the build backend, and is likely not a problem with poetry but with mysqlclient (2.2.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "mysqlclient (==2.2.0)"'

I've seen the posts about installing pkg-config, but shouldn't I be able to install this via Poetry with that? And should PEP 517 be supported?

Thank you

Even with poetry, you need pkg-config.
This package suports PEP 517. You just need properly configured pkg-config.