Skip to content

Commit

Permalink
Use pip-compile with --generate-hashes
Browse files Browse the repository at this point in the history
Sadly it's not possible to compile requirements-dev.in with --generate-hashes, think because of
using editables? See: pypa/pip#4995
  • Loading branch information
jedie committed May 22, 2021
1 parent 4570fc9 commit 8eb719f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ drop-db:
redo-db: drop-db init-db

update-requirements: build
docker-compose run --rm epcon "pip install pip-tools -U && pip-compile -U requirements.in -o requirements.txt && chmod a+r requirements.txt && pip-compile -U requirements-dev.in -o requirements-dev.txt && chmod a+r requirements-dev.txt"
docker-compose run --rm epcon "pip install pip-tools -U && pip-compile -U --generate-hashes requirements.in -o requirements.txt && chmod a+r requirements.txt && pip-compile -U requirements-dev.in -o requirements-dev.txt && chmod a+r requirements-dev.txt"

migrations: build
docker-compose run --rm epcon "./manage.py makemigrations"
Expand Down

0 comments on commit 8eb719f

Please sign in to comment.