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

This commit is contained in:
Harshil
2025-08-17 05:36:03 -04:00
committed by GitHub
parent 19d891aceb
commit 1472674587
3 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -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`.
+1 -1
View File
@@ -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
@@ -0,0 +1,5 @@
internal = "Don't update ``uv.lock`` in copilot runtime environment"
[[pull_requests]]
uid = "4915"
author_uid = "harshil21"
closes_threads = []