-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish Azure Function App fails on 2.0.1-beta.38 #719
Comments
@elprans can you please investigate this issue? |
From @elprans on September 13, 2018 20:14 Your
|
From @priyaananthasankar on September 13, 2018 20:17 Great! Is there a way to find out which don't exist on PyPI? I think can send out requests to PyPI interface. I can write this part. Removed en-core-web-sm and it still fails. Also it would be great if a better error message gets thrown out. |
From @elprans on September 13, 2018 20:34 @ahmelsayed Is there a CLI mode which runs @priyaananthasankar There are multiple reasons why dependency resolution might fail. Making extra requests to pypi is not necessary, we just need to show better diagnostics. |
From @priyaananthasankar on September 13, 2018 20:39 @elprans Removed en-core-web-sm. Checked if all other packages are in PyPI. Still fails. |
From @elprans on September 13, 2018 20:49
|
From @priyaananthasankar on September 13, 2018 20:57 So sending requests to PyPI doesn't ensure there are wheels. It gave me 200 ok for wrapt. Removed wrapt and still received the same error. |
From @priyaananthasankar on September 13, 2018 21:16 There was an error restoring dependencies.ERROR: ['pip', 'download', '-r', '/Users/prananth/Projects/FunctioningPython/Gutenberg/TrainBook/requirements.txt', '--dest', '/var/folders/8_/8m4c263132g8fwq0ql816zkw0000gn/T/azureworker9pk49gcc'] failed with exit code |
From @priyaananthasankar on September 13, 2018 22:50 Tried deploying with --build-native-deps: Fails. Works fine locally! Command "/home/site/wwwroot/worker_venv/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-k96eir8q/spacy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-pnz5q8lu-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/site/wwwroot/worker_venv/include/site/python3.6/spacy" failed with error code -9 in /tmp/pip-build-k96eir8q/spacy/ Minimized requirements.txt to these: azure-functions==1.0.0a4 |
From @priyaananthasankar on September 13, 2018 23:28 Using azure-storage is causing issues, check out this link talking about cryptography library - Azure/azure-storage-python#219 . Azure Storage library depends on cryptography and with both build-native-deps and without it, the publish fails. |
This smaller set of files can repro the issue: azure-functions==1.0.0a4 |
This should be fixed now. |
From @priyaananthasankar on September 13, 2018 20:1
Attached requirements.txt. Noticed the following error.
There was an error restoring dependencies.ERROR: ['pip', 'download', '-r', '/Users/prananth/Projects/FunctioningPython/Gutenberg/TrainBook/requirements.txt', '--dest', '/var/folders/8_/8m4c263132g8fwq0ql816zkw0000gn/T/azureworker9pk49gcc'] failed with exit code 1
requirements.txt
The app works fine locally.
Copied from original issue: Azure/azure-functions-python-worker#196
The text was updated successfully, but these errors were encountered: