You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "Alchuang22-dev (via GitHub)" <gi...@apache.org> on 2025/09/09 02:49:40 UTC

[PR] fix: [AINode] update version of python dependencies [iotdb]

Alchuang22-dev opened a new pull request, #16371:
URL: https://github.com/apache/iotdb/pull/16371

   ## Description
   Update version of python dependencies in AINode, and fix some bugs.
   
   ### Content1
   Update `pyproject.toml` in ainode, now ainode support versions <= Python 3.13.5.
   
   ### Content2
   Fix the bug about `tzlocal` package.
   
   ### Content3
   Change one log level in IT.
   
   
   This PR has:
   - [x] been self-reviewed.
       - [x] concurrent read
       - [x] concurrent write
       - [x] concurrent read and write 
   - [ ] added documentation for new or modified features or behaviors.
   - [ ] added Javadocs for most classes and all non-trivial methods. 
   - [ ] added or updated version, __license__, or notice information
   - [ ] added comments explaining the "why" and the intent of the code wherever would not be obvious 
     for an unfamiliar reader.
   - [ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold 
     for code coverage.
   - [ ] added integration tests.
   - [x] been tested in a test IoTDB cluster.
   
   <hr>
   
   


-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: [AINode] update version of python dependencies [iotdb]

Posted by "CRZbulabula (via GitHub)" <gi...@apache.org>.
CRZbulabula commented on code in PR #16371:
URL: https://github.com/apache/iotdb/pull/16371#discussion_r2333854692


##########
iotdb-core/ainode/pyproject.toml:
##########
@@ -46,29 +46,41 @@ packages = [
 ]
 
 [tool.poetry.dependencies]
-python = ">=3.9, <3.13"
-numpy = "^1.21.4"
-pandas = ">=2.2.0"
-torch = ">=2.7.1"
-thrift = ">=0.14.0"
-dynaconf = "^3.1.11"
-requests = "^2.31.0"
-optuna = "^3.2.0"
-psutil = "^5.9.5"
-sktime = "0.38.4"
-scikit-learn = "^1.4"
-statsmodels = "^0.14"
-hmmlearn = "^0.3.0"
-apache-iotdb = "2.0.4.dev0"
+python = ">=3.11,<=3.13.5"
+
+# Core scientific stack
+numpy = "^2.3.2"
+pandas = "^2.3.2"
+scikit-learn = "^1.7.1"
+statsmodels = "^0.14.5"
+sktime = "0.38.5"
+
+# DL / HF stack
+torch = ">=2.7.0"
+torchmetrics = "^1.8.0"
+transformers = "==4.56.0"
+tokenizers = "==0.22.0"
+huggingface_hub = "^0.34.4"
+safetensors = "^0.6.2"
 einops = "^0.8.1"
-safetensors = "^0.5.1"
-huggingface_hub = "^0.30.1"
-tokenizers = ">=0.19"
-hf_xet = ">=1.1.7"
+
+# Optimizers / utils
+optuna = "^4.4.0"
+psutil = "^7.0.0"
+requests = "^2.32.5"
+dynaconf = "^3.2.11"
+thrift = "^0.22.0"

Review Comment:
   Do not modify thrift, keep it the same as what IoTDB employed.



-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org