This is an automated email from the ASF dual-hosted git repository.

CRZbulabula pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 98a7d511a78 Avoid stale Poetry cache when locking AINode dependencies 
(#18329)
98a7d511a78 is described below

commit 98a7d511a7803af503899cadf42563f467aaeeff
Author: Yongzao <[email protected]>
AuthorDate: Tue Jul 28 14:48:16 2026 +0800

    Avoid stale Poetry cache when locking AINode dependencies (#18329)
---
 iotdb-core/ainode/build_binary.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/iotdb-core/ainode/build_binary.py 
b/iotdb-core/ainode/build_binary.py
index aa342bb82d1..986ccae285d 100644
--- a/iotdb-core/ainode/build_binary.py
+++ b/iotdb-core/ainode/build_binary.py
@@ -196,10 +196,11 @@ def install_dependencies(venv_python, venv_dir, 
script_dir):
         sys.exit(1)
     print(f"  Python version: {python_version_result.stdout.strip()}")
 
-    # Update lock file and install dependencies
+    # Regenerate the lock file without cached release metadata because a 
package's
+    # platform artifacts may still be uploading when Poetry first sees a 
release.
     print("Running poetry lock...")
     result = subprocess.run(
-        [str(poetry_exe), "lock"],
+        [str(poetry_exe), "lock", "--no-cache", "--regenerate"],
         cwd=str(script_dir),
         env=venv_env,
         check=False,

Reply via email to