Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyproject dependencies should include 'gpiodevice' #10

Open
dannystaple opened this issue Sep 26, 2024 · 0 comments
Open

Pyproject dependencies should include 'gpiodevice' #10

dannystaple opened this issue Sep 26, 2024 · 0 comments

Comments

@dannystaple
Copy link

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.

dannystaple added a commit to dannystaple/inventorhatmini-python that referenced this issue Sep 26, 2024
Add the dependency as a proposed fix for including the gpiodevice module in requirements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant