Skip to content

Commit 50f92e4

Browse files
authored
[AINode] Delete poetry.lock for easier maintain different operating systems (#16793)
1 parent 4525d07 commit 50f92e4

File tree

3 files changed

+11
-2331
lines changed

3 files changed

+11
-2331
lines changed

iotdb-core/ainode/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
# generated by maven
1515
/iotdb/ainode/conf/
1616

17+
# generated by poetry
18+
poetry.lock
19+
1720
# generated by pyinstaller
1821
/dist/
1922
/build/

iotdb-core/ainode/build_binary.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,14 @@ def verify_poetry_env():
434434
verify_poetry_env() # Verify after lock
435435

436436
print("Running poetry install...")
437+
subprocess.run(
438+
[str(poetry_exe), "lock"],
439+
cwd=str(script_dir),
440+
env=venv_env,
441+
check=True,
442+
capture_output=True,
443+
text=True,
444+
)
437445
verify_poetry_env() # Verify before install
438446
result = subprocess.run(
439447
[str(poetry_exe), "install"],

0 commit comments

Comments
 (0)