Skip to content

Upgrade Python runtime from 3.12 to 3.13 (current GA) #22

@paulyuk

Description

@paulyuk

Summary

Upgrade the Python runtime from 3.12 to 3.13, which is the latest GA version supported by Azure Functions.

Current State

infra/main.bicep:

runtimeName: 'python'
runtimeVersion: '3.12'

Proposed Changes

infra/main.bicep:

runtimeName: 'python'
runtimeVersion: '3.13'  // Latest GA

requirements.txt: (if any version pins need updating)

  • Review and update any packages that have Python 3.13 compatibility improvements

Why This Change?

Python 3.13 is now the latest GA version supported by Azure Functions Flex Consumption plan. Key improvements include:

  • Performance optimizations
  • Improved error messages
  • New typing features
  • Better async support

Supported Python Versions (Feb 2026)

Version Status
3.13 ✅ GA (recommended)
3.12 ✅ GA
3.11 ✅ GA
3.10 ✅ GA

Testing Checklist

  • pip install -r requirements.txt succeeds
  • func start runs without errors
  • azd up deploys successfully
  • HTTP functions respond correctly
  • No deprecation warnings in logs

Reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions