TL;DR
Version 4.2.1 of sqlite-utils addresses a crashing bug caused by a missing dependency, typing-extensions. A new smoke test was implemented to verify CLI functionality without development dependencies.
✦ Why It Matters
Ensure your sqlite-utils installation includes all necessary dependencies to avoid crashes.
Key Takeaways
Full Summary
In sqlite-utils version 4.2.1, a crashing bug was identified due to the absence of the typing-extensions package, which was not explicitly listed as a dependency. This package was only installed through other development dependencies, leading to issues when running sqlite-utils directly.
To resolve this, a smoke test was developed to verify the functionality of the command-line interface (CLI) tool without relying on development dependencies. The test can be executed using the command 'uv run --isolated --no-default-groups sqlite-utils --help', where the '--no-default-groups' flag prevents the installation of default development groups, and '--isolated' ignores any existing virtual environment dependencies.
This approach ensures that the tool remains functional in a minimal dependency environment, enhancing its reliability for users.
Related