fix dev_install.py to use poetry lock --regenerate, which mirrors the behavior of Poetry V1 (#7259)

This commit is contained in:
Danglewood
2025-11-06 00:02:46 -08:00
committed by GitHub
parent 92fa4c85f6
commit a5e87da753

View File

@@ -142,7 +142,7 @@ def install_platform_local(_extras: bool = False):
extras_args = ["-E", "all"] if _extras else []
subprocess.run(
CMD + ["lock"],
CMD + ["lock", "--regenerate"],
cwd=PLATFORM_PATH,
check=True,
)
@@ -187,7 +187,7 @@ def install_platform_cli():
CMD = [sys.executable, "-m", "poetry"]
subprocess.run(
CMD + ["lock"],
CMD + ["lock", "--regenerate"],
cwd=CLI_PATH,
check=True, # noqa: S603
)