@Hamid Tebianian Thanks for reaching here! As I can see- Build issues on Kudu were detected-
You may want to know about Build Mechanism on App Service Linux:
Kudu is the engine behind git deployments in Azure App Services. Oryx is a build system on Kudu which automatically compiles source code repos into runnable artifacts.
Oryx generates and runs an opinionated build script within a build container based on analysis of a codebase's contents. For example, if package.json is discovered in the repo Oryx includes npm run build in the build script; or if requirements.txt is found it includes pip install -r requirements.txt.
Oryx also generates a run-time startup script for the app including typical start commands like npm run start for Node.js or a WSGI module and server for Python.
Suggest you to enable App Service Logs Also- go to diagnose and solve problems from Azure Portal and look for Linux deployment events-
- The build that is causing your deployment to fail.
- The 5 latest build error logs are shown in descending order which should give you a fair idea of the most current exception causing the issue.
- Assess and fix/handle the exceptions that maybe causing the build to fail.
- Please review the following articles that will help you understand the Oryx System's Configurations and build logic
- https://github.com/microsoft/Oryx/blob/master/doc/hosts/appservice.md
- https://github.com/microsoft/Oryx/blob/master/doc/configuration.md
- https://github.com/microsoft/Oryx/blob/master/doc/runtimes/python.md
Also there is Python Update Policy - App Service upgrades the underlying Python runtime of your application as part of the regular platform updates. As a result of this regular update process, your application will be automatically updated to the latest patch version of Python available for that platform.
For more information about current supported Python versions check Support Timeline.
Find additional Python articles on Technet/TechCommunity - Apps on Azure Blog.
Below are some other topics that may be useful.
- Python on Linux App Service and ModuleNotFoundError
- Deploying Python Applications using Github Actions
- Configuring Gunicorn worker classes and other general settings
- Troubleshooting ‘failed to find attribute’ errors on Python Linux App Services
- Enable application logging (Linux/Container)
- Python - XGBoost Library (libxgboost.so) Could Not Be Loaded
- Profile Python Applications in Azure App Service
Let us know.