From 746ec26e92442c85b6cfb7f7da83ce228e615f17 Mon Sep 17 00:00:00 2001 From: Yongzao Date: Mon, 17 Nov 2025 13:38:06 +0800 Subject: [PATCH 1/2] Update build_binary.py --- iotdb-core/ainode/build_binary.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iotdb-core/ainode/build_binary.py b/iotdb-core/ainode/build_binary.py index 1b5f99da2149..5e1a5840f150 100644 --- a/iotdb-core/ainode/build_binary.py +++ b/iotdb-core/ainode/build_binary.py @@ -324,7 +324,7 @@ def install_dependencies(venv_python, venv_dir, script_dir): shutil.rmtree(poetry_venv_path, ignore_errors=True) poetry_venv_path.parent.mkdir(parents=True, exist_ok=True) poetry_venv_path.symlink_to(venv_dir) - print(f"✓ Symlink created successfully") + print(f"Symlink created successfully") except Exception as e: print(f"WARNING: Failed to create symlink: {e}") print("Will try to use poetry install directly with VIRTUAL_ENV set") @@ -387,7 +387,7 @@ def install_dependencies(venv_python, venv_dir, script_dir): sys.exit(1) else: print( - f"✓ Poetry is correctly using virtual environment: {poetry_venv_path}" + f"Poetry is correctly using virtual environment: {poetry_venv_path}" ) else: print("Warning: Could not verify poetry virtual environment path") @@ -465,12 +465,12 @@ def verify_poetry_env(): ) if test_result.returncode == 0: version = test_result.stdout.strip() - print(f" ✓ {package} {version} installed") + print(f"{package} {version} installed") else: error_msg = ( test_result.stderr.strip() if test_result.stderr else "Unknown error" ) - print(f" ✗ {package} NOT found in virtual environment: {error_msg}") + print(f"{package} NOT found in virtual environment: {error_msg}") missing_packages.append(package) if missing_packages: From 038ea80ba2254b11c9edbd5d5d96a1192cf3d7a4 Mon Sep 17 00:00:00 2001 From: Yongzao Date: Mon, 17 Nov 2025 13:42:25 +0800 Subject: [PATCH 2/2] spotless --- iotdb-core/ainode/build_binary.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/iotdb-core/ainode/build_binary.py b/iotdb-core/ainode/build_binary.py index 5e1a5840f150..ff99fda09338 100644 --- a/iotdb-core/ainode/build_binary.py +++ b/iotdb-core/ainode/build_binary.py @@ -386,9 +386,7 @@ def install_dependencies(venv_python, venv_dir, script_dir): print("The symlink approach may not have worked. Please check the symlink.") sys.exit(1) else: - print( - f"Poetry is correctly using virtual environment: {poetry_venv_path}" - ) + print(f"Poetry is correctly using virtual environment: {poetry_venv_path}") else: print("Warning: Could not verify poetry virtual environment path") print(