ATRIUMsearch → argument graph
Article · 2026-08-13 · 2 moments

sqlite-utils 4.2.1

Release: sqlite-utils 4.2.1 Fixes a crashing bug in sqlite-utils 4.2. I'd introduced code that looks like this: from typing_extensions import Self It turned out the typing-extensions package was not listed as a dependency for sqlite-utils - it was installed by one of the other dependencies in the dev dependency group, but when you uvx sqlite-utils directly you don't get those dependencies. As part of fixing this I figured out how to run a smoke test to ensure the CLI tool still works ✦ AI generated

01
Mechanism

A smoke test can verify the CLI tool still works outside the dev dependency group via 'uv run --isolated --no-default-groups sqlite-utils --help'.

As part of the fix, I worked out a smoke test that runs the CLI from the project checkout without dev dependencies, using uv's --isolated and --no-default-groups flags.

transcript

Simon Willison: As part of fixing this I figured out how to run a smoke test to ensure the CLI tool still works even without those dev dependencies, which can be run from the project checkout: uv run --isolated --no-default-groups sqlite-utils --help The --no-default-groups argument prevents it from installing that default dev group, and --isolated means that even if there is a .venv/ folder containing extra dependencies they will be ignored for the duration of that uv run command.

supports · 1

02
Fact

sqlite-utils 4.2 shipped with a crashing bug because I introduced 'from typing_extensions import Self' while typing-extensions was not a declared dependency of the package.

Release 4.2.1 of sqlite-utils fixes a crashing bug in 4.2 that arose because the code used Self from typing_extensions, a package that was not declared as a direct dependency.

transcript

Simon Willison: Fixes a crashing bug in sqlite-utils 4.2. I'd introduced code that looks like this: from typing_extensions import Self It turned out the typing-extensions package was not listed as a dependency for sqlite-utils - it was installed by one of the other dependencies in the dev dependency group, but when you uvx sqlite-utils directly you don't get those dependencies.

Highlight slides
Related episodes