python37Packages.azure-identity: fix build

This commit is contained in:
Jonathan Ringer 2020-07-29 13:58:24 -07:00 committed by Jon
parent 22f82fc8ca
commit e87a7d68c2

View File

@ -38,6 +38,13 @@ buildPythonPackage rec {
msrestazure
];
prePatch = ''
substituteInPlace setup.py \
--replace msal-extensions~=0.1.3 msal-extensions
'';
pythonImportsCheck = [ "azure.identity" ];
# Requires checkout from mono-repo and a mock account:
# https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/tests.yml
doCheck = false;