Azure App Service - has Older Sqlite3 version 3.34.1

Manoranjan Kumar 0 Reputation points

I have created an Azure App Service with below options:

OS: Linux
Runtime: Python 3.11 or Python 3.10
App Service Plan: Free

When I deployed my python flask app on the above app service, I was surprised to find the sqlite3 version 3.34.1 which is pretty old and stale. it dates back to 20-Jan-2023

Here is the small code snippet, that I executed on Azure App Service:

import sqlite3

Usually, sqlite3 is part of the standard library, when I check it inside open-source Python 3.11 has 3.39.4,

Why is this gap on App Service. Do they create a custom python distribution with older sqlite3 version intentionally or where is the gap?

Please help to clarify the doubts. Thanks in advance

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,663 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andriy Bilous 9,891 Reputation points MVP

    Hello @Manoranjan Kumar

    App Service on Linux supports a number of language specific built-in images. Python Dockerfile that is used by Azure App Service Linux is located here.

    Base image is with is modified Debian

    Microsoft updates language specific built-in images from time to time, but if the runtime your application requires is not supported or required additional packages are not included in the built-in images, you can deploy it with a custom container.

    0 comments No comments