Skip to content

Simplify framebuffer_mixin by removing deprecation notice#423

Merged
rm-hull merged 7 commits into
mainfrom
rm-hull-patch-1
May 27, 2026
Merged

Simplify framebuffer_mixin by removing deprecation notice#423
rm-hull merged 7 commits into
mainfrom
rm-hull-patch-1

Conversation

@rm-hull

@rm-hull rm-hull commented May 26, 2026

Copy link
Copy Markdown
Owner

Removed deprecation warning for string framebuffer in framebuffer_mixin.

Fixes #422

Removed deprecation warning for string framebuffer in framebuffer_mixin.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes deprecated string framebuffer support and its associated warning from the __framebuffer_mixin class. The review feedback suggests that since the deprecation period has ended, the entire mixin class is now redundant and should be removed from the codebase. Alternatively, if the mixin is retained, the init_framebuffer method can be simplified using a single-line fallback.

Comment thread luma/oled/device/framebuffer_mixin.py
Comment thread luma/oled/device/framebuffer_mixin.py Outdated
rm-hull added 2 commits May 26, 2026 21:06
Simplified framebuffer initialization logic by using a single line conditional assignment.
Comment thread luma/oled/device/framebuffer_mixin.py

@thijstriemstra thijstriemstra left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks. if you can also update the license year in the file and add a changelog entry and it's good to go.

@rm-hull rm-hull merged commit 4e8b3b7 into main May 27, 2026
8 checks passed
@rm-hull rm-hull deleted the rm-hull-patch-1 branch May 27, 2026 06:46
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.

Remove deprecation warning if a string framebuffer is specified

2 participants