| 17 | |
| 18 | To find the exact SQLite version, search for "sqlite" in the installer files for [https://github.com/python/cpython/blob/main/PCbuild/get_externals.bat Windows] and [https://github.com/python/cpython/blob/main/Mac/BuildScript/build-installer.py macOS] in the CPython repository. Use the branch/tag selector to specify the Python version. |
| 19 | |
| 20 | The SQLite version that ships with [https://sources.debian.org/src/sqlite3/ Debian] and [https://git.launchpad.net/ubuntu/+source/sqlite3/ Ubuntu] are: |
| 21 | * Debian 11 (bullseye): 3.34.1 |
| 22 | * Debian 12 (bookworm): 3.40.1 |
| 23 | * Ubuntu 20.04 (focal): 3.31.1 |
| 24 | * Ubuntu 22.04 (jammy): 3.37.2 |
| 25 | * Ubuntu 24.04 (noble): 3.45.1 |
| 26 | |
| 27 | Generally, Django's minimum supported SQLite version is based on the minimum of the versions found in the oldest supported Python, Debian, and Ubuntu. This usually spans a period of 5 years after the SQLite release. In addition, we also evaluate the benefits (such as new features or code cleanups) before dropping support of older SQLite versions. See [https://code.djangoproject.com/query?summary=~Drop+support+for+SQLite past tickets] for reference on how we bump our minimum supported SQLite version. |
| 28 | |