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 diff --git a/changes/unreleased/4915.D3x6MoyYYDaUcB7jmLUyeY.toml b/changes/unreleased/4915.D3x6MoyYYDaUcB7jmLUyeY.toml new file mode 100644 index 00000000000..a38d8d3facd --- /dev/null +++ b/changes/unreleased/4915.D3x6MoyYYDaUcB7jmLUyeY.toml @@ -0,0 +1,5 @@ +internal = "Don't update ``uv.lock`` in copilot runtime environment" +[[pull_requests]] +uid = "4915" +author_uid = "harshil21" +closes_threads = []