Skip to content

Remove wgpu.gui canvases - #735

Merged
almarklein merged 9 commits into
mainfrom
no-gui
Sep 15, 2025
Merged

Remove wgpu.gui canvases#735
almarklein merged 9 commits into
mainfrom
no-gui

Conversation

@almarklein

@almarklein almarklein commented Sep 4, 2025

Copy link
Copy Markdown
Member
  • Users should use rendercanvas instead.
  • For now, doing from wgpu.gui.auto import WgpuCanvas will just provide a RenderCanvas.
  • Same for wgpu.gui.WgpuCanvasBase, because PyGfx still imports that.
  • Update tests, Remove from docs, remove more references etc.
  • Restore WgpuCanvasInterface.

@almarklein
almarklein marked this pull request as ready for review September 5, 2025 13:34
@almarklein
almarklein requested a review from Korijn as a code owner September 5, 2025 13:34
@almarklein

Copy link
Copy Markdown
Member Author

@Korijn let's merge this and then do a release.

Korijn
Korijn previously approved these changes Sep 10, 2025
@almarklein

Copy link
Copy Markdown
Member Author

Ruff released a new version, thus the linting errors.

@almarklein almarklein mentioned this pull request Sep 15, 2025
1 task
@almarklein
almarklein merged commit cf4d583 into main Sep 15, 2025
20 checks passed
@almarklein
almarklein deleted the no-gui branch September 15, 2025 07:31
@EpicWink

EpicWink commented Oct 14, 2025

Copy link
Copy Markdown
Contributor

Why did this remove the wgpu and jupyter extras? It seems unrelated, and the comment "for users" indicates it was part of the public API nevermind, I see that now wgpu doesn't use glfw anymore. I've moved my glfw requirement to: rendercanvas[wgpu].

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.

3 participants