-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{Packaging} Add msal-extensions dependency
#19910
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,13 +50,14 @@ | |
| 'humanfriendly>=4.7,<10.0', | ||
| 'jmespath', | ||
| 'knack~=0.8.2', | ||
| 'msal-extensions>=0.3.0', | ||
| 'msal>=1.15.0,<2.0.0', | ||
|
||
| 'paramiko>=2.0.8,<3.0.0', | ||
| 'pkginfo>=1.5.0.1', | ||
| 'PyJWT>=2.1.0', | ||
| 'pyopenssl>=17.1.0', # https://github.com/pyca/pyopenssl/pull/612 | ||
| 'requests[socks]~=2.25.1', | ||
| 'urllib3[secure]>=1.26.5', | ||
| 'urllib3[secure]>=1.26.5' | ||
| ] | ||
|
|
||
| # dependencies for specific OSes | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -109,6 +109,7 @@ jmespath==0.9.5 | |
| jsondiff==1.2.0 | ||
| knack==0.8.2 | ||
| MarkupSafe==1.1.1 | ||
| msal-extensions==0.3.0 | ||
| msal==1.15.0 | ||
|
||
| msrest==0.6.21 | ||
| msrestazure==0.6.3 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will you consider adding an upper bound such as
msal-extensions>=0.3.0,<1, or strictly speaking,msal-extensions>=0.3.0,<0.4?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That depends on whether
msal-extensionswill make a breaking change in 1.0 or 0.4. I can't predict the future. 😉There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. My point was you would want to at least use some upper bound, rather than no upper bound at all. I think you can go with
extensions>=0.3.0,<0.4, for now.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, recently we deliberately removed upper bound for some libraries like
cryptography(#19639) so that users can always use the latest versions of dependencies, rather than waiting for us to bump it. Sincepipis being more strict than before, setting a wider version range helps eliminate dependency conflicts.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
msalandmsal-extensionsuse Semantic Versioning. And the whole point of Semantic Versioning (i.e. Why Semantic Versioning) is to be able to:So, I would still suggest you to properly set both lower and upper bounds for
msalandmsal-extensions.cryptographyis a different story. It does not use SemVer, so its practice is vastly different. It is off-topic in this context. We can follow up offline separately.