From 3524f2fcad110b6310887224800dae4a7d18f812 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 29 Feb 2024 17:11:11 +0000 Subject: [PATCH 1/4] Build(deps): Bump the actions group with 10 updates Bumps the actions group with 10 updates: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `2` | `4` | | [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) | `3.8.0` | `3.9.3` | | [codecov/codecov-action](https://github.com/codecov/codecov-action) | `2.1.0` | `4.1.0` | | [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) | `0.9.1` | `0.12.1` | | [actions/setup-python](https://github.com/actions/setup-python) | `4` | `5` | | [pre-commit/action](https://github.com/pre-commit/action) | `3.0.0` | `3.0.1` | | [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) | `2.9.0` | `2.16.5` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | `3` | `4` | | [actions/download-artifact](https://github.com/actions/download-artifact) | `3` | `4` | | [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) | `1.4.2` | `1.8.12` | Updates `actions/checkout` from 2 to 4 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) Updates `peaceiris/actions-gh-pages` from 3.8.0 to 3.9.3 - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3.8.0...v3.9.3) Updates `codecov/codecov-action` from 2.1.0 to 4.1.0 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v4.1.0) Updates `styfle/cancel-workflow-action` from 0.9.1 to 0.12.1 - [Release notes](https://github.com/styfle/cancel-workflow-action/releases) - [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.9.1...0.12.1) Updates `actions/setup-python` from 4 to 5 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) Updates `pre-commit/action` from 3.0.0 to 3.0.1 - [Release notes](https://github.com/pre-commit/action/releases) - [Commits](https://github.com/pre-commit/action/compare/v3.0.0...v3.0.1) Updates `pypa/cibuildwheel` from 2.9.0 to 2.16.5 - [Release notes](https://github.com/pypa/cibuildwheel/releases) - [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md) - [Commits](https://github.com/pypa/cibuildwheel/compare/v2.9.0...v2.16.5) Updates `actions/upload-artifact` from 3 to 4 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) Updates `actions/download-artifact` from 3 to 4 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3...v4) Updates `pypa/gh-action-pypi-publish` from 1.4.2 to 1.8.12 - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.4.2...v1.8.12) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: styfle/cancel-workflow-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: pre-commit/action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions - dependency-name: pypa/cibuildwheel dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/antivirus.yml | 2 +- .github/workflows/build_docs.yml | 4 ++-- .github/workflows/ci.yml | 4 ++-- .github/workflows/codeql.yml | 2 +- .github/workflows/linting.yml | 8 ++++---- .github/workflows/wheels.yml | 16 ++++++++-------- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/antivirus.yml b/.github/workflows/antivirus.yml index 25b1d9bf84..b2a306e249 100644 --- a/.github/workflows/antivirus.yml +++ b/.github/workflows/antivirus.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest name: AV scan steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Git AV Scan uses: djdefi/gitavscan@main with: diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 75eaddc9c3..263eb4f5f9 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -16,7 +16,7 @@ jobs: run: shell: bash -l {0} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Create environment using micromamba - name: Install Conda environment with Micromamba @@ -41,7 +41,7 @@ jobs: make html # Push the book's HTML to github-pages - name: GitHub Pages action - uses: peaceiris/actions-gh-pages@v3.8.0 + uses: peaceiris/actions-gh-pages@v3.9.3 if: github.ref == 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dec3ebe0f7..8eb6d60578 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: os: [macos, ubuntu, windows] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Install dependencies - name: Setup Conda Environment @@ -63,7 +63,7 @@ jobs: python -m pytest -v --cov=./ --cov-report=xml - name: Upload code coverage to Codecov - uses: codecov/codecov-action@v2.1.0 + uses: codecov/codecov-action@v4.1.0 with: file: ./coverage.xml flags: unittests diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ee8838704e..e5ff8949ea 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -41,7 +41,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 88ebb91427..cd7d332a71 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -23,11 +23,11 @@ jobs: if: ${{ needs.pre-job.outputs.should_skip != 'true' }} steps: - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.9.1 + uses: styfle/cancel-workflow-action@0.12.1 with: access_token: ${{ github.token }} - - uses: actions/checkout@v2 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10' - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index f0a315583a..0397034abc 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -34,14 +34,14 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Fetch all history for all tags and branches run: | git fetch --prune --unshallow - name: Build wheels for CPython - uses: pypa/cibuildwheel@v2.9.0 + uses: pypa/cibuildwheel@v2.16.5 with: output-dir: dist env: @@ -54,7 +54,7 @@ jobs: CIBW_BUILD_VERBOSITY: 1 CIBW_ENVIRONMENT: PIP_ONLY_BINARY=":all:" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: wheels path: ./dist/*.whl @@ -64,13 +64,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build sdist run: pipx run build --sdist - name: Upload sdist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sdist path: dist/*.tar.gz @@ -83,19 +83,19 @@ jobs: if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') steps: - name: Download sdist - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: sdist path: dist - name: Download wheels - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: wheels path: dist - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@v1.4.2 + uses: pypa/gh-action-pypi-publish@v1.8.12 with: user: __token__ password: ${{ secrets.PYPI_TOKEN }} From 45542b0c409ccb1d9ac00729f5f5b73066a4d82c Mon Sep 17 00:00:00 2001 From: mgrover1 Date: Thu, 29 Feb 2024 13:54:19 -0600 Subject: [PATCH 2/4] ADD: Add setuptools to setup requires --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6c4851be6d..4dc2b0da48 100644 --- a/setup.py +++ b/setup.py @@ -264,7 +264,7 @@ def check_rsl_path(rsl_lib_path, rsl_include_path): scripts=SCRIPTS, python_requires=">=3.9", install_requires=requirements, - setup_requires="setuptools_scm", + setup_requires=["setuptools_scm", "setuptools"], license=LICENSE, platforms=PLATFORMS, classifiers=CLASSIFIERS, From 43001b05aa125121380235dc7d5f6d43d1548eb2 Mon Sep 17 00:00:00 2001 From: mgrover1 Date: Thu, 29 Feb 2024 15:55:35 -0600 Subject: [PATCH 3/4] ADD: Add the python installation part --- .github/workflows/wheels.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 0397034abc..fb1a50f8e3 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -36,6 +36,9 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 + - name: Install python + uses: actions/setup-python@v3 + - name: Fetch all history for all tags and branches run: | git fetch --prune --unshallow From 1d60bbb429521c648bd3128e7ebeb31dd81ec624 Mon Sep 17 00:00:00 2001 From: mgrover1 Date: Mon, 4 Mar 2024 09:31:25 -0600 Subject: [PATCH 4/4] add older version of cibuildwheel --- .github/workflows/wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index fb1a50f8e3..3f00ba2339 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -44,7 +44,7 @@ jobs: git fetch --prune --unshallow - name: Build wheels for CPython - uses: pypa/cibuildwheel@v2.16.5 + uses: pypa/cibuildwheel@v2.9.0 with: output-dir: dist env: