From 8b069f20049bd83ee4e958e11cccafb1f06e13f5 Mon Sep 17 00:00:00 2001 From: Yakov Goldberg Date: Mon, 17 Jun 2024 13:27:31 -0700 Subject: [PATCH] [YOLO] pin numpy in java env --- custom_model_runner/requirements.txt | 2 +- example_dropin_environments/python39_genai/requirements.txt | 2 +- public_dropin_environments/java_codegen/dr_requirements.txt | 3 ++- public_dropin_environments/python311_genai/requirements.txt | 2 +- public_dropin_environments/python3_keras/requirements.txt | 2 +- public_dropin_environments/python3_pmml/requirements.txt | 2 +- public_dropin_environments/python3_pytorch/requirements.txt | 2 +- public_dropin_environments/python3_sklearn/requirements.txt | 2 +- public_dropin_environments/python3_xgboost/requirements.txt | 2 +- public_dropin_environments/r_lang/dr_requirements.txt | 2 +- requirements_test_unit.txt | 1 + 11 files changed, 12 insertions(+), 10 deletions(-) diff --git a/custom_model_runner/requirements.txt b/custom_model_runner/requirements.txt index 152daf4d2..91e6fd92b 100644 --- a/custom_model_runner/requirements.txt +++ b/custom_model_runner/requirements.txt @@ -10,7 +10,7 @@ jinja2>=3.0.0 memory_profiler<1.0.0 mlpiper~=2.6.0 numpy<2.0.0 -pandas>=1.5.0,<=2.0.3 +pandas>=1.5.0,<=2.2.2 progress requests scipy>=1.1,<2 diff --git a/example_dropin_environments/python39_genai/requirements.txt b/example_dropin_environments/python39_genai/requirements.txt index c9ba71fd7..f8465ddcb 100644 --- a/example_dropin_environments/python39_genai/requirements.txt +++ b/example_dropin_environments/python39_genai/requirements.txt @@ -6,7 +6,7 @@ langchain==0.0.335 sentence-transformers==2.2.2 faiss-cpu==1.7.4 numpy==1.23.5 -pandas<=2.0.3 +pandas<=2.2.2 scikit-learn==1.0.2 scipy>=1.1,<1.11 rouge-score==0.1.2 diff --git a/public_dropin_environments/java_codegen/dr_requirements.txt b/public_dropin_environments/java_codegen/dr_requirements.txt index 061e5b17a..e9024009a 100644 --- a/public_dropin_environments/java_codegen/dr_requirements.txt +++ b/public_dropin_environments/java_codegen/dr_requirements.txt @@ -1,3 +1,4 @@ -pandas<=2.0.3 +pandas<=2.2.2 +numpy<2.0.0 pyarrow>=0.14.1,<=14.0.1 datarobot-drum==1.10.21 diff --git a/public_dropin_environments/python311_genai/requirements.txt b/public_dropin_environments/python311_genai/requirements.txt index 5d012090c..900b43bd2 100644 --- a/public_dropin_environments/python311_genai/requirements.txt +++ b/public_dropin_environments/python311_genai/requirements.txt @@ -9,7 +9,7 @@ onnx==1.16.0 sentence-transformers==3.0.0 faiss-cpu==1.8.0 numpy==1.25.1 -pandas<=2.0.3 +pandas<=2.2.2 scikit-learn==1.1.3 scipy>=1.1,<1.11 tiktoken==0.7.0 diff --git a/public_dropin_environments/python3_keras/requirements.txt b/public_dropin_environments/python3_keras/requirements.txt index 6ad5d334f..1c5e284bc 100644 --- a/public_dropin_environments/python3_keras/requirements.txt +++ b/public_dropin_environments/python3_keras/requirements.txt @@ -1,6 +1,6 @@ tensorflow==2.11.1 numpy==1.23.5 -pandas<=2.0.3 +pandas<=2.2.2 scikit-learn==1.0.2 scipy>=1.1,<1.11 Pillow<=10.3.0 diff --git a/public_dropin_environments/python3_pmml/requirements.txt b/public_dropin_environments/python3_pmml/requirements.txt index c5b7be6ff..e63236e6d 100644 --- a/public_dropin_environments/python3_pmml/requirements.txt +++ b/public_dropin_environments/python3_pmml/requirements.txt @@ -1,3 +1,3 @@ pypmml==0.9.16 numpy==1.23.5 -pandas<=2.0.3 +pandas<=2.2.2 diff --git a/public_dropin_environments/python3_pytorch/requirements.txt b/public_dropin_environments/python3_pytorch/requirements.txt index 3fb6cfe81..a993cb392 100644 --- a/public_dropin_environments/python3_pytorch/requirements.txt +++ b/public_dropin_environments/python3_pytorch/requirements.txt @@ -1,5 +1,5 @@ torch==2.0.1 numpy==1.23.5 -pandas<=2.0.3 +pandas<=2.2.2 scikit-learn==1.0.2 scipy>=1.1,<1.11 diff --git a/public_dropin_environments/python3_sklearn/requirements.txt b/public_dropin_environments/python3_sklearn/requirements.txt index a8c41dabb..e35028602 100644 --- a/public_dropin_environments/python3_sklearn/requirements.txt +++ b/public_dropin_environments/python3_sklearn/requirements.txt @@ -1,5 +1,5 @@ scikit-learn==1.0.2 scipy>=1.1,<1.11 numpy==1.23.5 -pandas<=2.0.3 +pandas<=2.2.2 uwsgi diff --git a/public_dropin_environments/python3_xgboost/requirements.txt b/public_dropin_environments/python3_xgboost/requirements.txt index 9866b1bd4..dd8d7d745 100644 --- a/public_dropin_environments/python3_xgboost/requirements.txt +++ b/public_dropin_environments/python3_xgboost/requirements.txt @@ -1,5 +1,5 @@ scikit-learn==1.0.2 scipy>=1.1,<1.11 numpy==1.23.5 -pandas<=2.0.3 +pandas<=2.2.2 xgboost==1.6.1 diff --git a/public_dropin_environments/r_lang/dr_requirements.txt b/public_dropin_environments/r_lang/dr_requirements.txt index a03ad6d94..d507ce230 100644 --- a/public_dropin_environments/r_lang/dr_requirements.txt +++ b/public_dropin_environments/r_lang/dr_requirements.txt @@ -1,5 +1,5 @@ numpy>=1.20.3 -pandas<=2.0.3 +pandas<=2.2.2 rpy2==3.5.8 pyarrow>=0.14.1,<=14.0.1 datarobot-drum[R]==1.10.21 diff --git a/requirements_test_unit.txt b/requirements_test_unit.txt index a018ed3de..a61e8c374 100644 --- a/requirements_test_unit.txt +++ b/requirements_test_unit.txt @@ -1,3 +1,4 @@ pytest responses scikit-learn==1.0.2 +numpy<2.0.0