mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-08 05:43:53 +00:00
build: make poetry use existing lock file
This makes the build reproducible. When `make dev-install` was run, it would ignore the existing poetry lock file, install different versions of all the libraries, then overwrite the lock file. Once `--no-update` is added, it stops doing that, and installs exactly what is in the poetry lock file. Change-Id: If62637a40504d23deb47a05347a272e1c13bf41e Signed-off-by: Charlie Bareham <charlie.bareham@arm.com>
This commit is contained in:
parent
1a0ebff784
commit
e182f4380c
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ dist: clean
|
|||
|
||||
.PHONY: dev-install
|
||||
dev-install:
|
||||
poetry lock -n && poetry export --without-hashes > requirements.txt
|
||||
poetry lock -n --no-update && poetry export --without-hashes > requirements.txt
|
||||
poetry install -n
|
||||
-poetry run mypy --install-types --non-interactive ./
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue