Closed hartwork closed 3 years ago
The stdlib's pysqlite3 has no ICU support, unfortunately. This prevents good case insensitive searches, comparisons and similar operations for some languages. Skipping this can be ok for development on the web UI, but will cause worse query results in some cases.
I did not find a better way to install an ICU-enables sqlite3 python lib than the command removed in this PR.
Is pysqlite3 used at the moment? From inspecting the virtualenv my impression was that it would take import pysqlite3
or from pysqlite3 import ...
for pysqlite3 to be used, which I cannot find anywhere. My impression is: python stdlib is what's actually used at the moment. No? Please enlighten me :smiley:
Is pysqlite3 used at the moment? From inspecting the virtualenv my impression was that it would take
import pysqlite3
orfrom pysqlite3 import ...
for pysqlite3 to be used, which I cannot find anywhere. My impression is: python stdlib is what's actually used at the moment. No? Please enlighten me smiley
Hmm, it used to get imported under the sqlite3
name, but I can confirm that this does not happen anymore for me either. I'm not sure why and I'll have to dig deeper.
Sounds good. Should I make CI PR #11 work for compiling pysqlite3 in the mean time (by installing the needed dependencies) or treat PR #10 as a blocker to PR #11 for now?
Since ICU apparently it is not working anyway, we can remove the custom pysqlite3 until that is fixed. Either via this PR or via #11.
@karlb let's merge #10 then and I'll rebase #11 onto latest master
after to get the bits from #10 out of it. I think that's the cleanest. Go?
@karlb let's merge #10 then and I'll rebase #11 onto latest master after to get the bits from #10 out of it. I think that's the cleanest. Go?
Go!
After #3 I noticed that pysqlite3 does not even seem to be used any more (but Python's stdlib integration)…