Skip to content

PyScript template: pydevices v0.7.9, with the web canvas and input files - #146

Merged
bdbarnett merged 1 commit into
mainfrom
pins-p2
Nov 11, 2026
Merged

bdbarnett merged 1 commit into
mainfrom
pins-p2

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

The template fetched pydevices v0.7.0, so it missed the multimer dispatch and Web Audio fixes in v0.7.9. pyscript.json now reads every file from v0.7.9. psdisplay there imports displaydev/_webcanvas.py and _webinput.py, and the Web Audio module imports audiodev/bytequeue.py, so all three are added to the file list.

I served the page in Playwright's Chromium: PyScript starts, the status line reads "Running displaydev in Pyodide. Click the canvas to paint.", the three new files and psdisplay are fetched from v0.7.9, and nothing is requested from v0.7.0. The unit tests pass with the URL check moved to v0.7.9.

The template fetched pydevices v0.7.0, so it missed the multimer dispatch and Web Audio fixes in v0.7.9. pyscript.json now reads every file from v0.7.9. psdisplay there imports displaydev/_webcanvas.py and _webinput.py, and the Web Audio module imports audiodev/bytequeue.py, so all three are added to the file list.

I served the page in Playwright's Chromium: PyScript starts, the status line reads "Running displaydev in Pyodide. Click the canvas to paint.", the three new files and psdisplay are fetched from v0.7.9, and nothing is requested from v0.7.0. The unit tests pass with the URL check moved to v0.7.9.
@bdbarnett
bdbarnett merged commit 572c393 into main Nov 11, 2026
1 check passed
@bdbarnett
bdbarnett deleted the pins-p2 branch November 11, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant