-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Description
Issue Summary:
Any deployment mechanism using remote build in the backend that targets a 3.14 Flex app will fail.
Examples include:
- VSCode Extension: deployments may timeout
- Core Tools (
func azure functionapp publish): deployments fail withPlatform 'python' version '3.14' is unsupported - AZ CLI (
az functionapp deployment source config-zip): deployments fail withPlatform 'python' version '3.14' is unsupported - GitHub Actions
Mitigations / Workarounds:
Deployments to a 3.14 Flex app need to include pre-built dependencies.
You can build the correct package using
func pack --build-native-deps: this requires Docker running (eg: Docker Desktop), and it builds function app locally using an image that matches the environment used in Azure. When enabled, Core Tools starts a Docker container, builds the app inside that container, and creates a ZIP file with all dependencies restored in .python_packages.- Azure DevOps, with PythonVersion set to 3.14 and the pool set to ubuntu
- GitHub Actions
- Docker, targeting the image
4-python3.14-appservice
You can deploy the package with remote build disabled:
az functionapp deployment source config-zip --src <zip> --build-remote falseReffunc azure functionapp publish <app name> --no-buildRef- GitHub Actions, setting remote build to false Ref
ETA for support
We are currently targeting December - January for this scenario to be supported.
Example Error Messages:
Error: Platform 'python' version '3.14' is unsupported. Supported versions: 3.10.13, 3.11.10, 3.11.11, 3.11.12, 3.11.13, 3.11.14, 3.11.7, 3.11.8, 3.12.1, 3.12.10, 3.12.11, 3.12.12, 3.12.2, 3.12.6, 3.12.8, 3.12.9, 3.13.1, 3.13.2, 3.13.3, 3.13.5, 3.13.8, 3.8.18, 3.9.18, 3.10.13, 3.11.10, 3.11.11, 3.11.12, 3.11.13, 3.11.14, 3.11.7, 3.11.8, 3.12.1, 3.12.10, 3.12.11, 3.12.12, 3.12.2, 3.12.6, 3.12.8, 3.12.9, 3.13.1, 3.13.2, 3.13.3, 3.13.5, 3.13.8, 3.8.18, 3.9.18\n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.14 -p packagedir=.python_packages/lib/site-packages More information: Error: Platform 'python' version '3.14' is unsupported. Supported versions: 3.10.13, 3.11.10, 3.11.11, 3.11.12, 3.11.13, 3.11.14, 3.11.7, 3.11.8, 3.12.1, 3.12.10, 3.12.11, 3.12.12, 3.12.2, 3.12.6, 3.12.8, 3.12.9, 3.13.1, 3.13.2, 3.13.3, 3.13.5, 3.13.8, 3.8.18, 3.9.18, 3.10.13, 3.11.10, 3.11.11, 3.11.12, 3.11.13, 3.11.14, 3.11.7, 3.11.8, 3.12.1, 3.12.10, 3.12.11, 3.12.12, 3.12.2, 3.12.6, 3.12.8, 3.12.9, 3.13.1, 3.13.2, 3.13.3, 3.13.5, 3.13.8, 3.8.18, 3.9.18
The deployment failed, Please check the printed logs.
Metadata
Metadata
Assignees
Labels
No labels