[Python] Remove --locked flag from uv sync in copilot-setup-steps.yml#628
[Python] Remove --locked flag from uv sync in copilot-setup-steps.yml#628stephentoub merged 2 commits intomainfrom
--locked flag from uv sync in copilot-setup-steps.yml#628Conversation
The --locked flag requires a uv.lock file which doesn't exist in the python/ directory, causing the "Install Python dependencies" setup step to fail for CCA invocations. This aligns with the python-sdk-tests.yml workflow which uses uv sync without --locked. Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
--locked flag from uv sync in copilot-setup-steps.yml
--locked flag from uv sync in copilot-setup-steps.yml--locked flag from uv sync in copilot-setup-steps.yml
There was a problem hiding this comment.
Pull request overview
This PR fixes a failing "Install Python dependencies" step in the Copilot Coding Agent (CCA) setup workflow (copilot-setup-steps.yml). The uv sync --locked flag requires a uv.lock file to exist, but the python/ directory does not contain one, causing the step to error out. The fix removes --locked to match the working python-sdk-tests.yml workflow.
Changes:
- Removed
--lockedfrom theuv synccommand incopilot-setup-steps.yml
|
@copilot Shouldn't we add the uv.lock file instead? |
|
CCA invocations fail at the "Install Python dependencies" setup step because
uv sync --lockedrequires auv.lockfile that doesn't exist inpython/.--lockedfrom theuv synccommand incopilot-setup-steps.yml, matching the workingpython-sdk-tests.ymlworkflowOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.