Fully adopt (new) pip-tools
Created by: das-g
Changes to be done centrally (in the repo)
One-off:
-
Identify top-level dependencies and put them into requirements.in
(and*-requirements.in
, if we want test and/or dev requirements to be separate) -
Re-generate requirements.txt
(and*-requirements.txt
) from*.in
usingpip-compile
-
Check all those into Git
Regularly
Establish a fixed schedule for the following:
-
Re-generate requirements.txt
(and*-requirements.txt
) from*.in
usingpip-compile
-
Check all those into Git
Schedule suggestions:
- fixed interval
or - every time you start a branch that targets being merged into
master
(typically git-flow release branches and git-flow hotfix branches.)
Changes recommended for everyone's individual workflow
- instead of
pip install -r requirements.txt
, usepip-sync