Skip to content

Add error message when deploying to flex apps with python 3.14#4861

Merged
alexweininger merged 1 commit intomicrosoft:mainfrom
gavin-aguiar:gaaguiar/add_py314_log
Dec 8, 2025
Merged

Add error message when deploying to flex apps with python 3.14#4861
alexweininger merged 1 commit intomicrosoft:mainfrom
gavin-aguiar:gaaguiar/add_py314_log

Conversation

@gavin-aguiar
Copy link
Copy Markdown
Contributor

This PR adds validation to prevent deploying Python 3.14 function apps to Flex Consumption plans, as remote build is not currently supported for this configuration.

Changes

  • Added a check in the deployment flow to detect when a Python 3.14 app is being deployed to a Flex Consumption function app
  • The validation reads the functionAppConfig.runtime.version property from the remote site configuration
  • When Python 3.14 on Flex is detected, the deployment is blocked with a clear error message
  • The error message includes a reference link (https://aka.ms/py314-remote-build-flex) for more information

@gavin-aguiar gavin-aguiar requested a review from a team as a code owner December 8, 2025 17:34
@alexweininger alexweininger merged commit 0bceb62 into microsoft:main Dec 8, 2025
2 checks passed
Comment thread src/commands/deploy/deploy.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants