diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 07b93b1..9d93b6b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - run: make requirements + - run: make ci_requirements - name: Set up QEMU # Needed to build aarch64 wheels if: runner.os == 'Linux' uses: docker/setup-qemu-action@v3 @@ -50,7 +50,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: | - make requirements + make ci_requirements python -m build --no-isolation --sdist - uses: actions/upload-artifact@v4 with: diff --git a/Makefile b/Makefile index 7d19fd1..071c223 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,12 @@ +.PHONY: ci_requirements +ci_requirements: + python3 -m pip install uv + pip install --no-build-isolation -r requirements/development.txt + .PHONY: requirements requirements: - python -m pip install -U -r requirements/development.txt ${req_args} + python3 -m pip install uv + python -m uv pip install -U -r requirements/development.txt ${req_args} .PHONY: check check: