From 4af23069ccbbd26d7816bafc3762365ce4c5da77 Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Fri, 10 May 2024 13:33:37 +0800 Subject: [PATCH] Revert version requirement for mlflow (#7742) Revert https://github.com/Project-MONAI/MONAI/pull/7659 ### Types of changes - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. --------- Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- .github/workflows/pythonapp.yml | 1 + docs/requirements.txt | 2 +- requirements-dev.txt | 2 +- setup.cfg | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index b8b73907d4..d1e77bb567 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -100,6 +100,7 @@ jobs: python -m pip install --pre -U itk - name: Install the dependencies run: | + python -m pip install --user --upgrade pip wheel python -m pip install torch==1.13.1 torchvision==0.14.1 cat "requirements-dev.txt" python -m pip install -r requirements-dev.txt diff --git a/docs/requirements.txt b/docs/requirements.txt index 5acc437391..468545dc19 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -22,7 +22,7 @@ sphinx-autodoc-typehints==1.11.1 pandas einops transformers<4.22; python_version <= '3.10' # https://github.com/Project-MONAI/MONAI/issues/5157 -mlflow>=1.28.0, <=2.11.3 +mlflow>=2.12.2 clearml>=1.10.0rc0 tensorboardX imagecodecs; platform_system == "Linux" or platform_system == "Darwin" diff --git a/requirements-dev.txt b/requirements-dev.txt index e8792c86f3..83bdae2a5c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -34,7 +34,7 @@ pandas requests einops transformers>=4.36.0 -mlflow>=1.28.0, <=2.11.3 +mlflow>=2.12.2 clearml>=1.10.0rc0 matplotlib!=3.5.0 tensorboardX diff --git a/setup.cfg b/setup.cfg index c8ae1630f7..711d5c5558 100644 --- a/setup.cfg +++ b/setup.cfg @@ -66,7 +66,7 @@ all = pandas einops transformers<4.22; python_version <= '3.10' - mlflow>=1.28.0, <=2.11.3 + mlflow>=2.12.2 clearml>=1.10.0rc0 matplotlib tensorboardX @@ -125,7 +125,7 @@ einops = transformers = transformers<4.22; python_version <= '3.10' mlflow = - mlflow>=1.28.0, <=2.11.3 + mlflow>=2.12.2 matplotlib = matplotlib clearml =