CRZbulabula opened a new pull request, #18329:
URL: https://github.com/apache/iotdb/pull/18329

   ## Description
   
   AINode packaging regenerates `poetry.lock` on every build. Poetry release 
metadata is cached persistently, so if the cache is populated while a package 
release is still uploading platform artifacts, later builds can keep generating 
a lock file with an incomplete artifact list. This can make installation fail 
even after compatible wheels are available.
   
   This change runs `poetry lock --no-cache --regenerate` so each packaging 
build fetches current source metadata and recreates the lock file from scratch. 
This prevents persistent self-hosted runner caches from poisoning subsequent 
AINode builds.
   
   ### Verification
   
   - Confirmed that Poetry 2.2.1 supports both `--no-cache` and `--regenerate` 
for `poetry lock`.
   - Ran `python -m py_compile build_binary.py`.
   - Ran `black --check build_binary.py`.
   - Ran `isort --check-only --profile black build_binary.py`.
   
   <hr>
   
   This PR has:
   - [x] been self-reviewed.
   - [x] added comments explaining the why and intent of the code.
   
   <hr>
   
   ##### Key changed/added classes
   
   - `iotdb-core/ainode/build_binary.py`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to