From 8eb719f444b756c2ca70fff80df6e533fad9d0f7 Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Sat, 22 May 2021 11:50:04 +0200 Subject: [PATCH] Use pip-compile with --generate-hashes Sadly it's not possible to compile requirements-dev.in with --generate-hashes, think because of using editables? See: https://github.com/pypa/pip/issues/4995 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 573dfbea7..c924c7048 100644 --- a/Makefile +++ b/Makefile @@ -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"