Skip to content

azd deploy fails: pip dependency conflict for msft-docs-agent #641

@Menghua1

Description

@Menghua1

Description:
When running azd up, the deployment fails during the azd deploy step while building the msft-learn-mcp-agent service for agent msft-docs-agent. The container build fails at pip install -r requirements.txt with a dependency resolution error, as shown in the following image:
Image

Steps to Reproduce:

  1. Initialize the project: azd init --template Azure-Samples/ai-foundry-starter-basic.
  2. Initialize AI agent: azd ai agent init -m https://github.com/microsoft-foundry/foundry-samples/blob/main/samples-classic/python/getting-started-agents/hosted-agents/msft-docs-agent/agent.yaml and select location southcentralus.
  3. Run azd up.

Environment:

  • Azd version: azd version 1.24.0-beta.1-daily.6102867 (commit 751a3e746824e073c958d1b3f447aa16fb115b1a) (daily).
  • AI Agent Extension version: 0.1.20-preview
  • Agent: msft-docs-agent.
  • OS: Windows
  • Location: southcentralus.

Expected Behavior:
azd deploy completes successfully.

@JeffreyCA and @rajeshkamal5050 for notification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions