dbus-python
dbus-python copied to clipboard
Missing PEP517 compliance, cannot install dbus-python with Poetry
When I try to install dbus-python with poetry I got this error
$ poetry add dbus-python
../meson.build:175:11: ERROR: Python dependency not found
Note: This error originates from the build backend, and is likely not a problem with poetry but with dbus-python (1.3.2) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "dbus-python (==1.3.2)"'.
When I try to use pip it works fine
$ pip install dbus-python
Successfully installed dbus-python-1.3.2
It is because poetry accepts only PEP517 compliant dependencies. Could you consider updating dbus-python to be PEP517?
- python 3.12
- ubuntu 22.04
- poetry 1.8.3