microsoftgraph / msgraph-cli-archived

The Microsoft Graph CLI repository has moved. This repository is now an archive.
https://github.com/microsoftgraph/msgraph-cli
Other
44 stars 9 forks source link

Task/use pipenv #13

Closed jobala closed 4 years ago

jobala commented 4 years ago

Purpose

Use pipenv for dependency management

Notes

Pipenv is the official dependency management tool recommended by the Python Community. It is to Python what npm is to NodeJS. With pipenv we don't have to manage multiple dependency files ie for production and development environments. You can learn more about pipenv here

Known Issues

To install msal-extensions 0.2.2 we have to use the --skip-lock flag. With this flag pipenv won't run dependency resolution. We need this because we are using azure-identity 1.3.1 which requires msal-extensions 0.1.3 so msal-extensions 0.2.2 will fail to install without the --skip-lock flag. We are not using the latest azure-identity 1.4.0b7 because it seems not to use the persisted token cache. This issue will go away once we switch to the latest version of azure-identity