Commit 6aaf5b2
authored
fix: pin azure-ai-projects to <2.0.0 in tooling-extensions-azureaifoundry (#233)
* fix: pin azure-ai-projects to <2.0.0 in tooling-extensions-azureaifoundry
The build backend introduced on Apr 1 (fbdc187) injects the root
constraint-dependencies into published wheel metadata. The root pinned
azure-ai-projects >= 2.0.0b1, which conflicts with semantic-kernel's
transitive requirement of azure-ai-projects~=1.0.0b12 (<2.0.0).
Pin azure-ai-projects>=1.0.0b12,<2.0.0 explicitly in this package so
the build backend leaves it unchanged (it skips deps that already have
a version specifier). The <2.0.0 upper bound is also required because
azure-ai-projects 2.x removed the Agents API used by this package
(project_client.agents.update_agent).
* 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 3545ab3 commit 6aaf5b2
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
66 | 67 | | |
67 | | - | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | | - | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
0 commit comments