Skip to content

examples: import drivers from dali-drivers - #168

Merged
sde1000 merged 1 commit into
sde1000:masterfrom
tridonic-com:fix-example-driver-imports
Nov 20, 2026
Merged

sde1000 merged 1 commit into
sde1000:masterfrom
tridonic-com:fix-example-driver-imports

Conversation

@markus-becker-tridonic-com

Copy link
Copy Markdown
Contributor

The device drivers were split out to the separate dali-drivers package in 1.0, so the examples' dali.driver.* imports no longer resolve. Point them at dalidrivers.misc.* instead (same module and class names), so the examples run again once dali-drivers is installed alongside python-dali.

The serial example uses dalidrivers.misc.serial as published in dali-drivers 0.2; it moves to dalidrivers.typed.serial if the typed serial driver lands upstream.

The device drivers were split out to the separate dali-drivers package
in 1.0, so the examples' `dali.driver.*` imports no longer resolve. Point
them at `dalidrivers.misc.*` instead (same module and class names), so the
examples run again once `dali-drivers` is installed alongside python-dali.

The serial example uses `dalidrivers.misc.serial` as published in
dali-drivers 0.2; it moves to `dalidrivers.typed.serial` if the typed
serial driver lands upstream.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@sde1000
sde1000 merged commit 5f3cac2 into sde1000:master Nov 20, 2026
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants