microsoft / microsoft/Oryx

Oryx build fails only supporting Python 3.10.x

Open
#2,834 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
881
Forks
195
Avg merge
20h 13m
Merged PRs (30d)
13

Description

Bug Report
                                                                                                                                                 I'm also experiencing this issue. Deploying an Azure Function App on a **B2 (Basic) Dedicated plan** fails,                                      

while the same code deploys fine on a Y1 (Consumption) plan.
Environment: - Oryx Version: 0.2.20260204.1+0fdbe200b286be083841ff7fa201c6c2316dc6b9

  • OS Type: bullseye
  • Image Type: githubactions - App Service Plan: B2 (Basic/Dedicated)
  • Region: West US
  • Deployment method: VS Code extension (zip deploy + remote build)
    Error log:
    External SDK provider is enabled.
    Requesting metadata for platform python from external SDK provider
    Error: Platform 'python' version '3.10.4' is unsupported.
    Supported versions: 3.10.0, 3.10.0a2, 3.10.13, 3.10.14, 3.10.15, 3.10.16, 3.10.17, 3.10.18, 3.10.19
    Additional note: Even setting python_version = "3.10" in Terraform resolves to 3.10.4 which is also rejected by the external SDK provider. Tested 3.11 and 3.12 as well — all rejected.
    Only the exact versions listed (3.10.0, 3.10.13-3.10.19) are accepted.
    The same codebase deploys successfully on a Y1 (Consumption) plan, suggesting the external SDK provider behaves differently across plan types.
    Thanks again!
    -->

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the external SDK provider's Python version handling and compare its behavior for B2 Dedicated and Y1 Consumption deployments. Reproduce the remote build with the listed Oryx version and environment, including Terraform's 3.10 setting; done when supported versions behave consistently and Python 3.10.4, 3.11, and 3.12 are handled as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python, terraform
Domain
build-system, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.