Closed niraajrp closed 3 years ago
turns out this is originated from suds-jurko package (a 7 year old package which no longer works as of Setuptools > 58) which is a dependency on bing-ads SDK for Python. Bing Ads is planning on releasing a new version to fix this. Link to Issue: https://github.com/BingAds/BingAds-Python-SDK/issues/191
Below is the complete output including the errors during the deployment of the Azure Function App. Any help here would be appreciated!
OUTPUT LOG:
3:01:13 PM FetchMediaData: Starting deployment... 3:01:15 PM FetchMediaData: Creating zip package... 3:01:16 PM FetchMediaData: Zip package size: 138 kB 3:01:16 PM FetchMediaData: Fetching changes. 3:01:17 PM FetchMediaData: Cleaning up temp folders from previous zip deployments and extracting pushed zip file /tmp/zipdeploy/ec1cf04f-81a1-4248-a253-77517d192d85.zip (0.13 MB) to /tmp/zipdeploy/extracted 3:01:19 PM FetchMediaData: Updating submodules. 3:01:20 PM FetchMediaData: Preparing deployment for commit id '97cc537356'. 3:01:20 PM FetchMediaData: Repository path is /tmp/zipdeploy/extracted 3:01:20 PM FetchMediaData: Running oryx build... 3:01:20 PM FetchMediaData: Command: oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.9 -p packagedir=.pythonpackages/lib/site-packages 3:01:21 PM FetchMediaData: Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx 3:01:21 PM FetchMediaData: You can report issues at https://github.com/Microsoft/Oryx/issues 3:01:21 PM FetchMediaData: Oryx Version: 0.2.20201015.1, Commit: 1a35fbce482b20b71290f3a837a3469803ce4b44, ReleaseTagName: 20201015.1 3:01:21 PM FetchMediaData: Build Operation ID: |EkGL3h7SwWY=.196f8f0c 3:01:21 PM FetchMediaData: Repository Commit : 97cc5373563349439777a54bfc6edab4 3:01:21 PM FetchMediaData: Detecting platforms... 3:01:23 PM FetchMediaData: Detected following platforms: 3:01:23 PM FetchMediaData: python: 3.9.7 3:01:23 PM FetchMediaData: Source directory : /tmp/zipdeploy/extracted 3:01:23 PM FetchMediaData: Destination directory: /home/site/wwwroot 3:01:24 PM FetchMediaData: Python Version: /tmp/oryx/platforms/python/3.9.7/bin/python3.9 3:01:24 PM FetchMediaData: Running pip install... 3:01:24 PM FetchMediaData: [09:16:24+0000] Collecting azure-functions 3:01:24 PM FetchMediaData: [09:16:24+0000] Using cached azure_functions-1.7.2-py3-none-any.whl (137 kB) 3:01:24 PM FetchMediaData: [09:16:24+0000] Collecting pandas 3:01:24 PM FetchMediaData: [09:16:24+0000] Using cached pandas-1.3.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.5 MB) 3:01:24 PM FetchMediaData: [09:16:24+0000] Collecting oauth2client 3:01:24 PM FetchMediaData: [09:16:24+0000] Using cached oauth2client-4.1.3-py2.py3-none-any.whl (98 kB) 3:01:24 PM FetchMediaData: [09:16:24+0000] Collecting google-api-python-client 3:01:24 PM FetchMediaData: [09:16:24+0000] Using cached google_api_python_client-2.24.0-py2.py3-none-any.whl (7.5 MB) 3:01:25 PM FetchMediaData: [09:16:24+0000] Collecting httplib2 3:01:25 PM FetchMediaData: [09:16:24+0000] Using cached httplib2-0.20.1-py3-none-any.whl (96 kB) 3:01:25 PM FetchMediaData: [09:16:25+0000] Collecting azure-storage-blob 3:01:25 PM FetchMediaData: [09:16:25+0000] Using cached azure_storage_blob-12.9.0-py2.py3-none-any.whl (356 kB) 3:01:25 PM FetchMediaData: [09:16:25+0000] Collecting simplejson 3:01:25 PM FetchMediaData: [09:16:25+0000] Using cached simplejson-3.17.5-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (136 kB) 3:01:25 PM FetchMediaData: [09:16:25+0000] Collecting azure-keyvault-secrets 3:01:25 PM FetchMediaData: [09:16:25+0000] Using cached azure_keyvault_secrets-4.3.0-py2.py3-none-any.whl (233 kB) 3:01:25 PM FetchMediaData: [09:16:25+0000] Collecting azure-identity 3:01:25 PM FetchMediaData: [09:16:25+0000] Using cached azure_identity-1.6.1-py2.py3-none-any.whl (109 kB) 3:01:25 PM FetchMediaData: [09:16:25+0000] Collecting pyyaml 3:01:25 PM FetchMediaData: [09:16:25+0000] Using cached PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB) 3:01:25 PM FetchMediaData: [09:16:25+0000] Collecting google-ads 3:01:25 PM FetchMediaData: [09:16:25+0000] Using cached google_ads-14.0.1-py3-none-any.whl (30.4 MB) 3:01:26 PM FetchMediaData: [09:16:26+0000] Collecting bingads 3:01:26 PM FetchMediaData: [09:16:26+0000] Using cached bingads-13.0.11.zip (443 kB) 3:01:26 PM FetchMediaData: [09:16:26+0000] Collecting pytz>=2017.3 3:01:26 PM FetchMediaData: [09:16:26+0000] Using cached pytz-2021.3-py2.py3-none-any.whl (503 kB) 3:01:26 PM FetchMediaData: [09:16:26+0000] Collecting python-dateutil>=2.7.3 3:01:26 PM FetchMediaData: [09:16:26+0000] Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) 3:01:27 PM FetchMediaData: [09:16:27+0000] Collecting numpy>=1.17.3 3:01:27 PM FetchMediaData: [09:16:27+0000] Using cached numpy-1.21.2-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.8 MB) 3:01:27 PM FetchMediaData: [09:16:27+0000] Collecting pyasn1-modules>=0.0.5 3:01:27 PM FetchMediaData: [09:16:27+0000] Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB) 3:01:28 PM FetchMediaData: [09:16:27+0000] Collecting six>=1.6.1 3:01:28 PM FetchMediaData: [09:16:28+0000] Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) 3:01:28 PM FetchMediaData: [09:16:28+0000] Collecting rsa>=3.1.4 3:01:28 PM FetchMediaData: [09:16:28+0000] Using cached rsa-4.7.2-py3-none-any.whl (34 kB) 3:01:28 PM FetchMediaData: [09:16:28+0000] Collecting pyasn1>=0.1.7 3:01:28 PM FetchMediaData: [09:16:28+0000] Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) 3:01:28 PM FetchMediaData: [09:16:28+0000] Collecting uritemplate<4dev,>=3.0.0 3:01:28 PM FetchMediaData: [09:16:28+0000] Using cached uritemplate-3.0.1-py2.py3-none-any.whl (15 kB) 3:01:28 PM FetchMediaData: [09:16:28+0000] Collecting google-auth-httplib2>=0.1.0 3:01:28 PM FetchMediaData: [09:16:28+0000] Using cached google_auth_httplib2-0.1.0-py2.py3-none-any.whl (9.3 kB) 3:01:28 PM FetchMediaData: [09:16:28+0000] Collecting google-auth<3.0.0dev,>=1.16.0 3:01:28 PM FetchMediaData: [09:16:28+0000] Using cached google_auth-2.3.0-py2.py3-none-any.whl (154 kB) 3:01:28 PM FetchMediaData: [09:16:28+0000] Collecting google-api-core<3.0.0dev,>=1.21.0 3:01:28 PM FetchMediaData: [09:16:28+0000] Using cached google_api_core-2.1.0-py2.py3-none-any.whl (94 kB) 3:01:28 PM FetchMediaData: [09:16:28+0000] Collecting pyparsing<3,>=2.4.2 3:01:28 PM FetchMediaData: [09:16:28+0000] Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) 3:01:29 PM FetchMediaData: [09:16:29+0000] Collecting msrest>=0.6.21 3:01:29 PM FetchMediaData: [09:16:29+0000] Using cached msrest-0.6.21-py2.py3-none-any.whl (85 kB) 3:01:29 PM FetchMediaData: [09:16:29+0000] Collecting azure-core<2.0.0,>=1.10.0 3:01:29 PM FetchMediaData: [09:16:29+0000] Using cached azure_core-1.19.0-py2.py3-none-any.whl (176 kB) 3:01:29 PM FetchMediaData: [09:16:29+0000] Collecting cryptography>=2.1.4 3:01:29 PM FetchMediaData: [09:16:29+0000] Using cached cryptography-35.0.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.7 MB) 3:01:29 PM FetchMediaData: [09:16:29+0000] Collecting azure-common~=1.1 3:01:29 PM FetchMediaData: [09:16:29+0000] Using cached azure_common-1.1.27-py2.py3-none-any.whl (12 kB) 3:01:29 PM FetchMediaData: [09:16:29+0000] Collecting msal-extensions~=0.3.0 3:01:29 PM FetchMediaData: [09:16:29+0000] Using cached msal_extensions-0.3.0-py2.py3-none-any.whl (16 kB) 3:01:30 PM FetchMediaData: [09:16:30+0000] Collecting msal<2.0.0,>=1.7.0 3:01:30 PM FetchMediaData: [09:16:30+0000] Using cached msal-1.15.0-py2.py3-none-any.whl (77 kB) 3:01:30 PM FetchMediaData: [09:16:30+0000] Collecting setuptools>=40.3.0 3:01:30 PM FetchMediaData: [09:16:30+0000] Using cached setuptools-58.2.0-py3-none-any.whl (946 kB) 3:01:31 PM FetchMediaData: [09:16:31+0000] Collecting protobuf<3.18.0,>=3.12.0 3:01:31 PM FetchMediaData: [09:16:31+0000] Using cached protobuf-3.17.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB) 3:01:31 PM FetchMediaData: [09:16:31+0000] Collecting googleapis-common-protos<2.0.0,>=1.5.8 3:01:31 PM FetchMediaData: [09:16:31+0000] Using cached googleapis_common_protos-1.53.0-py2.py3-none-any.whl (198 kB) 3:01:31 PM FetchMediaData: [09:16:31+0000] Collecting nox<2022.6,>=2020.12.31 3:01:31 PM FetchMediaData: [09:16:31+0000] Using cached nox-2021.10.1-py3-none-any.whl (49 kB) 3:01:32 PM FetchMediaData: [09:16:32+0000] Collecting grpcio<2.0.0,>=1.38.1 3:01:32 PM FetchMediaData: [09:16:32+0000] Using cached grpcio-1.41.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB) 3:01:32 PM FetchMediaData: [09:16:32+0000] Collecting google-auth-oauthlib<1.0.0,>=0.3.0 3:01:32 PM FetchMediaData: [09:16:32+0000] Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB) 3:01:32 PM FetchMediaData: [09:16:32+0000] Collecting proto-plus==1.18.1 3:01:32 PM FetchMediaData: [09:16:32+0000] Using cached proto_plus-1.18.1-py3-none-any.whl (42 kB) 3:01:32 PM FetchMediaData: [09:16:32+0000] Collecting suds-jurko==0.6.0 3:01:32 PM FetchMediaData: [09:16:32+0000] Using cached suds-jurko-0.6.tar.bz2 (143 kB) 3:01:33 PM FetchMediaData: ERROR: Command errored out with exit status 1: 3:01:33 PM FetchMediaData: command: /tmp/oryx/platforms/python/3.9.7/bin/python3.9 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-mduac3ew/suds-jurko/setup.py'"'"'; file='"'"'/tmp/pip-install-mduac3ew/suds-jurko/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r 3:01:33 PM FetchMediaData: '"'"', '"'"' 3:01:33 PM FetchMediaData: '"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-kskjbboa 3:01:33 PM FetchMediaData: cwd: /tmp/pip-install-mduac3ew/suds-jurko/ 3:01:33 PM FetchMediaData: Complete output (1 lines): 3:01:33 PM FetchMediaData: error in suds-jurko setup command: use_2to3 is invalid. 3:01:33 PM FetchMediaData: ---------------------------------------- 3:01:33 PM FetchMediaData: ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. 3:01:33 PM FetchMediaData: WARNING: You are using pip version 20.2.3; however, version 21.2.4 is available. 3:01:33 PM FetchMediaData: You should consider upgrading via the '/tmp/oryx/platforms/python/3.9.7/bin/python3.9 -m pip install --upgrade pip' command. 3:01:33 PM FetchMediaData: Done in 10 sec(s). 3:01:35 PM FetchMediaData: ERROR: Command errored out with exit status 1: 3:01:35 PM FetchMediaData: command: /tmp/oryx/platforms/python/3.9.7/bin/python3.9 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-mduac3ew/suds-jurko/setup.py'"'"'; file='"'"'/tmp/pip-install-mduac3ew/suds-jurko/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r 3:01:35 PM FetchMediaData: '"'"', '"'"' 3:01:35 PM FetchMediaData: '"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-kskjbboa 3:01:35 PM FetchMediaData: /opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.9 -p packagedir=.python_packages/lib/site-packages 3:01:47 PM FetchMediaData: Deployment failed.