Skip to content

Oryx build fails only supporting Python 3.10.x #2833

Closed

Description

@ct-prog

Bug Report

  • At what date and time did you most recently experience the problem?
    Most recently happened on 2026/03/30 07:52 UTC

  • Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use.
    Azure functions remote build

  • If your repo is publicly available please share its URL:
    No.

  • What happened?
    Oryx build for Python version 3.13 has worked for months, but now I am getting a failed remote build for Azure Functions with Oryx stating that only Python 3.10.x is supported.

  • What did you expect or want to happen?
    I expected Oryx build on Azure to support platform version Python 3.13.

  • How can we reproduce it?
    Try deploying an azure function app using oryx build for python 3.13
    func azure functionapp publish insert-function-app-name

  • Do you have log output? Please include between the backticks:

Resolving worker runtime to 'python'.
Getting site publishing info...
[2026-03-30T07:51:22.580Z] Starting the function app deployment...
Creating archive for current directory...
Performing remote build for functions project.
Deleting the old .python_packages directory
Uploading 186.09 KB [#############################################################################]
Remote build in progress, please wait...
Updating submodules.
Preparing deployment for commit id '033a582f-d'.
PreDeployment: context.CleanOutputPath False
PreDeployment: context.OutputPath /home/site/wwwroot
Repository path is /tmp/zipdeploy/extracted
Running oryx build...
Command: oryx build /tmp/zipdeploy/extracted -o /tmp/build/expressbuild --platform python --platform-version 3.13 -i /tmp/8de8e31265afc0a -p packagedir=.python_packages/lib/site-packages
Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
You can report issues at https://github.com/Microsoft/Oryx/issues

Oryx Version: 0.2.20260204.1+0fdbe200b286be083841ff7fa201c6c2316dc6b9, Commit: 0fdbe200b286be083841ff7fa201c6c2316dc6b9, ReleaseTagName: 20260204.1

Build Operation ID: e50989f6a9bb3c8a
Repository Commit : 033a582f-d111-48a8-8bce-59878209db9b
OS Type           : bullseye
Image Type        : githubactions

Primary SDK Storage URL: https://oryx-cdn.microsoft.io
Backup SDK Storage URL: 
Detecting platforms...
External SDK provider is enabled.
Requesting metadata for platform python from external SDK provider
Requesting metadata for platform python from external SDK provider
Error: Platform 'python' version '3.13' 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
Error: Platform 'python' version '3.13' 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\n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /tmp/build/expressbuild --platform python --platform-version 3.13 -i /tmp/8de8e31265afc0a -p packagedir=.python_packages/lib/site-packages

Generating summary of Oryx build
Deployment Log file does not exist in /tmp/oryx-build.log
The logfile at /tmp/oryx-build.log is empty. Unable to fetch the summary of build
Deployment Failed. deployer = Push-Deployer deploymentPath = Functions App ZipDeploy. Extract zip. Remote build.
Remote build failed!

Activity

  1. changed the title [-]Oryx build only supporting Python 3.10.x[/-] [+]Oryx build fails only supporting Python 3.10.x[/+] on Mar 30, 2026
  2. chauek commented on Mar 30, 2026

    @chauek

    I have the same issue when trying to build with 3.11:

    Error: Platform 'python' version '3.11' 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
    Error: Platform 'python' version '3.11' 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\n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /tmp/build/expressbuild --platform python --platform-version 3.11 -i /tmp/8de8e33d9e972c3 -p packagedir=.python_packages/lib/site-packages
    
  3. memorisanka commented on Mar 30, 2026

    @memorisanka

    We are experiencing the same issue:

    Image
  4. selsel-crs commented on Mar 30, 2026

    @selsel-crs

    Same issues
    Error: Platform 'python' version '3.11' 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

    Error: Platform 'python' version '3.11' 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\n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /tmp/build/expressbuild --platform python --platform-version 3.11 -i /tmp/8de8e31e5752a26 -p packagedir=.python_packages/lib/site-packages

  5. frankwinfaber commented on Mar 30, 2026

    @frankwinfaber

    I have the same issue when trying to build with 3.12:

    Error: Platform 'python' version '3.12' 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

    Oryx Version: 0.2.20260204.1+0fdbe200b286be083841ff7fa201c6c2316dc6b9, Commit: 0fdbe20, ReleaseTagName: 20260204.1

    Build Operation ID: cea0c992760d39fc
    Repository Commit : 1ba11d8f-624d-490d-ab9f-cb60f2890b6f
    OS Type : bullseye
    Image Type : githubactions

    Location: West Europe
    App Service Plan: B1: 1
    Operating System: Linux

  6. thamthang commented on Mar 30, 2026

    @thamthang

    I have the same issue with python 3.11:

    Running oryx build...
    Command: oryx build /tmp/zipdeploy/extracted -o /tmp/build/expressbuild --platform python --platform-version 3.11 -i /tmp/8de8e36b3ad15a3 -p packagedir=.python_packages/lib/site-packages
    Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
    You can report issues at https://github.com/Microsoft/Oryx/issues

    Oryx Version: 0.2.20260204.1+0fdbe200b286be083841ff7fa201c6c2316dc6b9, Commit: 0fdbe20, ReleaseTagName: 20260204.1

    Build Operation ID: e5795be38ffac4c3
    Repository Commit : a51374fe-88b9-4132-a475-bb7462761e14
    OS Type : bullseye
    Image Type : githubactions

    Primary SDK Storage URL: https://oryx-cdn.microsoft.io
    Backup SDK Storage URL:
    Detecting platforms...
    External SDK provider is enabled.
    Requesting metadata for platform python from external SDK provider
    Requesting metadata for platform python from external SDK provider
    Error: Platform 'python' version '3.11' 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
    Error: Platform 'python' version '3.11' 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\n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /tmp/build/expressbuild --platform python --platform-version 3.11 -i /tmp/8de8e36b3ad15a3 -p packagedir=.python_packages/lib/site-packages

    Generating summary of Oryx build
    Deployment Log file does not exist in /tmp/oryx-build.log
    The logfile at /tmp/oryx-build.log is empty. Unable to fetch the summary of build
    Deployment Failed. deployer = Push-Deployer deploymentPath = Functions App ZipDeploy. Extract zip. Remote build.
    Remote build failed!

  7. SvenNoir commented on Mar 30, 2026

    @SvenNoir

    I have the same problem rn, the WebApp is on python 3.12

    Image
  8. saadalia commented on Mar 30, 2026

    @saadalia

    I was able to temporarily mitigate the issue by using local build:

    pip install -r requirements.txt --target=".python_packages/lib/site-packages"
    func azure functionapp publish <Your-App-Name> --python --no-build

  9. jniemeyer-gasag commented on Mar 30, 2026

    @jniemeyer-gasag

    Same Problem for me

  10. PowerSoftbi commented on Mar 30, 2026

    @PowerSoftbi

    same problem. Was working till 10:36

    Image
  11. stokuri commented on Mar 30, 2026

    @stokuri

    same issue:
    { "log_time": "2026-03-30T08:56:28.8249967Z", "id": "", "message": "Error: Platform 'python' version '3.12' 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", "type": 1, "details_url": null },

  12. yashgandhi-32 commented on Mar 30, 2026

    @yashgandhi-32

    Same issue

    Seems vibe code is going to prod nowdays

  13. surenderssm commented on Mar 30, 2026

    @surenderssm
    Member

    We're actively investigating this as a priority and will post updates on this issue as we make progress.

  14. ManuVerl commented on Mar 30, 2026

    @ManuVerl

    We have same trouble here, since today ...

    [
    {"log_time":"2026-03-30 ... "message":"Command: oryx build /tmp/zipdeploy/extracted -o /tmp/build/expressbuild --platform python --platform-version 3.11 -i /tmp/... -p packagedir=.python_packages/lib/site-packages","type":0,"details_url":null},
    {"log_time":"2026-03-30 ... "message":"Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx","type":0,"details_url":null},
    {"log_time":"2026-03-30 ... "message":"You can report issues at https://github.com/Microsoft/Oryx/issues","type":0,"details_url":null},
    ...
    {"log_time":"2026-03-30 ... "message":"Oryx Version: 0.2.20260204.1+0fdbe200b286be083841ff7fa201c6c2316dc6b9, Commit: 0fdbe200b286be083841ff7fa201c6c2316dc6b9, ReleaseTagName: 20260204.1","type":0,"details_url":null},
    {"log_time":"2026-03-30 ... "message":"OS Type           : bullseye","type":0,"details_url":null},
    {"log_time":"2026-03-30 ... "message":"Primary SDK Storage URL: https://oryx-cdn.microsoft.io","type":0,"details_url":null},
    {"log_time":"2026-03-30 ... "message":"Backup SDK Storage URL: ","type":0,"details_url":null},
    {"log_time":"2026-03-30 ... "message":"Detecting platforms...","type":0,"details_url":null},
    {"log_time":"2026-03-30 ... "message":"External SDK provider is enabled.","type":0,"details_url":null},
    {"log_time":"2026-03-30 ... "message":"Requesting metadata for platform python from external SDK provider","type":0,"details_url":null},
    {"log_time":"2026-03-30 ... "message":"Requesting metadata for platform python from external SDK provider","type":0,"details_url":null},
    {"log_time":"2026-03-30 ... "message":"Error: Platform 'python' version '3.11' 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","type":1,"details_url":null},
    {"log_time":"2026-03-30 ... "message":"Error: Platform 'python' version '3.11' 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\\n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /tmp/build/expressbuild --platform python --platform-version 3.11 -i /tmp/... -p packagedir=.python_packages/lib/site-packages","type":2,"details_url":null}
    ]
    
  15. 9 remaining items

  16. CTROSING commented on Mar 30, 2026

    @CTROSING

    Works for me now :)

  17. mlip00 commented on Mar 30, 2026

    @mlip00

    Works for me now :)

    same here

  18. thamthang commented on Mar 30, 2026

    @thamthang

    It works now. Thanks.

  19. frankwinfaber commented on Mar 30, 2026

    @frankwinfaber

    How long can I leave the temp fix?
    ORYX_ENABLE_EXTERNAL_SDK_PROVIDER = false

  20. ct-prog commented on Mar 30, 2026

    @ct-prog
    Author

    Update: Interim mitigation has been applied on the platform; newer deployments should not face this anymore. If they do, please report here or leverage the Azure support mechanism.

    Don't know if I am the only one experiencing this, but now the SDK storage is returning empty. I have tried to stop/start/restart the web app but that did not help. Any ideas?

    Primary SDK Storage URL: https://oryx-cdn.microsoft.io
    Backup SDK Storage URL: 
    Detecting platforms...
    Error: Oops... An unexpected error has occurred.
    Error: System.ArgumentNullException: Value cannot be null. (Parameter 'node')
       at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetAvailableVersionsFromStorage
    

    UPDATE: this is likely due to my firewall blocking the SDK storage url https://oryx-cdn.microsoft.io, ignore 😄

  21. sthieb commented on Mar 30, 2026

    @sthieb

    Same error as ct-prog (I use with vnet integration, Python 3.13, same with 3.14)

    Command: oryx build /tmp/zipdeploy/extracted -o /tmp/build/expressbuild --platform python --platform-version 3.13 -i /tmp/8de8e643acd148e -p packagedir=.python_packages/lib/site-packages
    Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
    You can report issues at https://github.com/Microsoft/Oryx/issues
    Oryx Version: 0.2.20260204.1+0fdbe200b286be083841ff7fa201c6c2316dc6b9, Commit: 0fdbe200b286be083841ff7fa201c6c2316dc6b9, ReleaseTagName: 20260204.1
    Build Operation ID: 374ebb461b41f129
    Repository Commit : 26276a93-074e-4de8-b37a-c4e59f58
    
    OS Type           : bullseye
    Image Type        : githubactions
    Primary SDK Storage URL: https://oryx-cdn.microsoft.io
    Backup SDK Storage URL: 
    Detecting platforms...
    Error: Oops... An unexpected error has occurred.
    Error: System.ArgumentNullException: Value cannot be null. (Parameter 'node')
       at System.ArgumentNullException.Throw(String paramName)
       at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
       at System.Xml.XPath.Extensions.XPathSelectElements(XNode node, String expression, IXmlNamespaceResolver resolver)
       at '''
    
  22. ct-prog commented on Mar 30, 2026

    @ct-prog
    Author

    Same error as ct-prog (I use with vnet integration, Python 3.13, same with 3.14)

    Command: oryx build /tmp/zipdeploy/extracted -o /tmp/build/expressbuild --platform python --platform-version 3.13 -i /tmp/8de8e643acd148e -p packagedir=.python_packages/lib/site-packages
    Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
    You can report issues at https://github.com/Microsoft/Oryx/issues
    Oryx Version: 0.2.20260204.1+0fdbe200b286be083841ff7fa201c6c2316dc6b9, Commit: 0fdbe200b286be083841ff7fa201c6c2316dc6b9, ReleaseTagName: 20260204.1
    Build Operation ID: 374ebb461b41f129
    Repository Commit : 26276a93-074e-4de8-b37a-c4e59f58
    
    OS Type           : bullseye
    Image Type        : githubactions
    Primary SDK Storage URL: https://oryx-cdn.microsoft.io
    Backup SDK Storage URL: 
    Detecting platforms...
    Error: Oops... An unexpected error has occurred.
    Error: System.ArgumentNullException: Value cannot be null. (Parameter 'node')
       at System.ArgumentNullException.Throw(String paramName)
       at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
       at System.Xml.XPath.Extensions.XPathSelectElements(XNode node, String expression, IXmlNamespaceResolver resolver)
       at '''
    

    My current theory is that I have to add the SDK storage URL to the FQDN allow list of my firewall, currently seeing this in my firewall logs

    HTTPS request from XXXX to oryx-cdn.microsoft.io:443. Action: Deny. No rule matched. Proceeding with default action

    But have not had the time to verify yet, let me know if this helps or if you found another solution sthieb

    UPDATE: Can confirm that adding oryx-cdn.microsoft.io to the FQDN allow list solved the issue ✔️

  23. sthieb commented on Mar 30, 2026

    @sthieb

    I can’t confirm yet whether oryx-cdn.microsoft.io:443 should be whitelisted (I’ll open a ticket with our network team to clarify).

    I spent a lot of time debugging this function, as deploying the same code to another function (in a different subscription) worked fine. Both are in private VNets with firewalls.

    I tried curling https://oryx-cdn.microsoft.io from the function’s SSH shell, but it failed on both. Not sure if this test accurately reflects the network context during deployment, so the network team’s input will be key.

    The issue eventually resolved itself after multiple Jenkins redeploys, instance reboots, and function restarts. Might’ve just been a propagation delay. waiting might have been enough :-)

  24. x60226051-maker commented on Mar 31, 2026

    @x60226051-maker

    Is it fixed now ?

  25. ct-prog commented on Mar 31, 2026

    @ct-prog
    Author

    sthieb, I tried simply waiting for a different environment and it seem to have resolved itself as you said :)

  26. Divyansh-singh2 commented on Mar 31, 2026

    @Divyansh-singh2

    It is fixed now - the python 3.11 is supported again.

  27. pmovershield commented on Mar 31, 2026

    @pmovershield

    Error: Couldn't detect a version for the platform 'python' in the repo.\n/bin/bash -c "oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.10 -p virtualenv_name=antenv --log-file /tmp/build-debug.log -i /tmp/8de8e547d122d29 --compress-destination-dir | tee /tmp/oryx-build.log ; exit $PIPESTATUS "

    Deployment Failed. deployer = ms-azuretools-vscode deploymentPath = ZipDeploy. Extract zip. Remote build. Command: oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.10 -p virtualenv_name=antenv --log-file /tmp/build-debug.log -i /tmp/8de8e547d122d29 --compress-destination-dir | tee /tmp/oryx-build.log Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx You can report issues at https://github.com/Microsoft/Oryx/issues

    Oryx Version: 0.2.20260204.1+0fdbe200b286be083841ff7fa201c6c2316dc6b9, Commit: 0fdbe20, ReleaseTagName: 20260204.1

    Build Operation ID: 19c972a98528ac3e Repository Commit : 5bde2d40-9a13-4c52-b00c-997eda41c015 OS Type : bullseye Image Type : githubactions

    Primary SDK Storage URL: https://oryx-cdn.microsoft.io Error: Couldn't detect a version for the platform 'python' in the repo.** Backup SDK Storage URL: Detecting platforms... External SDK provider is enabled. Could not detect any platform in the source directory. Error: Couldn't detect a version for the platform 'python' in the repo.\n/bin/bash -c "oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.10 -p virtualenv_name=antenv --log-file /tmp/build-debug.log -i /tmp/8de8e547d122d29 --compress-destination-dir | tee /tmp/oryx-build.log ; exit $PIPESTATUS "

    Update:
    My above Issue has cleared, I no longer see this issue after redeploying my azure app service linux app with no changes on my side.

  28. surenderssm commented on Mar 31, 2026

    @surenderssm
    Member

    Update: This issue stands mitigated.

    If you applied the temporary workaround of setting ORYX_ENABLE_EXTERNAL_SDK_PROVIDER=false, it is safe to remove.

    Additionally, whitelisting of oryx-cdn.microsoft.io is not required for sites running on Linux App Service. A platform update
    applied last year eliminated the need for any Oryx-related whitelisting in restricted network setups. Any interim failures
    observed due to whitelisting were an intermittent issue on the platform side while the mitigation was being applied.

    We will share a detailed postmortem through the relevant channels shortly.

    Thank you everyone for all the inputs and updates here, much appreciated! 🙏

  29. twitthoeft-gls commented on Sep 11, 2026

    @twitthoeft-gls

    I know this is closed. But, I just had something similar resurface. I am running an Oryx build in an Azure Web App targeting python 3.12

    ERROR: Could not find cached tarball for python 3.12.13,,0

    Full KUDU deployment log.log image below.

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions