diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index cc046cc5..af5f4a73 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -22,7 +22,7 @@ jobs: installation_id: 22958780 - name: Backport - uses: VachaShah/backport@v1.1.4 + uses: VachaShah/backport@v2.2.0 with: github_token: ${{ steps.github_app_token.outputs.token }} branch_name: backport/backport-${{ github.event.number }} \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0301a555..66c834f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: - name: Checkout Repository uses: actions/checkout@v2 - name: Set up Python 3 - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Install dependencies @@ -31,7 +31,7 @@ jobs: - name: Checkout Repository uses: actions/checkout@v1 - name: Set Up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Install build tools diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml index cf30ea89..21a83842 100644 --- a/.github/workflows/dco.yml +++ b/.github/workflows/dco.yml @@ -9,7 +9,7 @@ jobs: steps: - name: Get PR Commits id: 'get-pr-commits' - uses: tim-actions/get-pr-commits@v1.1.0 + uses: tim-actions/get-pr-commits@v1.3.1 with: token: ${{ secrets.GITHUB_TOKEN }} - name: DCO Check diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 1640df98..376d684e 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -25,7 +25,7 @@ jobs: - name: Integ ${{ matrix.cluster }} secured=${{ matrix.secured }} version=${{matrix.entry.opensearch_version}} run: "./.ci/run-tests ${{ matrix.cluster }} ${{ matrix.secured }} ${{ matrix.entry.opensearch_version }} test" - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./junit/opensearch-py-ml-codecov.xml diff --git a/.github/workflows/model_uploader.yml b/.github/workflows/model_uploader.yml index 574e42a3..d99378ad 100644 --- a/.github/workflows/model_uploader.yml +++ b/.github/workflows/model_uploader.yml @@ -148,7 +148,7 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 - name: Set Up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Configure AWS Credentials @@ -349,7 +349,7 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 - name: Set Up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Install Packages @@ -383,7 +383,7 @@ jobs: echo "EOF" >> $GITHUB_OUTPUT echo "${pr_body@E}" - name: Create a Branch & Raise a PR - uses: peter-evans/create-pull-request@v5 + uses: peter-evans/create-pull-request@v7 id: create_pr with: committer: github-actions[bot] diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 59e2fb12..9c04235c 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -27,7 +27,7 @@ jobs: issue-body: "Please approve or deny the release of opensearch-py-ml. **Tag**: ${{ github.ref_name }} **Commit**: ${{ github.sha }}" exclude-workflow-initiator-as-approver: true - name: Set up Python 3 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Install build tools diff --git a/.github/workflows/update_model_listing.yml b/.github/workflows/update_model_listing.yml index b59da50d..b938a2da 100644 --- a/.github/workflows/update_model_listing.yml +++ b/.github/workflows/update_model_listing.yml @@ -52,7 +52,7 @@ jobs: done echo $(ls config_folder) - name: Set Up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Update pretrained_models_all_versions.json @@ -79,7 +79,7 @@ jobs: echo "EOF" >> $GITHUB_OUTPUT echo "${pr_body@E}" - name: Create a Branch & Raise a PR - uses: peter-evans/create-pull-request@v5 + uses: peter-evans/create-pull-request@v7 id: create_pr with: committer: github-actions[bot] diff --git a/CHANGELOG.md b/CHANGELOG.md index 16119681..99076fb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,7 +49,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Update model upload history - opensearch-project/opensearch-neural-sparse-encoding-v2-distill (v.1.0.0)(TORCH_SCRIPT) by @dhrubo-os ([#419](https://github.com/opensearch-project/opensearch-py-ml/pull/419)) - Upgrade GitHub Actions workflows to use `@v4` to prevent deprecation issues with `@v3` by @yerzhaisang ([#428](https://github.com/opensearch-project/opensearch-py-ml/pull/428)) - Bump pandas from 1.5.3 to the latest stable version by @yerzhaisang ([#422](https://github.com/opensearch-project/opensearch-py-ml/pull/422)) - +- Upgrade mypy, sphinx, sphinx-rtd-theme, and multiple GitHub Actions (setup-python, backport, codecov-action, create-pull-request, get-pr-commits) by @yerzhaisang([#437](https://github.com/opensearch-project/opensearch-py-ml/pull/437)) ### Fixed - Fix the wrong final zip file name in model_uploader workflow, now will name it by the upload_prefix alse.([#413](https://github.com/opensearch-project/opensearch-py-ml/pull/413/files)) diff --git a/requirements-dev.txt b/requirements-dev.txt index ce473e41..5ce1b881 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -30,7 +30,7 @@ scikit-learn # pyyaml nox -mypy==1.3.0 -sphinx==6.1.3 -sphinx-rtd-theme==1.2.2 +mypy==1.14.1 +sphinx==7.1.2 +sphinx-rtd-theme==3.0.2