From 5277b621345d8627a2ca207e25f887cbcfc8842a Mon Sep 17 00:00:00 2001 From: Yuki Iwai Date: Mon, 17 Jun 2024 19:51:57 +0900 Subject: [PATCH] Upgrade the protobuf version to >=4.21.12,<5 (#2358) Signed-off-by: Yuki Iwai --- cmd/earlystopping/medianstop/v1beta1/requirements.txt | 2 +- .../v1beta1/tfevent-metricscollector/requirements.txt | 2 +- cmd/suggestion/hyperband/v1beta1/requirements.txt | 2 +- cmd/suggestion/hyperopt/v1beta1/requirements.txt | 2 +- cmd/suggestion/nas/darts/v1beta1/requirements.txt | 2 +- cmd/suggestion/nas/enas/v1beta1/requirements.txt | 2 +- cmd/suggestion/optuna/v1beta1/requirements.txt | 2 +- cmd/suggestion/pbt/v1beta1/requirements.txt | 2 +- cmd/suggestion/skopt/v1beta1/requirements.txt | 2 +- sdk/python/v1beta1/setup.py | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cmd/earlystopping/medianstop/v1beta1/requirements.txt b/cmd/earlystopping/medianstop/v1beta1/requirements.txt index b09a11a006f..f5a6426b12f 100644 --- a/cmd/earlystopping/medianstop/v1beta1/requirements.txt +++ b/cmd/earlystopping/medianstop/v1beta1/requirements.txt @@ -1,5 +1,5 @@ grpcio>=1.41.1 -protobuf>=3.19.5, <=3.20.3 +protobuf>=4.21.12,<5 googleapis-common-protos==1.6.0 kubernetes==22.6.0 cython>=0.29.24 diff --git a/cmd/metricscollector/v1beta1/tfevent-metricscollector/requirements.txt b/cmd/metricscollector/v1beta1/tfevent-metricscollector/requirements.txt index 640913e0bf9..07ebf3860ac 100644 --- a/cmd/metricscollector/v1beta1/tfevent-metricscollector/requirements.txt +++ b/cmd/metricscollector/v1beta1/tfevent-metricscollector/requirements.txt @@ -3,4 +3,4 @@ rfc3339>=6.2 grpcio>=1.41.1 googleapis-common-protos==1.6.0 tensorflow==2.16.1 -protobuf<=3.20.3 +protobuf>=4.21.12,<5 diff --git a/cmd/suggestion/hyperband/v1beta1/requirements.txt b/cmd/suggestion/hyperband/v1beta1/requirements.txt index 2e40d03c49a..9c385d4f5b2 100644 --- a/cmd/suggestion/hyperband/v1beta1/requirements.txt +++ b/cmd/suggestion/hyperband/v1beta1/requirements.txt @@ -4,6 +4,6 @@ numpy>=1.25.2 scikit-learn>=0.24.0 scipy>=1.5.4 forestci==0.3 -protobuf>=3.19.5, <=3.20.3 +protobuf>=4.21.12,<5 googleapis-common-protos==1.6.0 cython>=0.29.24 diff --git a/cmd/suggestion/hyperopt/v1beta1/requirements.txt b/cmd/suggestion/hyperopt/v1beta1/requirements.txt index 4d4d9a51dce..8fd5cf35366 100644 --- a/cmd/suggestion/hyperopt/v1beta1/requirements.txt +++ b/cmd/suggestion/hyperopt/v1beta1/requirements.txt @@ -4,7 +4,7 @@ numpy>=1.25.2 scikit-learn>=0.24.0 scipy>=1.5.4 forestci==0.3 -protobuf>=3.19.5, <=3.20.3 +protobuf>=4.21.12,<5 googleapis-common-protos==1.6.0 hyperopt==0.2.5 cython>=0.29.24 diff --git a/cmd/suggestion/nas/darts/v1beta1/requirements.txt b/cmd/suggestion/nas/darts/v1beta1/requirements.txt index 8e8be3e9098..55a41934a9e 100644 --- a/cmd/suggestion/nas/darts/v1beta1/requirements.txt +++ b/cmd/suggestion/nas/darts/v1beta1/requirements.txt @@ -1,4 +1,4 @@ grpcio>=1.41.1 -protobuf>=3.19.5, <=3.20.3 +protobuf>=4.21.12,<5 googleapis-common-protos==1.6.0 cython>=0.29.24 diff --git a/cmd/suggestion/nas/enas/v1beta1/requirements.txt b/cmd/suggestion/nas/enas/v1beta1/requirements.txt index 1227588315a..97c2fc5bd3a 100644 --- a/cmd/suggestion/nas/enas/v1beta1/requirements.txt +++ b/cmd/suggestion/nas/enas/v1beta1/requirements.txt @@ -2,4 +2,4 @@ grpcio>=1.41.1 googleapis-common-protos==1.6.0 cython>=0.29.24 tensorflow==2.16.1 -protobuf<=3.20.3 +protobuf>=4.21.12,<5 diff --git a/cmd/suggestion/optuna/v1beta1/requirements.txt b/cmd/suggestion/optuna/v1beta1/requirements.txt index 6e028ccf487..a38c4554236 100644 --- a/cmd/suggestion/optuna/v1beta1/requirements.txt +++ b/cmd/suggestion/optuna/v1beta1/requirements.txt @@ -1,4 +1,4 @@ grpcio>=1.41.1 -protobuf>=3.19.5, <=3.20.3 +protobuf>=4.21.12,<5 googleapis-common-protos==1.53.0 optuna==3.3.0 diff --git a/cmd/suggestion/pbt/v1beta1/requirements.txt b/cmd/suggestion/pbt/v1beta1/requirements.txt index b0fc99fbe03..02c24cc2053 100644 --- a/cmd/suggestion/pbt/v1beta1/requirements.txt +++ b/cmd/suggestion/pbt/v1beta1/requirements.txt @@ -1,4 +1,4 @@ grpcio>=1.41.1 -protobuf>=3.19.5, <=3.20.3 +protobuf>=4.21.12,<5 googleapis-common-protos==1.53.0 numpy==1.25.2 diff --git a/cmd/suggestion/skopt/v1beta1/requirements.txt b/cmd/suggestion/skopt/v1beta1/requirements.txt index c43de3bfe19..19e5eec02bb 100644 --- a/cmd/suggestion/skopt/v1beta1/requirements.txt +++ b/cmd/suggestion/skopt/v1beta1/requirements.txt @@ -7,7 +7,7 @@ numpy==1.23.5 scikit-learn>=0.24.0, <=1.3.0 scipy>=1.5.4 forestci==0.3 -protobuf>=3.19.5, <=3.20.3 +protobuf>=4.21.12,<5 googleapis-common-protos==1.6.0 scikit-optimize>=0.9.0 cython>=0.29.24 diff --git a/sdk/python/v1beta1/setup.py b/sdk/python/v1beta1/setup.py index ad0d78fd454..2a717bddbc3 100644 --- a/sdk/python/v1beta1/setup.py +++ b/sdk/python/v1beta1/setup.py @@ -23,7 +23,7 @@ "urllib3>=1.15.1", "kubernetes>=27.2.0", "grpcio>=1.41.1", - "protobuf>=3.19.5, <=3.20.3", + "protobuf>=4.21.12,<5", ] katib_grpc_api_file = "../../../pkg/apis/manager/v1beta1/python/api_pb2.py"