Skip to content

Commit

Permalink
Python: Azure identity needs to be a default dependency (#9031)
Browse files Browse the repository at this point in the history
### Motivation and Context

After introducing entra auth as an option for AzureChatCompletion and
AzureAI Inference, we need to make sure that the azure-identity library
is installed by default as a dependency.

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

install azure-identity as a default dependency so that
AzureChatCompletion doesn't break.

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
  • Loading branch information
moonbox3 committed Sep 30, 2024
1 parent bd4d12b commit d53a6f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ dependencies = [
"pydantic-settings ~= 2.0",
"defusedxml ~= 0.7",

# azure identity
"azure-identity ~= 1.13",

# embeddings
"numpy >= 1.25.0; python_version < '3.12'",
"numpy >= 1.26.0; python_version >= '3.12'",
Expand Down

0 comments on commit d53a6f2

Please sign in to comment.