From aae2155a64f290b288c5aaaa89cf7fb5ec12fde0 Mon Sep 17 00:00:00 2001 From: huiwengoh <45724323+huiwengoh@users.noreply.github.com> Date: Mon, 8 Dec 2025 12:19:53 -0500 Subject: [PATCH 1/2] pin to 1.15.1 --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86e2fc72..3c30a79a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.12" - - uses: pypa/hatch@install + - uses: pypa/hatch@1.15.1 - run: hatch run types:check fmt: name: Format and lint @@ -27,7 +27,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.12" - - uses: pypa/hatch@install + - uses: pypa/hatch@1.15.1 - run: hatch fmt --check tests: @@ -74,7 +74,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - - uses: pypa/hatch@install + - uses: pypa/hatch@1.15.1 - name: Skip tests for non-code changes if: steps.filter.outputs.code-changes == 'false' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22a86ff8..d8542434 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: with: python-version: "3.12" - name: Install hatch - uses: pypa/hatch@install + uses: pypa/hatch@1.15.1 - name: Check versions match run: | pkg_version=$(hatch version) From b54229f30515259be12fa831558c3dd6f00ea8c9 Mon Sep 17 00:00:00 2001 From: huiwengoh <45724323+huiwengoh@users.noreply.github.com> Date: Mon, 8 Dec 2025 12:26:14 -0500 Subject: [PATCH 2/2] fix --- .github/workflows/ci.yml | 12 +++++++++--- .github/workflows/release.yml | 4 +++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c30a79a..76c231bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,9 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.12" - - uses: pypa/hatch@1.15.1 + - uses: pypa/hatch@install + with: + version: "1.15.1" - run: hatch run types:check fmt: name: Format and lint @@ -27,7 +29,9 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.12" - - uses: pypa/hatch@1.15.1 + - uses: pypa/hatch@install + with: + version: "1.15.1" - run: hatch fmt --check tests: @@ -74,7 +78,9 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - - uses: pypa/hatch@1.15.1 + - uses: pypa/hatch@install + with: + version: "1.15.1" - name: Skip tests for non-code changes if: steps.filter.outputs.code-changes == 'false' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d8542434..f45850e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,9 @@ jobs: with: python-version: "3.12" - name: Install hatch - uses: pypa/hatch@1.15.1 + uses: pypa/hatch@install + with: + version: "1.15.1" - name: Check versions match run: | pkg_version=$(hatch version)