That is, do you compile and distribute the version from sqlite.org or do you depend on someone else to package it for you?
If the former, then change the compile flags.
If the latter, isn't the problem that your distro/packaging provider didn't enable the flags you wanted? Complain to them.
As a quick look, I see https://github.com/karlb/sqlite-icu claims "includes a loadable icu extension module for sqlite. This allows other python packages to use this extension without requiring dependencies outside of the python ecosystem". I've never tried it.
That is, do you compile and distribute the version from sqlite.org or do you depend on someone else to package it for you?
If the former, then change the compile flags.
If the latter, isn't the problem that your distro/packaging provider didn't enable the flags you wanted? Complain to them.
As a quick look, I see https://github.com/karlb/sqlite-icu claims "includes a loadable icu extension module for sqlite. This allows other python packages to use this extension without requiring dependencies outside of the python ecosystem". I've never tried it.
There are also alternate sqlite bindings for Python, like https://github.com/coleifer/cysqlite .