Repository navigation
Commit 2b6c9ae
committed
fix: remove backend-path to resolve ValueError: paths must be inside source tree
python -m build fails in CI with:
ValueError: paths must be inside source tree
This is thrown by pyproject_hooks.BuildBackendHookCaller.__init__ which
validates that all backend-path entries resolve inside the package source
directory. The backend-path = ["../../versioning/helper"] in each package's
pyproject.toml points outside the package tree, triggering this check before
any build code runs. Setting PYTHONPATH has no effect since the error fires
during path validation, not import.
Fix: remove backend-path from all 14 packages. The CI pipeline already exports
PYTHONPATH="${ROOT_DIR}/versioning/helper" which makes build_backend importable
in the hook subprocess. The custom backend and its S360 version constraint
injection are unaffected. uv build from the repo root continues to work for
local development.1 parent f93147c commit 2b6c9ae
15 files changed
Lines changed: 9 additions & 18 deletions
File tree
- libraries
- microsoft-agents-a365-notifications
- microsoft-agents-a365-observability-core
- microsoft-agents-a365-observability-extensions-agentframework
- microsoft-agents-a365-observability-extensions-langchain
- microsoft-agents-a365-observability-extensions-openai
- microsoft-agents-a365-observability-extensions-semantickernel
- microsoft-agents-a365-observability-hosting
- microsoft-agents-a365-runtime
- microsoft-agents-a365-tooling-extensions-agentframework
- microsoft-agents-a365-tooling-extensions-azureaifoundry
- microsoft-agents-a365-tooling-extensions-googleadk
- microsoft-agents-a365-tooling-extensions-openai
- microsoft-agents-a365-tooling-extensions-semantickernel
- microsoft-agents-a365-tooling
- versioning/helper
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
0 commit comments