An Azure service that provides an event-driven serverless compute platform.
Hi @EBT
Thank you for reaching out to Microsoft Q&A.
Both Python 3.12 and Python 3.13 are fully supported (GA) on Azure Functions Runtime 4.0 when running on an App Service Plan. There is no functional issue preventing either version from working with your current setup or the Azure SDK libraries you are using (azure-core, azure-functions, azure-storage-blob, azure-storage-queue). The decision point is not about something “not working,” but about choosing the most appropriate and future‑proof Python version. Python 3.13 is the newer GA release for Azure Functions, offers a longer support lifecycle, and introduces runtime-level improvements (such as Python worker runtime version control and improved dependency isolation). Python 3.12 remains a stable and supported option, but it has a shorter support window and does not include some of the newer runtime capabilities introduced with Python 3.13.
Refer below points to resolve this issue or this is the workaround
Use Python 3.13 for new or actively developed Azure Functions apps
- Python 3.13 is GA on Azure Functions Runtime 4.0 and has the longest support timeline compared to Python 3.12.
- It is the recommended choice for App Service Plan–based Function Apps where long-term maintainability and reduced future upgrades are important.
Take advantage of Python 3.13 runtime version control (optional)
- Starting with Python 3.13, Azure Functions allows you to control the Python worker runtime version via
requirements.txt. - You can either stay on the latest stable worker automatically or pin to a specific version once validated in lower environments.
# Example (do not pin to prerelease versions for production)
azure-functions-runtime
Continue using Python 3.12 if you need a conservative or compatibility-first approach
- Python 3.12 is still fully supported (GA) on Azure Functions Runtime 4.0.
- This may be preferred if internal standards, compliance requirements, or third‑party dependencies are already standardized on Python 3.12.
No library changes are required for either option
- The Azure SDK libraries you listed (azure-core, azure-functions, azure-storage-blob, azure-storage-queue) are supported on both Python 3.12 and Python 3.13.
- No code changes are required solely due to the Python version upgrade.
Final recommendation
- For new deployments: Python 3.13
- For existing workloads prioritizing minimal change: Python 3.12, with a planned upgrade to 3.13 later
and click on Yes for was this answer helpful. And, if you have any further query do let us know.