Skip to content
Open
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
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ help:

_uv:
# ensure uv is installed
# FIXME: pip may not be always available
pip install uv
# ensure virtualenv is created
uv venv --allow-existing

test:
coverage run -m pytest -vvv tests
Expand All @@ -21,10 +24,10 @@ mypy:
build: _uv
uv pip install -r requirements.prod.txt -r requirements.dev.txt
rm -rf staticfiles/*
python manage.py collectstatic --no-input
uv run python manage.py collectstatic --no-input
rm -f ccbv.sqlite
python manage.py migrate
python manage.py load_all_django_versions
uv run python manage.py migrate
uv run python manage.py load_all_django_versions
Comment on lines +27 to +30
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are re-implementing those done in #250. I'd rather we kept the move to going all in on uv to a single PR please. Currently, we just use uv's pip interface to lock and install requirements.


build-prod:
pip install -r requirements.prod.txt
Expand Down