From ed519f41d8f5c77feec79d757f55d3e6ac41d4f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2025 01:44:31 +0000 Subject: [PATCH 1/3] Bump actions/download-artifact from 3 to 4 Bumps [actions/download-artifact](https://github.com/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) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0ad05d1..14210ef 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -62,7 +62,7 @@ jobs: id-token: write if: github.event_name != 'pull_request' steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 - name: Organize files for upload run: | From 273a2bfe62aad4c9fc1d16914cbbcf00e0ef84f7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2025 17:46:06 -0800 Subject: [PATCH 2/3] Bump actions/upload-artifact from 3 to 4 (#8) Bumps [actions/upload-artifact](https://github.com/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) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 14210ef..046d162 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -48,7 +48,7 @@ jobs: fail_ci_if_error: true files: .coverage.${{ steps.pyenv.outputs.value }}.xml - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: matrix.python-version == '2.7' || matrix.python-version == '3.8' with: name: dist-${{ matrix.python-version }} From 1b4260e62147535f40acbb3ad58240c7cb2f45e6 Mon Sep 17 00:00:00 2001 From: Natty Linden Date: Thu, 6 Feb 2025 20:19:48 +0000 Subject: [PATCH 3/3] Run the Python 2.7 tests in a container, now that Actions no longer offers it [dependabot skip] --- .github/workflows/ci.yaml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 046d162..c9d4f62 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,18 +9,30 @@ on: jobs: build: name: Test & Build + container: + # Run some matrix cases in a container. If `container-image` is blank, the + # job will run conventionally on the agent. + image: ${{ matrix.container-image }} + env: + PYTHON: ${{ matrix.python-version }} + runs-on: [ubuntu-20.04] strategy: + # Finish the other builds even if one fails. + fail-fast: false matrix: python-version: ['2.7', '3.7', '3.8', '3.10'] - runs-on: [ubuntu-20.04] - env: - PYTHON: ${{ matrix.python-version }} + include: + - python-version: '2.7' + container-image: python:2.7 steps: - uses: actions/checkout@v3 with: fetch-depth: 0 # fetch all history for setuptools_scm to be able to read tags - uses: actions/setup-python@v4 + # Only set up Python if we're running directly on an agent. If we're in + # a container, the image should already provide the intended Python. + if: '! matrix.container-image' with: python-version: ${{ matrix.python-version }} @@ -45,7 +57,8 @@ jobs: if: matrix.python-version == '3.8' with: env_vars: PYTHON - fail_ci_if_error: true + # TODO: re-enable errors when rate limit is resolved? + # fail_ci_if_error: true files: .coverage.${{ steps.pyenv.outputs.value }}.xml - uses: actions/upload-artifact@v4