You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
App Service Linux: PYTHON|3.14 stack runs a Python 3.12.13 runtime, app built for 3.14 crashes with libpython3.14.so.1.0 not found #3133
The web app's stack is set to Python 3.14. az webapp config show --query linuxFxVersion returns PYTHON|3.14, and az webapp list-runtimes --os linux lists PYTHON|3.14 as Active.
What happened
The first deploys failed in the build with ERROR: Could not find cached tarball for python 3.12.13. The External ACR SDK provider resolved 3.12.13 although the command was oryx build ... --platform python --platform-version 3.14. This is the same as Failed to deploy web package to App Service #3120. Oryx version 0.2.20261027.2+7d151c179c42733038d1f2fdc2573f076fa61d1c.
We applied the workaround from Failed to deploy web package to App Service #3120 (ORYX_ENABLE_EXTERNAL_ACR_SDK_PROVIDER=false, ORYX_ENABLE_SDK_PROVIDER=true) and restarted. The build then succeeded with the right version:
Found tarball at /tmp/oryx/platforms/python/python-noble-3.14.10.tar.gz
Executing: /tmp/oryx/platforms/python/3.14.10/bin/python3.14 -m venv antenv --copies --system-site-packages
The app then fails to start. The runtime container reports the wrong Python, and the venv built for 3.14 cannot load its library:
Python version : 3.12.13
python: error while loading shared libraries: libpython3.14.so.1.0: cannot open shared object file: No such file or directory
/tmp/<id>/antenv/bin/python: error while loading shared libraries: libpython3.14.so.1.0: cannot open shared object file: No such file or directory
SSH into the container is not possible because it keeps crashing.
Restarting the app again, with the stack still PYTHON|3.14, still prints Python version : 3.12.13 at startup.
What we expected
With the stack set to PYTHON|3.14, the runtime container should run Python 3.14, matching the build, as it does for 3.12 and 3.13.
Notes
No runtime.txt or .python-version file in the repository, and no PYTHON_VERSION app setting. The only build-related app setting besides the two workaround settings is SCM_DO_BUILD_DURING_DEPLOYMENT=1.
It looks like the PYTHON|3.14 stack starts a 3.12 runtime image, while the build (once the External ACR provider is disabled) uses 3.14, so build and runtime do not match.
Our workaround for now is moving the app back to Python 3.13.
Activity