|
|
|
|
|
by simonw
882 days ago
|
|
If anyone wants to try this out on macOS here's the fastest way I've found to try a new SQLite version there: https://til.simonwillison.net/sqlite/sqlite-version-macos-py... Short version: cd /tmp
wget 'https://www.sqlite.org/2024/sqlite-amalgamation-3450000.zip'
unzip sqlite-amalgamation-3450000.zip
cd sqlite-amalgamation-3450000
gcc -dynamiclib sqlite3.c -o libsqlite3.0.dylib -lm -lpthread
DYLD_LIBRARY_PATH=$PWD python3 -c "import sqlite3; print(sqlite3.sqlite_version)"
That prints "3.45.0" for me.If you have https://datasette.io/ installed you can then get a web UI for trying it out by running: DYLD_LIBRARY_PATH=$PWD datasette
|
|
https://sqlite.org/fiddle
is always updated as part of the release process and is updated periodically between releases.