From 98cc6cb9ac18902cd4c582ef186247e3b825e41a Mon Sep 17 00:00:00 2001 From: Harutaka Kawamura Date: Mon, 30 May 2022 22:08:58 +0900 Subject: [PATCH 1/4] Update runtests.sh Signed-off-by: harupy --- runtests.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/runtests.sh b/runtests.sh index ec9493f6b2..58239d59b8 100755 --- a/runtests.sh +++ b/runtests.sh @@ -15,7 +15,10 @@ set -e # FIXME: https://github.com/Project-MONAI/MONAI/issues/4354 -export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python +protobuf_major_version=$(pip list | grep '^protobuf ' | tr -s ' ' | cut -d' ' -f2 | cut -d'.' -f1) +if [ "$protobuf_major_version" -ge "4" ] + export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python +then # output formatting separator="" From 7c5c7904a0be8c39bb49386b39b1fd23e49e48fc Mon Sep 17 00:00:00 2001 From: Harutaka Kawamura Date: Mon, 30 May 2022 22:54:59 +0900 Subject: [PATCH 2/4] fix syntax Signed-off-by: harupy --- runtests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtests.sh b/runtests.sh index 58239d59b8..93c306b890 100755 --- a/runtests.sh +++ b/runtests.sh @@ -17,8 +17,9 @@ set -e # FIXME: https://github.com/Project-MONAI/MONAI/issues/4354 protobuf_major_version=$(pip list | grep '^protobuf ' | tr -s ' ' | cut -d' ' -f2 | cut -d'.' -f1) if [ "$protobuf_major_version" -ge "4" ] - export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python then + export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python +if # output formatting separator="" From cbbf269f69a138c6155e3eedadc0159d5ab5d74f Mon Sep 17 00:00:00 2001 From: Harutaka Kawamura Date: Mon, 30 May 2022 23:03:00 +0900 Subject: [PATCH 3/4] fix syntax again Signed-off-by: harupy --- runtests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtests.sh b/runtests.sh index 93c306b890..f7403ff05b 100755 --- a/runtests.sh +++ b/runtests.sh @@ -19,7 +19,7 @@ protobuf_major_version=$(pip list | grep '^protobuf ' | tr -s ' ' | cut -d' ' -f if [ "$protobuf_major_version" -ge "4" ] then export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python -if +fi # output formatting separator="" From 31bd7397ea6a4d1b9d0cb61a1628fa89d2bb43e2 Mon Sep 17 00:00:00 2001 From: harupy Date: Tue, 31 May 2022 00:52:57 +0900 Subject: [PATCH 4/4] unpin mlflow Signed-off-by: harupy --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 99f6cc3678..ac8b3730d8 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -40,7 +40,7 @@ pandas requests einops transformers -mlflow!=1.26.1 # https://github.com/Project-MONAI/MONAI/issues/4375 +mlflow matplotlib!=3.5.0 tensorboardX types-PyYAML