vscode-azureappservice
                                
                                
                                
                                    vscode-azureappservice copied to clipboard
                            
                            
                            
                        Fail to deploy a Python project to a Python 3.10 web app
OS: Win 10 Build Version: 20220612.1 Python Version: 3.10.4
Repro Steps:
- Enable setting "appService.showHiddenStacks".
 - Get a Python project by running git clone https://github.com/Azure-Samples/python-docs-hello-world.
 - Create a Python 3.10 web app -> Deploy the Python project to it.
 - Check whether succeeds to deploy a Python project to a Python 3.10 web app.
 
Expect: Succeed to deploy a Python project to a Python 3.10 web app.
Actual: Fail to deploy a Python project to a Python 3.10 web app.
10:45:06 PM serene-bas-py310: Starting deployment...
10:45:07 PM serene-bas-py310: Creating zip package...
10:45:07 PM serene-bas-py310: Zip package size: 2.39 kB
10:45:07 PM serene-bas-py310: Fetching changes.
10:45:08 PM serene-bas-py310: Cleaning up temp folders from previous zip deployments and extracting pushed zip file /tmp/zipdeploy/615d6903-86ea-48d4-b580-6a6c0c271dc5.zip (0.00 MB) to /tmp/zipdeploy/extracted
10:45:11 PM serene-bas-py310: Updating submodules.
10:45:12 PM serene-bas-py310: Preparing deployment for commit id '9821b428-4'.
10:45:12 PM serene-bas-py310: PreDeployment: context.CleanOutputPath False
10:45:12 PM serene-bas-py310: PreDeployment: context.OutputPath /home/site/wwwroot
10:45:12 PM serene-bas-py310: Repository path is /tmp/zipdeploy/extracted
10:45:12 PM serene-bas-py310: Running oryx build...
10:45:12 PM serene-bas-py310: Command: oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.10 -i /tmp/8da4dc90cbd0120 --compress-destination-dir -p virtualenv_name=antenv --log-file /tmp/build-debug.log  | tee /tmp/oryx-build.log
10:45:15 PM serene-bas-py310: Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
10:45:15 PM serene-bas-py310: You can report issues at https://github.com/Microsoft/Oryx/issues
10:45:15 PM serene-bas-py310: Oryx Version: 0.2.20220308.4, Commit: c92fa6a2d6fc14dc9646f80e2bb2e393a5cdc258, ReleaseTagName: 20220308.4
10:45:15 PM serene-bas-py310: Build Operation ID: |YQlfmR6Yo2E=.82997a99_
10:45:15 PM serene-bas-py310: Repository Commit : 9821b428-48f0-4b1b-b48a-40d4c86c03b9
10:45:16 PM serene-bas-py310: Detecting platforms...
10:45:17 PM serene-bas-py310: Detected following platforms:
10:45:17 PM serene-bas-py310:   python: 3.10.4
10:45:17 PM serene-bas-py310: Using intermediate directory '/tmp/8da4dc90cbd0120'.
10:45:17 PM serene-bas-py310: Copying files to the intermediate directory...
10:45:17 PM serene-bas-py310: Done in 0 sec(s).
10:45:17 PM serene-bas-py310: Source directory     : /tmp/8da4dc90cbd0120
10:45:17 PM serene-bas-py310: Destination directory: /home/site/wwwroot
10:45:17 PM serene-bas-py310: Python Version: /tmp/oryx/platforms/python/3.10.4/bin/python3.10
10:45:17 PM serene-bas-py310: Creating directory for command manifest file if it doesnot exist
10:45:17 PM serene-bas-py310: /tmp/oryx/platforms/python/3.10.4/bin/python3.10: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/oryx/platforms/python/3.10.4/lib/libpython3.10.so.1.0)
10:45:17 PM serene-bas-py310: Removing existing manifest file
10:45:17 PM serene-bas-py310: /tmp/oryx/platforms/python/3.10.4/bin/python3.10: /lib/x86_64-linux-gnu/libpthread.so.0: version `GLIBC_2.30' not found (required by /tmp/oryx/platforms/python/3.10.4/lib/libpython3.10.so.1.0)
10:45:17 PM serene-bas-py310: Python Virtual Environment: antenv
10:45:17 PM serene-bas-py310: Creating virtual environment...
10:45:20 PM serene-bas-py310: /bin/bash -c "oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.10 -i /tmp/8da4dc90cbd0120 --compress-destination-dir -p virtualenv_name=antenv --log-file /tmp/build-debug.log  | tee /tmp/oryx-build.log ; exit $PIPESTATUS "
10:45:20 PM serene-bas-py310: Generating summary of Oryx build
10:45:20 PM serene-bas-py310: Parsing the build logs
10:45:20 PM serene-bas-py310: Found 0 issue(s)
10:45:20 PM serene-bas-py310: Build Summary :
10:45:20 PM serene-bas-py310: ===============
10:45:20 PM serene-bas-py310: Errors (0)
10:45:20 PM serene-bas-py310: Warnings (0)
10:45:21 PM serene-bas-py310: Deployment Failed.
10:45:25 PM serene-bas-py310: Deployment failed.
                                    
                                    
                                    
                                
Since this is still in preview and not available in the Portal, it's possible that there are still some issues that they are working out with Python 3.10. We'll worry about this when it GA's.