gpiozero fails to set bias with lg-gpio 0.2

Bug #2019310 reported by Dave Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gpiozero (Ubuntu)
Fix Released
Undecided
Dave Jones
Lunar
Invalid
Undecided
Dave Jones
Mantic
Fix Released
Undecided
Dave Jones

Bug Description

For example:

>>> from gpiozero import Button
>>> btn = Button(4, pull_up=False)
... lots of stack trace ...
AttributeError: module 'lgpio' has no attribute 'SET_BIAS_DISABLE'

This constant changed name in lg-gpio 0.2.

Dave Jones (waveform)
Changed in gpiozero (Ubuntu):
assignee: nobody → Dave Jones (waveform)
Changed in gpiozero (Ubuntu Lunar):
assignee: nobody → Dave Jones (waveform)
Revision history for this message
Dave Jones (waveform) wrote :

Doh! Forgot this got fixed for Mantic before release. Lunar is now EOL; setting to Invalid.

Changed in gpiozero (Ubuntu Lunar):
status: New → Invalid
Changed in gpiozero (Ubuntu Mantic):
status: New → Fix Released
Changed in gpiozero (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.