3 ms·
> Can I now trust modern python installations to have native-json enabled sqlite built in? There is no absolute guarantee because distros can use any supported
by lifthrasiir 3y ago
> Can I now trust modern python installations to have native-json enabled sqlite built in?
There is no absolute guarantee because distros can use any supported SQLite version to build Python (though Debian [1] and thus Ubuntu has long enabled -DSQLITE_ENABLE_JSON1), but you can expect that any Python version released shortly after 2022-03-16 [2] supports JSON functions in the Windows and macOS builds.
[1] https://sources.debian.org/src/sqlite3/3.16.2-5%2Bdeb9u1/debian/rules/#L41 https://sources.debian.org/src/sqlite3/3.16.2-5%2Bdeb9u1/deb...
[2] https://github.com/python/cpython/pull/31655 https://github.com/python/cpython/pull/31655