mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-14 08:37:03 +02:00
707 B
707 B
HOWTO Update Python Dependencies
========================
- Check the Pipfile for pinned dependencies and manually adjust the version numbers
- Run
cd src
,docker-compose up -d
, anddocker-compose exec app pipenv update
to perform the upgrade and generate a new Pipfile.lock - (optional) Run
docker-compose stop
anddocker-compose build
to build a new image for local development with the updated dependencies.
The reason for de-coupling the build
and update
steps is to increase consistency between builds and reduce "it works on my laptop!". Therefore, build
uses the lock file as-is; dependencies are never updated except by explicit choice.