Describe the bug
The Python + Agent Framework sample that is part of the VS Code M365 Agents Toolkit extension is not working.
To Reproduce
- I follow the instructions here for how to set up the sample.
uv venv
.venv\Scripts\activate
- uv pip install -e . --prerelease=allow
- uv run python start_with_generic_host.py
Fails with the following error:
(agent365-agentframework-python) PS C:\temp\Agent365\agent365-agentframework-python> uv run python start_with_generic_host.py
warning: The `tool.uv.dev-dependencies` field (used in `pyproject.toml`) is deprecated and will be removed in a future release; use `dependency-groups.dev` instead
error: Could not convert between URL and path
Caused by: path could not be normalized: C:\temp\Agent365\agent365-agentframework-python\../../../../python/dist
Caused by: cannot normalize a relative path beyond the base directory: C:\temp\Agent365\agent365-agentframework-python\../../../../python/dist
Expected behavior
The sample code should run.
Environment (please complete the following information):
- OS: Windows
- SDK Version [e.g. 1.0]
Describe the bug
The Python + Agent Framework sample that is part of the VS Code M365 Agents Toolkit extension is not working.
To Reproduce
uv venv.venv\Scripts\activateFails with the following error:
Expected behavior
The sample code should run.
Environment (please complete the following information):