From 7b507828a1ec45a14268b942feb039fe90e53e45 Mon Sep 17 00:00:00 2001 From: Mehrshad Date: Tue, 7 May 2024 02:20:43 -0400 Subject: [PATCH 1/3] Update outdated actions (#2324) Signed-off-by: Mehrshad --- .github/workflows/build-and-publish-images.yaml | 4 ++-- .github/workflows/e2e-test-darts-cifar10.yaml | 2 +- .github/workflows/e2e-test-enas-cifar10.yaml | 2 +- .github/workflows/e2e-test-pytorch-mnist.yaml | 2 +- .github/workflows/e2e-test-simple-pbt.yaml | 2 +- .../workflows/e2e-test-tf-mnist-with-summaries.yaml | 2 +- .../e2e-test-ui-random-search-postgres.yaml | 2 +- .github/workflows/template-publish-image/action.yaml | 8 ++++---- .../workflows/template-setup-e2e-test/action.yaml | 8 ++++---- .github/workflows/test-go.yaml | 8 ++++---- .github/workflows/test-lint.yaml | 4 ++-- .github/workflows/test-node.yaml | 12 ++++++------ .github/workflows/test-python.yaml | 8 ++++---- 13 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/build-and-publish-images.yaml b/.github/workflows/build-and-publish-images.yaml index 9f598cc13d9..0ea988bf338 100644 --- a/.github/workflows/build-and-publish-images.yaml +++ b/.github/workflows/build-and-publish-images.yaml @@ -25,14 +25,14 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Docker Login # Trigger workflow only for kubeflow/katib repository with specific branch (master, release-.*) or tag (v.*). if: >- github.repository == 'kubeflow/katib' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v')) - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/e2e-test-darts-cifar10.yaml b/.github/workflows/e2e-test-darts-cifar10.yaml index 02aa7f5e73a..410e2e2e402 100644 --- a/.github/workflows/e2e-test-darts-cifar10.yaml +++ b/.github/workflows/e2e-test-darts-cifar10.yaml @@ -15,7 +15,7 @@ jobs: timeout-minutes: 120 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Test Env uses: ./.github/workflows/template-setup-e2e-test diff --git a/.github/workflows/e2e-test-enas-cifar10.yaml b/.github/workflows/e2e-test-enas-cifar10.yaml index 4153162f66a..ccfe5538b95 100644 --- a/.github/workflows/e2e-test-enas-cifar10.yaml +++ b/.github/workflows/e2e-test-enas-cifar10.yaml @@ -15,7 +15,7 @@ jobs: timeout-minutes: 120 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Test Env uses: ./.github/workflows/template-setup-e2e-test diff --git a/.github/workflows/e2e-test-pytorch-mnist.yaml b/.github/workflows/e2e-test-pytorch-mnist.yaml index 883075f227d..dd715975166 100644 --- a/.github/workflows/e2e-test-pytorch-mnist.yaml +++ b/.github/workflows/e2e-test-pytorch-mnist.yaml @@ -15,7 +15,7 @@ jobs: timeout-minutes: 120 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Test Env uses: ./.github/workflows/template-setup-e2e-test diff --git a/.github/workflows/e2e-test-simple-pbt.yaml b/.github/workflows/e2e-test-simple-pbt.yaml index faae9cd655b..c91f6a3cb57 100644 --- a/.github/workflows/e2e-test-simple-pbt.yaml +++ b/.github/workflows/e2e-test-simple-pbt.yaml @@ -15,7 +15,7 @@ jobs: timeout-minutes: 120 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Test Env uses: ./.github/workflows/template-setup-e2e-test diff --git a/.github/workflows/e2e-test-tf-mnist-with-summaries.yaml b/.github/workflows/e2e-test-tf-mnist-with-summaries.yaml index 231a5f6c18a..4bc5730c5a6 100644 --- a/.github/workflows/e2e-test-tf-mnist-with-summaries.yaml +++ b/.github/workflows/e2e-test-tf-mnist-with-summaries.yaml @@ -15,7 +15,7 @@ jobs: timeout-minutes: 120 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Test Env uses: ./.github/workflows/template-setup-e2e-test diff --git a/.github/workflows/e2e-test-ui-random-search-postgres.yaml b/.github/workflows/e2e-test-ui-random-search-postgres.yaml index 5d8525a1b49..16f74350d94 100644 --- a/.github/workflows/e2e-test-ui-random-search-postgres.yaml +++ b/.github/workflows/e2e-test-ui-random-search-postgres.yaml @@ -13,7 +13,7 @@ jobs: timeout-minutes: 120 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Test Env uses: ./.github/workflows/template-setup-e2e-test diff --git a/.github/workflows/template-publish-image/action.yaml b/.github/workflows/template-publish-image/action.yaml index ba51edf35f7..4118d06cd59 100644 --- a/.github/workflows/template-publish-image/action.yaml +++ b/.github/workflows/template-publish-image/action.yaml @@ -36,14 +36,14 @@ runs: df -h - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set Up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Add Docker Tags id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ inputs.image }} tags: | @@ -51,7 +51,7 @@ runs: type=sha,prefix=v1beta1- - name: Build and Push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . file: ${{ inputs.dockerfile }} diff --git a/.github/workflows/template-setup-e2e-test/action.yaml b/.github/workflows/template-setup-e2e-test/action.yaml index d6f2ca57b4f..c1b988f8b57 100644 --- a/.github/workflows/template-setup-e2e-test/action.yaml +++ b/.github/workflows/template-setup-e2e-test/action.yaml @@ -32,12 +32,12 @@ runs: df -h - name: Setup kubectl - uses: azure/setup-kubectl@v3 + uses: azure/setup-kubectl@v4 with: version: ${{ inputs.kubernetes-version }} - name: Setup Minikube Cluster - uses: medyagh/setup-minikube@v0.0.14 + uses: medyagh/setup-minikube@v0.0.16 with: network-plugin: cni cni: flannel @@ -47,10 +47,10 @@ runs: start-args: --wait-timeout=120s - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ inputs.python-version }} diff --git a/.github/workflows/test-go.yaml b/.github/workflows/test-go.yaml index 5b6ddeb2ef6..1a9bddd271c 100644 --- a/.github/workflows/test-go.yaml +++ b/.github/workflows/test-go.yaml @@ -20,12 +20,12 @@ jobs: working-directory: ${{ env.GOPATH }}/src/github.com/kubeflow/katib steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ${{ env.GOPATH }}/src/github.com/kubeflow/katib - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version-file: ${{ env.GOPATH }}/src/github.com/kubeflow/katib/go.mod @@ -42,12 +42,12 @@ jobs: working-directory: ${{ env.GOPATH }}/src/github.com/kubeflow/katib steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ${{ env.GOPATH }}/src/github.com/kubeflow/katib - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version-file: ${{ env.GOPATH }}/src/github.com/kubeflow/katib/go.mod diff --git a/.github/workflows/test-lint.yaml b/.github/workflows/test-lint.yaml index 5386842bafe..aab7e01ab63 100755 --- a/.github/workflows/test-lint.yaml +++ b/.github/workflows/test-lint.yaml @@ -16,10 +16,10 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 diff --git a/.github/workflows/test-node.yaml b/.github/workflows/test-node.yaml index 166d7a8e8f0..0972b34f818 100644 --- a/.github/workflows/test-node.yaml +++ b/.github/workflows/test-node.yaml @@ -16,10 +16,10 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 12.18.1 @@ -39,10 +39,10 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 12.18.1 @@ -73,9 +73,9 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup node version to 12 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 12 diff --git a/.github/workflows/test-python.yaml b/.github/workflows/test-python.yaml index 1ae63b677bd..fe1b7cf68b5 100644 --- a/.github/workflows/test-python.yaml +++ b/.github/workflows/test-python.yaml @@ -16,10 +16,10 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 @@ -36,10 +36,10 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 From 0ef987990e7f6948dcb256b296dfa8c73b29e9c7 Mon Sep 17 00:00:00 2001 From: Andrey Velichkevich Date: Wed, 29 May 2024 01:15:11 +0100 Subject: [PATCH 2/3] Fix Scikit-Learn Version for Skopt Tests (#2336) Signed-off-by: Andrey Velichkevich --- cmd/suggestion/skopt/v1beta1/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/suggestion/skopt/v1beta1/requirements.txt b/cmd/suggestion/skopt/v1beta1/requirements.txt index 42997be854e..c43de3bfe19 100644 --- a/cmd/suggestion/skopt/v1beta1/requirements.txt +++ b/cmd/suggestion/skopt/v1beta1/requirements.txt @@ -4,7 +4,7 @@ cloudpickle==0.5.6 # AttributeError: module 'numpy' has no attribute 'int' # See more: https://github.com/numpy/numpy/pull/22607 numpy==1.23.5 -scikit-learn>=0.24.0 +scikit-learn>=0.24.0, <=1.3.0 scipy>=1.5.4 forestci==0.3 protobuf>=3.19.5, <=3.20.3 From df0c117483c12145f750579c3a316fee876fb9d0 Mon Sep 17 00:00:00 2001 From: Yuki Iwai Date: Wed, 29 May 2024 22:39:15 +0900 Subject: [PATCH 3/3] Drop Python 3.7 and Support Python 3.11 in the SDK (#2337) Signed-off-by: Yuki Iwai --- .github/workflows/e2e-test-darts-cifar10.yaml | 2 +- sdk/python/v1beta1/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-test-darts-cifar10.yaml b/.github/workflows/e2e-test-darts-cifar10.yaml index 410e2e2e402..3550f412917 100644 --- a/.github/workflows/e2e-test-darts-cifar10.yaml +++ b/.github/workflows/e2e-test-darts-cifar10.yaml @@ -21,7 +21,7 @@ jobs: uses: ./.github/workflows/template-setup-e2e-test with: kubernetes-version: ${{ matrix.kubernetes-version }} - python-version: "3.7" + python-version: "3.11" - name: Run e2e test with ${{ matrix.experiments }} experiments uses: ./.github/workflows/template-e2e-test diff --git a/sdk/python/v1beta1/setup.py b/sdk/python/v1beta1/setup.py index 39a4f0e2372..ad0d78fd454 100644 --- a/sdk/python/v1beta1/setup.py +++ b/sdk/python/v1beta1/setup.py @@ -55,10 +55,10 @@ "Intended Audience :: Science/Research", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Topic :: Scientific/Engineering",