From 1a87c537e2473657ac217b867c9938c3d0545d4b Mon Sep 17 00:00:00 2001 From: AraHaan Date: Tue, 16 Dec 2025 12:10:44 -0500 Subject: [PATCH] Install Hatch manually using pip instead of the hatch install action. Updated test workflow to specify Python version for hatch testing after manual install via pip. --- .github/workflows/tests.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 53b3e1e..3022364 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -54,16 +54,18 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - uses: pypa/hatch@install + # Commented for now due to high failure rates at the moment. + # uses: pypa/hatch@install + run: python -m pip install --upgrade hatch - name: Run tests - run: hatch test + run: hatch test -py ${{ matrix.python-version }} - name: Run build test for scikit-build-core - run: hatch run test-build:scikit-build-core + run: hatch run test-build:scikit-build-core -py ${{ matrix.python-version }} - name: Run build test for meson-python - run: hatch run test-build:meson + run: hatch run test-build:meson -py ${{ matrix.python-version }} continue-on-error: true tests-pass: