From d5bd24bb648dea3880f32d40b4a7c73422a8b6ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0ar=C5=ABnas=20Nejus?= Date: Sun, 22 Jun 2025 17:47:30 +0100 Subject: [PATCH 1/3] Update pipx-install-action to fix caching errors --- .github/workflows/ci.yaml | 2 +- .github/workflows/integration_test.yaml | 2 +- .github/workflows/lint.yml | 8 ++++---- .github/workflows/make_release.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 333706dc7..ac3263bcd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,7 +21,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Python tools - uses: BrandonLWhite/pipx-install-action@v1.0.1 + uses: BrandonLWhite/pipx-install-action@v1.0.3 - name: Setup Python with poetry caching # poetry cache requires poetry to already be installed, weirdly uses: actions/setup-python@v5 diff --git a/.github/workflows/integration_test.yaml b/.github/workflows/integration_test.yaml index eae04d1d4..f88864c48 100644 --- a/.github/workflows/integration_test.yaml +++ b/.github/workflows/integration_test.yaml @@ -9,7 +9,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Python tools - uses: BrandonLWhite/pipx-install-action@v1.0.1 + uses: BrandonLWhite/pipx-install-action@v1.0.3 - uses: actions/setup-python@v5 with: python-version: 3.9 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 16757da27..c9b66f402 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -53,7 +53,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Python tools - uses: BrandonLWhite/pipx-install-action@v1.0.1 + uses: BrandonLWhite/pipx-install-action@v1.0.3 - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} @@ -74,7 +74,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Python tools - uses: BrandonLWhite/pipx-install-action@v1.0.1 + uses: BrandonLWhite/pipx-install-action@v1.0.3 - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} @@ -94,7 +94,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Python tools - uses: BrandonLWhite/pipx-install-action@v1.0.1 + uses: BrandonLWhite/pipx-install-action@v1.0.3 - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} @@ -118,7 +118,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Python tools - uses: BrandonLWhite/pipx-install-action@v1.0.1 + uses: BrandonLWhite/pipx-install-action@v1.0.3 - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} diff --git a/.github/workflows/make_release.yaml b/.github/workflows/make_release.yaml index 7ea2d631c..b18dded8d 100644 --- a/.github/workflows/make_release.yaml +++ b/.github/workflows/make_release.yaml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Python tools - uses: BrandonLWhite/pipx-install-action@v1.0.1 + uses: BrandonLWhite/pipx-install-action@v1.0.3 - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} @@ -50,7 +50,7 @@ jobs: ref: ${{ env.NEW_TAG }} - name: Install Python tools - uses: BrandonLWhite/pipx-install-action@v1.0.1 + uses: BrandonLWhite/pipx-install-action@v1.0.3 - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} From ab9b2e0b69210d733b1bf80d63380a279233c7d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0ar=C5=ABnas=20Nejus?= Date: Sun, 22 Jun 2025 18:07:22 +0100 Subject: [PATCH 2/3] Try using threeal/pipx-install-action@v1.0.0 for CI tests I have reported the issue with BrandonLWhite/pipx-install-action@v1.0.3 failing on Windows here: https://github.com/BrandonLWhite/pipx-install-action/issues/62 --- .github/workflows/ci.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ac3263bcd..9d0e67d5f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,7 +21,10 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Python tools - uses: BrandonLWhite/pipx-install-action@v1.0.3 + # BrandonLWhite/pipx-install-action@v1.0.3 fails on Windows, thus we're using an alternative action here + uses: threeal/pipx-install-action@v1.0.0 + with: + packages: poethepoet>=0.26 poetry<2 - name: Setup Python with poetry caching # poetry cache requires poetry to already be installed, weirdly uses: actions/setup-python@v5 From 9926a1ac3cb8d4877061df2fae94ddb8b2aab7b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0ar=C5=ABnas=20Nejus?= Date: Sun, 29 Jun 2025 13:43:48 +0100 Subject: [PATCH 3/3] Revert "Try using threeal/pipx-install-action@v1.0.0 for CI tests" This reverts commit ab9b2e0b69210d733b1bf80d63380a279233c7d9. --- .github/workflows/ci.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9d0e67d5f..ac3263bcd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,10 +21,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Python tools - # BrandonLWhite/pipx-install-action@v1.0.3 fails on Windows, thus we're using an alternative action here - uses: threeal/pipx-install-action@v1.0.0 - with: - packages: poethepoet>=0.26 poetry<2 + uses: BrandonLWhite/pipx-install-action@v1.0.3 - name: Setup Python with poetry caching # poetry cache requires poetry to already be installed, weirdly uses: actions/setup-python@v5