pytest output:
...
============================== short test summary info ===============================
FAILED tests/test_cli.py::test_optimize[tables0] - assert 1662976 < 1662976
FAILED tests/test_cli.py::test_optimize[tables1] - assert 1667072 < 1662976
===================== 2 failed, 538 passed, 3 skipped in 34.32s ======================
Came across this while packaging sqlite-utils for NixOS, but it can be recreated it using the alpine:edge docker image as well as follows:
docker run --rm -it alpine:edge /bin/sh
# apk update && apk add git sqlite python3 gcc python3-dev musl-dev && python3 -m ensurepip
# git clone https://github.com/simonw/sqlite-utils.git
# cd sqlite-utils/
# pip3 install -e .[test]
# pytest
This definitely works on sqlite v3.33.
pytest output:
Came across this while packaging
sqlite-utilsfor NixOS, but it can be recreated it using thealpine:edgedocker image as well as follows:This definitely works on sqlite v3.33.