From 02ba2508df9d7d9882b8172953d6db25c70d28c4 Mon Sep 17 00:00:00 2001 From: Harshil <37377066+harshil21@users.noreply.github.com> Date: Sat, 16 Aug 2025 20:23:42 -0400 Subject: [PATCH 1/3] Don't update lockfile in copilot runtime environment --- .github/copilot-instructions.md | 4 ++-- .github/workflows/copilot-setup-steps.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index c49d0fab45f..069c52f3afa 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -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 ` to install a package in the current environment. If uv is somehow not available, you can install it using `pip install uv`. diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index bf082c40ad9..58672d181e7 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -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 From 913272f8c7725b1022331fd20ff1db9af4460f5d Mon Sep 17 00:00:00 2001 From: harshil21 <37377066+harshil21@users.noreply.github.com> Date: Sun, 17 Aug 2025 00:25:34 +0000 Subject: [PATCH 2/3] Add chango fragment for PR #4915 --- changes/unreleased/4915.D3x6MoyYYDaUcB7jmLUyeY.toml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changes/unreleased/4915.D3x6MoyYYDaUcB7jmLUyeY.toml diff --git a/changes/unreleased/4915.D3x6MoyYYDaUcB7jmLUyeY.toml b/changes/unreleased/4915.D3x6MoyYYDaUcB7jmLUyeY.toml new file mode 100644 index 00000000000..2afccdcf103 --- /dev/null +++ b/changes/unreleased/4915.D3x6MoyYYDaUcB7jmLUyeY.toml @@ -0,0 +1,5 @@ +other = "Don't update `uv.lock` in copilot runtime environment" +[[pull_requests]] +uid = "4915" +author_uid = "harshil21" +closes_threads = [] From f16ba3197284b35b7408e6caa04535fad0b787f0 Mon Sep 17 00:00:00 2001 From: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com> Date: Sun, 17 Aug 2025 11:35:34 +0200 Subject: [PATCH 3/3] Update 4915.D3x6MoyYYDaUcB7jmLUyeY.toml --- changes/unreleased/4915.D3x6MoyYYDaUcB7jmLUyeY.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changes/unreleased/4915.D3x6MoyYYDaUcB7jmLUyeY.toml b/changes/unreleased/4915.D3x6MoyYYDaUcB7jmLUyeY.toml index 2afccdcf103..a38d8d3facd 100644 --- a/changes/unreleased/4915.D3x6MoyYYDaUcB7jmLUyeY.toml +++ b/changes/unreleased/4915.D3x6MoyYYDaUcB7jmLUyeY.toml @@ -1,4 +1,4 @@ -other = "Don't update `uv.lock` in copilot runtime environment" +internal = "Don't update ``uv.lock`` in copilot runtime environment" [[pull_requests]] uid = "4915" author_uid = "harshil21"