microsoft-authentication-extensions-for-python
microsoft-authentication-extensions-for-python copied to clipboard
Consider removing `portalocker` dependency
Primarily because it requires pywin32, which has been a troublesome (transitive) dependency. See for example these Azure SDK issues:
AssertionError upon importing pywin32 in Azure Function: Azure/azure-sdk-for-python#19989
Can't run python after installing pywin32 226: Azure/azure-sdk-for-python#8573
DLL load fails on Python 3.8: Azure/azure-sdk-for-python#8292
Thanks for providing lots of materials here. We will take a look, and possibly re-open the previous research effort on relevant topics here and there.
Currently, the file locking is the reason we use portalocker, because we do not want to get ourselves into the file locking business. We will need some investigation to see what we can do here.