Commit 042ce61
committed
fix: cap azure-ai-projects to <2.0.0 in root constraint-dependencies
The centralized build backend (introduced Apr 1, fbdc187) stamps wheel
metadata from the root constraint-dependencies. The previous entry
'azure-ai-projects >= 2.0.0b1' conflicted with semantic-kernel>=1.39.3
which requires azure-ai-projects~=1.0.0b12 (<2.0.0).
Fix by updating the root pyproject.toml in two places:
- constraint-dependencies: azure-ai-projects>=1.0.0b12,<2.0.0
- override-dependencies: azure-ai-projects>=1.0.0b12,<2.0.0
The <2.0.0 upper bound is also correct for tooling-extensions-azureaifoundry
which uses the 1.x Agents API (project_client.agents.update_agent) that
was removed in azure-ai-projects 2.x.
Package-level pyproject.toml files keep bare 'azure-ai-projects' (no
version specifier) to satisfy verify_constraints.py policy.1 parent 4cadf89 commit 042ce61
2 files changed
Lines changed: 7 additions & 6 deletions
File tree
- libraries/microsoft-agents-a365-tooling-extensions-azureaifoundry
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | | - | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
0 commit comments