Skip to content

Commit f6eebe6

Browse files
authored
fix: remove --no-deps flag in scratch install (#1572)
After removing dodal as dependency in #1534. It becomes difficult for village blueapi to install their plans etc because scratch does install with no dependencies. To make the release usable again we are removing the flag, while we figure out a long term solution for this problem.
1 parent 315665f commit f6eebe6

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/blueapi/cli/scratch.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ def scratch_install(*paths: Path, timeout: float = _DEFAULT_INSTALL_TIMEOUT) ->
133133
"uv",
134134
"pip",
135135
"install",
136-
"--no-deps",
137136
]
138137
for path in paths:
139138
_validate_directory(path)

tests/unit_tests/cli/test_scratch.py

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

6868
mock_popen.assert_called_once_with(
69-
["uv", "pip", "install", "--no-deps", "-e", str(directory_path_with_sgid)]
69+
["uv", "pip", "install", "-e", str(directory_path_with_sgid)]
7070
)
7171

7272

0 commit comments

Comments
 (0)