Video + notes on upgrading a Datasette plugin for the latest 1.0 alpha, with help from uv and OpenAI Codex CLI
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Plugin developers maintaining Datasette extensions get a repeatable recipe, uv-sandboxed tests plus a Codex CLI one-liner, for handling the 1.0a20 permission API break.
Simon Willison published a video plus notes showing how he upgraded one of his small add-ons, called datasette-checkbox, to work with a new test version of his data-exploration tool, Datasette. The new version broke an old permission-checking method, causing errors. He used free tools that run code in isolated spaces to reproduce the bug, then let OpenAI's coding agent, Codex, fix the code automatically. The finished update, version 0.1a4, is now available on the public Python package index, PyPI.
This is a practical walkthrough, not a product launch: Datasette 1.0a20 renamed the permission API, breaking older plugins. Willison shows a cheap workflow, run tests in disposable uv environments, then hand the failing test suite to OpenAI Codex CLI in non-interactive mode with a reference document and let it loop until tests pass. Teams maintaining many plugins could apply this to cut upgrade effort; the shipped result is datasette-checkbox 0.1a4 on PyPI.
Datasette 1.0a20 removed Datasette.permission_allowed(), so plugins using it 500-error. Willison's 'tadd' shell script runs pytest in an isolated uv environment installing the plugin as editable plus ~/dev/datasette; his tests were too weak to catch the failure until updated to assert a 200 on the table page. The fix was applied by 'codex exec --dangerously-bypass-approvals-and-sandbox' told to read the upgrade docs and make tadd pass. He verified the shipped 0.1a4 release with 'uvx --prerelease=allow'.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Datasette datasette-checkbox uv OpenAI Codex CLI PyPI Descript
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
datasette-charts 0.5a0
Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.