Skip to content

Library: apps 0.1.3.dev1 and pygraphics 0.2.0 - #717

Merged
bdbarnett merged 1 commit into
mainfrom
lib-pins-applibs-pygraphics
Nov 18, 2026
Merged

bdbarnett merged 1 commit into
mainfrom
lib-pins-applibs-pygraphics

Conversation

@bdbarnett

@bdbarnett bdbarnett commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Moves two pins in lib-lock.json: applibs from v0.1.2.dev12 to v0.1.3.dev1, and pygraphics from v0.1.6 to v0.2.0. audioinstruments is not touched.

What changes for a board: nothing is added to or removed from the package list. Compared with the library built from main, the versions of appkit, controlkit, deskkit, programkit, sayso, songmodel, soundmodule, spectrum, touchkit and applibs become 0.1.3.dev1, and pygraphics becomes 0.2.0. Source changes are in appkit (index, launcher, worker), controlkit (encoder), sayso (client, keepalive), songmodel (a new page_data.py), soundmodule (engine) and touchkit (net). In pygraphics' pure-Python copy, poly() fills with the same edge walk as the compiled module and MicroPython's framebuf, so a filled polygon can differ by a pixel where edges cross, and _div_trunc truncates toward zero for integers without going through a float. The pure-Python copy's message about saving PNGs names omnipython-desktop.

Checked: tools/libbuild.py check (0 problems) and build; the two libraries (before and after) have the same 191 directories. The ESP32 Audio Kit variant, which freezes appkit and touchkit, builds against this lock and fits, with 44160 bytes free in its app partition. It was not run on a board.

Compared with https://lib.omnipython.org, file hash by file hash: every applibs package (appkit, controlkit, deskkit, programkit, sayso, songmodel, soundmodule, spectrum, touchkit, applibs) and pygraphics comes out identical to what the index serves now (the index already carries 0.1.3.dev1 and 0.2.0). The only differences are omnipython's own packages, which the index serves at 0.8.1.dev1 and this branch builds at 0.8.0.

Firmware builds and the library index take the shared app libraries at apps 0.1.3.dev1 in place of 0.1.2.dev12, and the pure-Python pygraphics at 0.2.0 in place of 0.1.6. audioinstruments stays where it was.

Checked: tools/libbuild.py check reports 0 problems, and build assembles the library with the same 191 package directories as before. Against the library built from main, only the version strings of appkit, controlkit, deskkit, programkit, sayso, songmodel, soundmodule, spectrum, touchkit and applibs change, plus pygraphics 0.2.0; songmodel gains page_data.py and no package is renamed or dropped. A MicroPython ESP32 Audio Kit image that freezes appkit and touchkit from this library builds and fits, with 44160 bytes left in its app slot. That image was not run on a board.
@bdbarnett
bdbarnett merged commit f27db41 into main Nov 18, 2026
4 checks passed
@bdbarnett
bdbarnett deleted the lib-pins-applibs-pygraphics branch November 18, 2026 21:49
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