mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-05-06 22:12:12 +08:00
fix dev_install.py to use poetry lock --regenerate, which mirrors the behavior of Poetry V1 (#7259)
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user