You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by yo...@apache.org on 2025/12/16 05:58:49 UTC
(iotdb) 12/14: [AINode] Fix bug that AINode cannot compile in Windows (#16767)
This is an automated email from the ASF dual-hosted git repository.
yongzao pushed a commit to branch cp-ain-to-206
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit ac63eb08bd972fdef94f9ab3f5d99f759da19777
Author: Yongzao <yo...@apache.org>
AuthorDate: Tue Nov 18 00:15:32 2025 +0800
[AINode] Fix bug that AINode cannot compile in Windows (#16767)
(cherry picked from commit cd443ba9996abe1366b389e3d10f9ecb72cd8d12)
---
iotdb-core/ainode/build_binary.py | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/iotdb-core/ainode/build_binary.py b/iotdb-core/ainode/build_binary.py
index 1b5f99da214..ff99fda0933 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")
@@ -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(
@@ -465,12 +463,12 @@ def install_dependencies(venv_python, venv_dir, script_dir):
)
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: