-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
win32 wheel package suitable for Azure Functions #1044
Comments
Hi @flamby |
Hi @lmazuel but what I need for now is dealing w/ VM and network stuff (VNET, NIC, VNG), so basic stuff. |
I don't deny the issue, you're not the first and we are working on it. I was just thinking about help you asap versus help you in the long term. Because Be sure I won't close the issue before I'm sure this works out of the box for everybody, but this does not imply that we won't try to make it work right now :) |
Related issue: Azure/azure-storage-python#219 |
The workaround for python 2.7, based on issue 219 of azure-storage-python :
You must install msrestazure package too, which requires keyring, then adal, then jwt (0.3.2 for python 2.7!). All of them don't install well w/ pip on windows. |
Thanks for all the details @flamby ! |
I just tested and have no issue installing keyring, could you share the error you have? |
@flamby
here is my package list in requirements.txt:
|
@silencev I'm using python 2.7 (default one). I guess all this pip / wheel mess is fixed in python 3.x @lmazuel did you test w/ python 2.7? |
So, I followed your instructions, but you need first to update pip to latest one (I have 9.0.1 installed in my venv now). This will take care of keyring and latest azure packages. This might be enough as well to avoid your "none renaming" issue, need to try it. Also in this test I installed directly FYI @zooba @brettcannon |
Actually, I just tested and pip upgrade is enough. So:
No rename or manual download :) |
@lmazuel good to know! should be documented then ;-) |
@lmazuel indeed. I was finally able to test it and it works like a charm. thanks! |
@lmazuel this doesnt really work terribly reliably, right? this wont scale or if the host changes this will need manual intervention? |
A v2 of Azure Functions is coming for Python: For the first examples I saw in Python v2, this kind of trouble will disapear. |
@lmazuel do you know the timeline? also, that article doesnt list python as available for 2.0... |
I said "is coming", so no, not available ;) This is the future v2 library available from Azure Functions for Python |
well, the article you linked doesnt support your claim in any way (i'm not saying you are wrong, i'm just saying that I dont see any evidence in that article that supports your claim). thanks @lmazuel |
Hi,
Currently, I was not able to install the sdk in Azure Functions.
It seems some dependencies like cffi needs Visual C++.
Error message :
Could you provide win32 wheel packages suitable for Azure Functions?
i.e. azure sdk and its dependencies wheel packages
TIA
The text was updated successfully, but these errors were encountered: