python azure function: PyGoObject is missing RRS feed

  • Question

  • Recently created and deployed python azure function that is triggered on queue message, processes text file and upload a json to blob storage.  On testing function, from local dev environment and from azure function => code + test => test/run, the function executes and produces the correct upload to the correct blob container, but throws error:

    Runtime dependency of PyGObject is missing. Depends on your Linux distro, you could install it system-wide by something like: sudo apt install python3-gi python3-gi-cairo gir1.2-secret-1 If necessary, please refer to PyGObject's doc: Traceback (most recent call last): File "/home/site/wwwroot/.python_packages/lib/site-packages/msal_extensions/", line 21, in <module> import gi # ModuleNotFoundError: No module named 'gi'

    The app service deployed as Python 3.7 Linux.

    Any advice on remediation is greatly appreciated.  I do not see anything on stackoverflow and the reference to readthedocs link is not informative of the context I am working within..

    Saturday, June 13, 2020 6:35 PM