Skip to content

Commit fb904d3

Browse files
committed
Correct use of uv flags
1 parent 8dfd9cc commit fb904d3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/blueapi/cli/scratch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def scratch_install(
9393
_validate_directory(path)
9494

9595
logging.info(f"Installing {path}")
96-
process = Popen(["uv", "add", "--locked", "--editable", f"{name} @ {path}"])
96+
process = Popen(["uv", "add", "--frozen", "--editable", f"{name} @ {path}"])
9797
process.wait(timeout=timeout)
9898
if process.returncode != 0:
9999
raise RuntimeError(f"Failed to install {path}: Exit Code: {process.returncode}")

tests/unit_tests/cli/test_scratch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def test_scratch_install_installs_path(
6565
scratch_install("foo", directory_path_with_sgid, timeout=1.0)
6666

6767
mock_popen.assert_called_once_with(
68-
["uv", "add", "--locked", "--editable", f"foo @ {directory_path_with_sgid}"]
68+
["uv", "add", "--frozen", "--editable", f"foo @ {directory_path_with_sgid}"]
6969
)
7070

7171

0 commit comments

Comments
 (0)