From c87749272ebb19bcb43e61b637dbbfa83625c1c2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Apr 2026 14:53:52 +0200 Subject: [PATCH 1/2] Bump the actions group with 2 updates (#11285) Bumps the actions group with 2 updates: [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) and [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish). Updates `prefix-dev/setup-pixi` from 0.9.4 to 0.9.5 - [Release notes](https://github.com/prefix-dev/setup-pixi/releases) - [Commits](https://github.com/prefix-dev/setup-pixi/compare/a0af7a228712d6121d37aba47adf55c1332c9c2e...1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0) Updates `pypa/gh-action-pypi-publish` from 1.13.0 to 1.14.0 - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e...cef221092ed1bacb1cc03d23a2d87d1d172e277b) --- updated-dependencies: - dependency-name: prefix-dev/setup-pixi dependency-version: 0.9.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions - dependency-name: pypa/gh-action-pypi-publish dependency-version: 1.14.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci-additional.yaml | 12 ++++++------ .github/workflows/ci.yaml | 2 +- .github/workflows/hypothesis.yaml | 2 +- .github/workflows/nightly-wheels.yml | 2 +- .github/workflows/pypi-release.yaml | 4 ++-- .github/workflows/upstream-dev-ci.yaml | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci-additional.yaml b/.github/workflows/ci-additional.yaml index 80099f1b878..1baf5d87726 100644 --- a/.github/workflows/ci-additional.yaml +++ b/.github/workflows/ci-additional.yaml @@ -81,7 +81,7 @@ jobs: uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0 with: cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }} - - uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4 + - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 with: pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }} cache: true @@ -120,7 +120,7 @@ jobs: uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0 with: cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }} - - uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4 + - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 with: pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }} cache: true @@ -166,7 +166,7 @@ jobs: uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0 with: cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }} - - uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4 + - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 with: pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }} cache: true @@ -216,7 +216,7 @@ jobs: uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0 with: cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }} - - uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4 + - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 with: pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }} cache: true @@ -267,7 +267,7 @@ jobs: uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0 with: cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }} - - uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4 + - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 with: pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }} cache: true @@ -317,7 +317,7 @@ jobs: with: cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }} - - uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4 + - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 with: pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }} cache: true diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c1ee450303a..a63da2e1b53 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -111,7 +111,7 @@ jobs: uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0 with: cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }} - - uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4 + - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 with: pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }} cache: true diff --git a/.github/workflows/hypothesis.yaml b/.github/workflows/hypothesis.yaml index 62e2db21888..11054a173b1 100644 --- a/.github/workflows/hypothesis.yaml +++ b/.github/workflows/hypothesis.yaml @@ -87,7 +87,7 @@ jobs: uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0 with: cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }} - - uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4 + - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 with: pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }} cache: true diff --git a/.github/workflows/nightly-wheels.yml b/.github/workflows/nightly-wheels.yml index 15330c60ca8..62faf828c30 100644 --- a/.github/workflows/nightly-wheels.yml +++ b/.github/workflows/nightly-wheels.yml @@ -67,7 +67,7 @@ jobs: name: releases path: dist - name: Publish package to PyPI - uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0 + uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0 with: verbose: true diff --git a/.github/workflows/pypi-release.yaml b/.github/workflows/pypi-release.yaml index a523d32d3e0..1001431b626 100644 --- a/.github/workflows/pypi-release.yaml +++ b/.github/workflows/pypi-release.yaml @@ -98,7 +98,7 @@ jobs: path: dist - name: Publish package to TestPyPI if: github.event_name == 'push' - uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0 + uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0 with: repository_url: https://test.pypi.org/legacy/ verbose: true @@ -120,6 +120,6 @@ jobs: name: releases path: dist - name: Publish package to PyPI - uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0 + uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0 with: verbose: true diff --git a/.github/workflows/upstream-dev-ci.yaml b/.github/workflows/upstream-dev-ci.yaml index 94288081805..909adaf3042 100644 --- a/.github/workflows/upstream-dev-ci.yaml +++ b/.github/workflows/upstream-dev-ci.yaml @@ -97,7 +97,7 @@ jobs: uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0 with: cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }} - - uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4 + - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 with: pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }} cache: true @@ -152,7 +152,7 @@ jobs: uses: Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0 with: cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }} - - uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4 + - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 with: pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }} cache: true From cd9031e880168eb02ce1315b80b2a21fedd35ce5 Mon Sep 17 00:00:00 2001 From: Justus Magin Date: Wed, 8 Apr 2026 18:11:07 +0200 Subject: [PATCH 2/2] broken nightly wheels ci and permissions for the nightly tests (#11282) * remove the accidentally copied pypi publish step * separate test execution from issue creation * upload the artifact only if the tests failed * correct source of the log-file path * debug: print github output [skip-rtd] * typo [skip-rtd] * correct the path to the log file Co-authored-by: Nick Hodgskin <36369090+VeckoTheGecko@users.noreply.github.com> --------- Co-authored-by: Nick Hodgskin <36369090+VeckoTheGecko@users.noreply.github.com> --- .github/workflows/nightly-wheels.yml | 4 --- .github/workflows/upstream-dev-ci.yaml | 40 ++++++++++++++++++++++---- 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/.github/workflows/nightly-wheels.yml b/.github/workflows/nightly-wheels.yml index 62faf828c30..7411249c3ce 100644 --- a/.github/workflows/nightly-wheels.yml +++ b/.github/workflows/nightly-wheels.yml @@ -66,10 +66,6 @@ jobs: with: name: releases path: dist - - name: Publish package to PyPI - uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0 - with: - verbose: true - name: Upload wheel id: upload diff --git a/.github/workflows/upstream-dev-ci.yaml b/.github/workflows/upstream-dev-ci.yaml index 909adaf3042..512fff42e3a 100644 --- a/.github/workflows/upstream-dev-ci.yaml +++ b/.github/workflows/upstream-dev-ci.yaml @@ -77,6 +77,7 @@ jobs: needs: cache-pixi-lock if: | always() && needs.cache-pixi-lock.result == 'success' + defaults: run: shell: bash -l {0} @@ -85,8 +86,8 @@ jobs: matrix: pixi-env: ["test-nightly"] - permissions: - issues: write + outputs: + log-file: ${{ steps.determine-log-path.outputs.log-file }} steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -109,21 +110,48 @@ jobs: - name: Import xarray run: | pixi run -e ${{matrix.pixi-env}} -- python -c 'import xarray' + - name: Determine log path + id: determine-log-path + run: | + echo "log-file=output-${{ matrix.pixi-env }}-log.jsonl" >> $GITHUB_OUTPUT; + cat $GITHUB_OUTPUT - name: Run Tests if: success() id: status + env: + LOG_PATH: ${{ steps.determine-log-path.output.log-file }} run: | pixi run -e ${{matrix.pixi-env}} -- python -m pytest --timeout=60 -rf -nauto \ - --report-log output-${{ matrix.pixi-env }}-log.jsonl + --report-log "$LOG_PATH" + - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + if: failure() && steps.status.outcome == 'failure' + with: + name: log file + path: ${{ steps.determine-log-path.outputs.log-file }} + + create-issue: + needs: upstream-dev + runs-on: ubuntu-slim + if: | + needs.upstream-dev.result == 'failure' + && github.event_name == 'schedule' + && github.repository_owner == 'pydata' + + permissions: + issues: write + + steps: + - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + with: + name: log file + path: logs/ - name: Generate and publish the report if: | failure() && steps.status.outcome == 'failure' - && github.event_name == 'schedule' - && github.repository_owner == 'pydata' uses: scientific-python/issue-from-pytest-log-action@8e905db353437cda1d6a773de245343fbfc940dd # v1.5.0 with: - log-path: output-${{ matrix.pixi-env }}-log.jsonl + log-path: logs/${{ needs.upstream-dev.outputs.log-file }} mypy-upstream-dev: name: mypy-upstream-dev