Skip to content

Pyproject dependencies should include 'gpiodevice' #10

@dannystaple

Description

@dannystaple

Updating to the recent version 1.0.1, I was seeing the error:

File "/home/danny/robotvenv/lib/python3.11/site-packages/inventorhatmini/__init__.py", line 7, in <module>
     import gpiodevice
ModuleNotFoundError: No module named 'gpiodevice'

Reproducing

On a fresh virtual env, install via pip (or update):

python -mpip install --upgrade inventorhatmini.

Workaround

Installing gpiodevice into that virtualenv seems to work:
python -mpip install gpiodevice.

Suggested fix

I'm suspecting that adding it to the list at https://github.com/pimoroni/inventorhatmini-python/blob/main/pyproject.toml#L38 and republishing would do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions