Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up development environment with uv pip #60

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- 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@v2
Expand All @@ -45,7 +45,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: |
make requirements
make ci_requirements
python -m build --no-isolation --sdist
- uses: actions/upload-artifact@v3
with:
Expand Down
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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:
python3 -m pip install -r requirements/development.txt
python3 -m pip install uv
python3 -m uv pip install -r requirements/development.txt

.PHONY: check
check:
Expand Down
Loading