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

Add hardware ABCs to encode platform implementation requrements #3023

Closed
wants to merge 2 commits into from

Conversation

sarayourfriend
Copy link
Contributor

@sarayourfriend sarayourfriend commented Dec 5, 2024

Refs #3022

This is just a draft to demonstrate the idea I've proposed in the related issue.

Nothing here is a strong recommendation, and I wouldn't be surprised if there are better ways to organise this or approach the problem overall. Mostly focused on making it easy to talk about the idea in the issue. I've only tested it with the dummy platform, so if there are circular importing issues related to defnining it directly in the toga.hardware.* modules, I haven't uncovered those yet 🤓.

For this PR to be complete, the new ABCs should be used in each platform without modifications required beyond adding the new base class. Of course a changelog entry would be needed as well, and perhaps an update to the prose contribution documentation to point platform implementers to these base classes existence.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@sarayourfriend sarayourfriend changed the title Add/location abc Add hardware ABCs to encode platform implementation requrements Dec 5, 2024
@freakboy3742
Copy link
Member

I'm going to close this PR based on the discussion from #3022.

@sarayourfriend sarayourfriend deleted the add/location-abc branch December 9, 2024 04:37
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