From 9b0b48a11f281d4c839e12cd781b597a26f09341 Mon Sep 17 00:00:00 2001 From: Rahul Radhakrishnan Date: Mon, 22 Jul 2024 21:24:32 +0000 Subject: [PATCH] Revert "feature: Add jupyter-idle extension (#453)" This reverts commit 99db206dccc13eaf66642e468286cb612767bf54. --- .../v2/v2.0/v2.0.0/cpu.additional_packages_env.in | 1 - .../v2/v2.0/v2.0.0/gpu.additional_packages_env.in | 1 - .../v2/jupyter-activity-monitor-extension.test.Dockerfile | 8 -------- test/test_dockerfile_based_harness.py | 2 -- 4 files changed, 12 deletions(-) delete mode 100644 test/test_artifacts/v2/jupyter-activity-monitor-extension.test.Dockerfile diff --git a/build_artifacts/v2/v2.0/v2.0.0/cpu.additional_packages_env.in b/build_artifacts/v2/v2.0/v2.0.0/cpu.additional_packages_env.in index d205950d..7495d996 100644 --- a/build_artifacts/v2/v2.0/v2.0.0/cpu.additional_packages_env.in +++ b/build_artifacts/v2/v2.0/v2.0.0/cpu.additional_packages_env.in @@ -1,4 +1,3 @@ #Add any additional packages here conda-forge::mlflow[version='>=2.13.2,<3.0'] conda-forge::sagemaker-mlflow[version='>=0.1.0,<1.0'] -conda-forge::jupyter-activity-monitor-extension[version'>=0.1.0,<1.0'] diff --git a/build_artifacts/v2/v2.0/v2.0.0/gpu.additional_packages_env.in b/build_artifacts/v2/v2.0/v2.0.0/gpu.additional_packages_env.in index d205950d..7495d996 100644 --- a/build_artifacts/v2/v2.0/v2.0.0/gpu.additional_packages_env.in +++ b/build_artifacts/v2/v2.0/v2.0.0/gpu.additional_packages_env.in @@ -1,4 +1,3 @@ #Add any additional packages here conda-forge::mlflow[version='>=2.13.2,<3.0'] conda-forge::sagemaker-mlflow[version='>=0.1.0,<1.0'] -conda-forge::jupyter-activity-monitor-extension[version'>=0.1.0,<1.0'] diff --git a/test/test_artifacts/v2/jupyter-activity-monitor-extension.test.Dockerfile b/test/test_artifacts/v2/jupyter-activity-monitor-extension.test.Dockerfile deleted file mode 100644 index fa108d52..00000000 --- a/test/test_artifacts/v2/jupyter-activity-monitor-extension.test.Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -ARG SAGEMAKER_DISTRIBUTION_IMAGE -FROM $SAGEMAKER_DISTRIBUTION_IMAGE - -ARG MAMBA_DOCKERFILE_ACTIVATE=1 -RUN micromamba install pytest --freeze-installed --yes --channel conda-forge --name base -RUN micromamba install pytest-jupyter --freeze-installed --yes --channel conda-forge --name base -RUN SITE_PACKAGES=$(pip show jupyter-activity-monitor-extension | grep Location | awk '{print $2}') && \ - cd "$SITE_PACKAGES/jupyter_activity_monitor_extension/tests/" && pytest -p pytest_jupyter.jupyter_server diff --git a/test/test_dockerfile_based_harness.py b/test/test_dockerfile_based_harness.py index 4a10b6c7..f7c8dd90 100644 --- a/test/test_dockerfile_based_harness.py +++ b/test/test_dockerfile_based_harness.py @@ -45,7 +45,6 @@ ("serve.test.Dockerfile", ["serve-langchain"]), ("langchain-aws.test.Dockerfile", ["langchain-aws"]), ("mlflow.test.Dockerfile", ["mlflow"]), - ("jupyter-activity-monitor-extension.test.Dockerfile", ["jupyter-activity-monitor-extension"]), ], ) def test_dockerfiles_for_cpu( @@ -87,7 +86,6 @@ def test_dockerfiles_for_cpu( ("langchain-aws.test.Dockerfile", ["langchain-aws"]), ("mlflow.test.Dockerfile", ["mlflow"]), ("sagemaker-mlflow.test.Dockerfile", ["sagemaker-mlflow"]), - ("jupyter-activity-monitor-extension.test.Dockerfile", ["jupyter-activity-monitor-extension"]), ("gpu-dependencies.test.Dockerfile", ["pytorch", "tensorflow"]), ], )