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

Deprecation notice for RPi-GPIO install method during install #25

Closed
FoxtrotPerry opened this issue Aug 25, 2024 · 3 comments
Closed

Deprecation notice for RPi-GPIO install method during install #25

FoxtrotPerry opened this issue Aug 25, 2024 · 3 comments
Labels

Comments

@FoxtrotPerry
Copy link
Owner

FoxtrotPerry commented Aug 25, 2024

During sky-pi installation, a deprecation notice is shown warning of GPi.GPIO's deprecated install method (using a setup.py to install).

This is caused by the inky package used to drive the display. But luckily, they're moving to gpiod! When this PR is all settled and merged in, RPi.GPIO will no longer be around to cause the warning!

For those interested, the python library they seem to be moving towards is called gpiodevice and is maintained by the makers of the display used in this project.

@FoxtrotPerry FoxtrotPerry added the notice PSA label Sep 10, 2024
@Gadgetoid
Copy link

For those interested, the python library they seem to be moving towards is called gpiodevice and is maintained by the makers of the display used in this project.

For the record gpiod is the actual as official as it gets Linux means of accessing GPIO from Python - https://pypi.org/project/gpiod/ - since it packages libgpiod which, in turn, uses the GPIO character device interface (the one which will replace the deprecated GPIO sysfs interface).

gpiodevice is intended to be a gpio counterpoint to i2cdevice and sweep some common usage patterns into a library to assist in building user-facing, hand-holding drivers/code.

@FoxtrotPerry
Copy link
Owner Author

@Gadgetoid Thank you for the context! I can't thank you enough for putting so much effort into gpiodevice and inky. Working with the Inky display has been an absolute delight.

@FoxtrotPerry
Copy link
Owner Author

Resolved as of 0.11.0!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants