Skip to content

Needs further fixing to be warning-free on 9.0 while working on 8.x. #40

Open
@jepler

Description

@jepler

On 9.0, the current version prints warnings at import:

Adafruit CircuitPython 9.0.0-rc.1-1-g7e7b2a4154-dirty on 2024-03-17; Adafruit Macropad RP2040 with rp2040
>>> import adafruit_displayio_ssd1306
FutureWarning: FourWire moved from displayio to fourwire
FutureWarning: I2CDisplay moved from displayio to i2cdisplaybus
FutureWarning: I2CDisplay renamed I2CDisplayBus
FutureWarning: Display moved from displayio to busdisplay
FutureWarning: Display renamed BusDisplay

this is related to how an attempt was made to fix this, but it's not quite right because of how the try/import/except blocks are organized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions