mysqlclient (2.2.0) not supporting PEP 517 builds
violuke opened this issue · comments
Luke Cousins commented
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
Inada Naoki commented
Even with poetry, you need pkg-config.
This package suports PEP 517. You just need properly configured pkg-config.