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
Reference