Skip to content

Commit bb43e03

Browse files
committed
click commands will exit the whole program after being called if 'standalone_mode = False' is not passed. On linux, this ended up not mattering because the file written to by pip_compile is a symlink to the file in the source tree. Symlinks are disabled by default on windows, so it writes to a new file in the runfiles tree but doesn't copy back to the source tree because the program exits.
1 parent ae953da commit bb43e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/private/pypi/dependency_resolver/dependency_resolver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def main(
182182
resolved_requirements_file, requirements_file_tree
183183
)
184184
)
185-
cli(argv)
185+
cli(argv, standalone_mode = False)
186186
requirements_file_relative_path = Path(requirements_file_relative)
187187
content = requirements_file_relative_path.read_text()
188188
content = content.replace(absolute_path_prefix, "")

0 commit comments

Comments
 (0)