Skip to content

Declare Content Understanding SDK dependency - #35

Open
Chien Yuan Chang (chienyuanchang) wants to merge 1 commit into
mainfrom
fix/extension-direct-sdk-dependency
Open

Declare Content Understanding SDK dependency#35
Chien Yuan Chang (chienyuanchang) wants to merge 1 commit into
mainfrom
fix/extension-direct-sdk-dependency

Conversation

@chienyuanchang

Copy link
Copy Markdown
Member

Summary

  • declare azure-ai-contentunderstanding>=1.2.0b3 as a direct dependency of the Azure CLI extension
  • bump the extension to the immutable 0.1.0b2 release
  • document the packaging fix for the September 14 release

Motivation

Azure CLI extension-index validation loads _infra_models.py, which directly imports azure.ai.contentunderstanding. The existing 0.1.0b1 wheel relied on cu-cli-core to provide that package transitively, and the Azure CLI validation environment failed to install it. Declaring the directly imported SDK explicitly prevents the command and help reflection failures seen in Azure/azure-cli-extensions#10330.

Validation

  • extension unit tests: 102 passed
  • Ruff: passed
  • full cu-cli/scripts/ci.sh: passed
  • built wheel metadata includes the direct SDK requirement
  • isolated az extension add installs azure-ai-contentunderstanding==1.2.0b3
  • isolated az cu --help: passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant