Similar questions have been asked on SO several times (the references are at the end of the question). My interest is more focused and seeks additional details, so I decided to ask a new question.
Specifically, I want to upgrade the SQLite library used by the Python sqlite3 module on Windows. I need to make this upgrade for a local Python environment (venv, anaconda, etc.) using either an official binary or a custom-compiled version. I specifically do not want to use any third-party Python SQLite libraries. So the first part of the question is whether this upgrade is doable, how difficult it is, and what specific steps are necessary.
The second part of the question is associated with the modularity of SQLite. A significant portion of the SQLite features are not included in the core and must be enabled or may be disabled during compilation. The Python sqlite3 module does not provide any information about enabled SQLite functionality, except for the SQLite library version. So I am interested in how to gather more detailed information on the SQLite feature set available via the Python sqlite3 module. I want to see what functionality is missing before the upgrade and verify that it becomes available afterward.
The final part of the question is how to verify that the Python sqlite3 module functions correctly after the discussed upgrade.
For reference, here are similar questions previously asked on SO (the latest at the top):
How to make pyenv build a python with a different sqlite version or use different sqlite3 version for a python installed by pyenv?
Multiple versions of Sqlite3 for Python on the same server
How to change SQLite version used by Python?
Python sqlite3: run different sqlite3 version
Compile Python 3.4 with sqlite3
How to upgrade sqlite3 in python 2.7.3 inside a virtualenv?