Changes between Version 36 and Version 37 of SupportedDatabaseVersions


Ignore:
Timestamp:
Jan 28, 2025, 8:57:52 AM (3 days ago)
Author:
Sage Abdullah
Comment:

Clarified our policy for the minimum supported SQLite version.

Legend:

Unmodified
Added
Removed
Modified
  • SupportedDatabaseVersions

    v36 v37  
    33== SQLite
    44
    5 The SQLite version that ships with the Windows and OS X installers are:
    6 
     5The SQLite version that ships with the Windows and macOS installers are:
    76* Python 3.5 - 3.8.11
    87* Python 3.6 - 3.14.2
     
    1110* Python 3.9 - 3.34.0
    1211* Python 3.10 - 3.35.4
    13 
    14 Generally, the minimum supported SQlite version is the one that's shipped with the oldest supported Python version. For example, Django 2.1 supports Python 3.5 and later, so the minimum supported SQLite version is 3.8.11.
     12* Python 3.11 - 3.45.1
     13* Python 3.12 - 3.45.3
     14* Python 3.13 - 3.45.3
    1515
    1616Search the [https://docs.python.org/3/whatsnew/changelog.html Python Changelog] for "SQLite" to find entries like "Update Windows build and OS X installers to use SQLite 3.14.2."
     17
     18To 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
     20The 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
     27Generally, 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
    1729
    1830== PostgreSQL
Back to Top