From c2c88f425c5c63cbcf3933ddf67bf669f522fed9 Mon Sep 17 00:00:00 2001 From: Aobo Yang Date: Tue, 20 Dec 2022 18:40:13 -0800 Subject: [PATCH 1/5] rm installing stepup.py in conda ci --- scripts/install_via_conda.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_via_conda.sh b/scripts/install_via_conda.sh index 76dc7bc150..d902e16fdd 100755 --- a/scripts/install_via_conda.sh +++ b/scripts/install_via_conda.sh @@ -53,4 +53,4 @@ conda install -y -c conda-forge yarn conda install -y --no-channel-priority -c conda-forge nodejs=14 # build insights and install captum -BUILD_INSIGHTS=1 python setup.py develop +# BUILD_INSIGHTS=1 python setup.py develop From 20ae381176639f687061530f9f7eb9255daa236e Mon Sep 17 00:00:00 2001 From: Aobo Yang Date: Tue, 20 Dec 2022 23:22:48 -0800 Subject: [PATCH 2/5] test --- scripts/install_via_conda.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install_via_conda.sh b/scripts/install_via_conda.sh index d902e16fdd..07a7626e6c 100755 --- a/scripts/install_via_conda.sh +++ b/scripts/install_via_conda.sh @@ -48,9 +48,9 @@ conda install -y -c conda-forge matplotlib pytest-cov mypy flask flask-compress # pip install sphinxcontrib-katex # install node/yarn for insights build -conda install -y -c conda-forge yarn +# conda install -y -c conda-forge yarn # nodejs should be last, otherwise other conda packages will downgrade node -conda install -y --no-channel-priority -c conda-forge nodejs=14 +# conda install -y --no-channel-priority -c conda-forge nodejs=14 # build insights and install captum # BUILD_INSIGHTS=1 python setup.py develop From 6ac26bb81e0c1ba90783cce4c6666e53fc58ef75 Mon Sep 17 00:00:00 2001 From: Aobo Yang Date: Wed, 21 Dec 2022 13:03:31 -0800 Subject: [PATCH 3/5] clean ci conda install --- scripts/install_via_conda.sh | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/scripts/install_via_conda.sh b/scripts/install_via_conda.sh index 07a7626e6c..16e3466e14 100755 --- a/scripts/install_via_conda.sh +++ b/scripts/install_via_conda.sh @@ -39,18 +39,8 @@ else fi # install other deps -# conda install -y numpy sphinx pytest flake8 ipywidgets ipython scikit-learn parameterized -# conda install -y -c conda-forge matplotlib pytest-cov sphinx-autodoc-typehints mypy flask flask-compress -conda install -y pytest flake8 ipywidgets ipython scikit-learn parameterized -conda install -y -c conda-forge matplotlib pytest-cov mypy flask flask-compress - -# deps not available in conda -# pip install sphinxcontrib-katex - -# install node/yarn for insights build -# conda install -y -c conda-forge yarn -# nodejs should be last, otherwise other conda packages will downgrade node -# conda install -y --no-channel-priority -c conda-forge nodejs=14 +conda install -y pytest ipywidgets ipython scikit-learn parameterized +conda install -y -c conda-forge matplotlib pytest-cov flask flask-compress # build insights and install captum -# BUILD_INSIGHTS=1 python setup.py develop +python setup.py develop From ef9a169681395cf1a60af0ce870f6add9c8b619c Mon Sep 17 00:00:00 2001 From: Aobo Yang Date: Wed, 21 Dec 2022 17:03:47 -0800 Subject: [PATCH 4/5] clean more --- scripts/install_via_conda.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install_via_conda.sh b/scripts/install_via_conda.sh index 16e3466e14..a0025f25bd 100755 --- a/scripts/install_via_conda.sh +++ b/scripts/install_via_conda.sh @@ -40,7 +40,7 @@ fi # install other deps conda install -y pytest ipywidgets ipython scikit-learn parameterized -conda install -y -c conda-forge matplotlib pytest-cov flask flask-compress +conda install -y -c conda-forge matplotlib pytest-cov -# build insights and install captum +# install captum python setup.py develop From 7be5b3f29c662cadbba596843bb4c9fde70add78 Mon Sep 17 00:00:00 2001 From: Aobo Yang Date: Thu, 22 Dec 2022 00:35:22 -0800 Subject: [PATCH 5/5] add back flask --- scripts/install_via_conda.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_via_conda.sh b/scripts/install_via_conda.sh index a0025f25bd..31e041c453 100755 --- a/scripts/install_via_conda.sh +++ b/scripts/install_via_conda.sh @@ -40,7 +40,7 @@ fi # install other deps conda install -y pytest ipywidgets ipython scikit-learn parameterized -conda install -y -c conda-forge matplotlib pytest-cov +conda install -y -c conda-forge matplotlib pytest-cov flask flask-compress # install captum python setup.py develop