Skip to content

Don't update uv.lock in copilot runtime environment #4915

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Your environment has all extra dependencies and groups installed, on Python 3.13
and for any scripts or tools you need to run.

Some example commands on `uv`:
- `uv sync --all-extras --all-groups` to install all dependencies and groups required by the project.
- `uv run -p 3.14 --all-groups --all-extras tests/` to run tests on a specific Python version. Please use the `-p` flag often.
- `uv sync --all-extras --all-groups --locked` to install all dependencies and groups required by the project.
- `uv run -p 3.14 --all-groups --all-extras --locked tests/` to run tests on a specific Python version. Please use the `-p` flag often.
- `uv pip install <package>` to install a package in the current environment.

If uv is somehow not available, you can install it using `pip install uv`.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
python-version: 3.13

- name: Install the project
run: uv sync --all-extras --all-groups
run: uv sync --all-extras --all-groups --locked

- name: Install linting dependencies
# Make sure the pinned versions here match the ones in .pre-commit-config.yaml
Expand Down
5 changes: 5 additions & 0 deletions changes/unreleased/4915.D3x6MoyYYDaUcB7jmLUyeY.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
internal = "Don't update ``uv.lock`` in copilot runtime environment"
[[pull_requests]]
uid = "4915"
author_uid = "harshil21"
closes_threads = []
Loading