Skip to content

Missing PEP517 compliance, cannot install dbus-python with Poetry #8

Description

@remss

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions